Skip to main content
Mallory
Malware1 associated actor2 associated CVEs

SEASPY

Tracked since Dec 2, 2025 · Updated 10 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days4 mentions · peak 2 in a dayToday
Vulns2Associated
Actors1Associated
ATT&CK23Techniques
IOCs51Tracked
Type
Backdoor
Capabilities
PersistencePost exploitationDefense evasion
Delivery
Phishing
Platforms
LinuxNetwork device

SEASPY is a persistent, passive Linux backdoor targeting Barracuda Networks Email Security Gateway (ESG) appliances. Associated with the China-linked espionage group UNC4841, it provides arbitrary command execution and maintains access to compromised appliances. Analyzed samples are statically linked x86-64 ELF executables based on the open-source cd00r backdoor.

SEASPY masquerades as a legitimate Barracuda service and uses libpcap to passively inspect TCP traffic on SMTP ports 25 and 587. A specially crafted packet sequence activates a TCP reverse shell to attacker-controlled infrastructure. Variants use different embedded trigger values, and some require attacker authentication before opening the shell. Persistence is established through system initialization mechanisms and modifications to appliance maintenance scripts, allowing execution after reboot.

UNC4841 deployed SEASPY alongside SALTWATER and SEASIDE after exploiting CVE-2023-2868, a command-injection vulnerability in ESG attachment processing. Exploitation began no later than October 2022 and used malicious email attachments to execute an initial reverse-shell payload that subsequently downloaded SEASPY. Updated SEASPY variants were also deployed through exploitation of CVE-2023-7102 using specially crafted Excel attachments. These operations targeted public- and private-sector organizations worldwide, including government agencies, and supported long-term espionage and email theft. UNC4841 modified SEASPY components following remediation attempts to retain access.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2023-2868via bleeping computerExploited in the wildRemote Command Injection in Barracuda Email Security Gateway TAR Attachment ProcessingThe company later revealed that the flaw had been exploited as a zero-day for at least seven months, since at least October 2022, to drop previously unknown SeaSpy and Saltwater malware and steal data from compromised devices.View vulnerability →Source ↗
CVE-2023-7102via macert product advisoriesExploited in the wildRemote Code Execution in Barracuda ESG Excel Attachment ProcessingBarracuda confirme l’observation des deux logiciels malveillants, SEASPY et SALTWATER, exploitant la faille critique « CVE-2023-7102 » au cours des attaques récentes, pour se faire passer pour des modules et des services Barracuda ESG légitimes. | Barracuda confirme l’observation des deux logiciels malveillants, SEASPY et SALTWATER, exploitant la faille critique « CVE-2023-7102 » au cours des attaques récentes, pour se faire passer pour des modules et des services Barracuda ESG légitimes. Il est à noter que « SEASPY » est un backdoor persistant x64 qui se fait passer pour un service légitime de Barracuda Networks et se fait passer pour un filtre PCAP, surveillant spécifiquement le trafic sur le port 25.View vulnerability →Source ↗
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
UNC4841

The company later revealed that the flaw had been exploited as a zero-day for at least seven months, since at least October 2022, to drop previously unknown SeaSpy and Saltwater malware and steal data from compromised devices.

via bleeping computerbleepingcomputer.com
MITRE ATT&CK

Techniques & procedures

23 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

2 techniques
T1190Exploit Public-Facing ApplicationEvidence3

In real-world attacks, unidentified threat actors exploited the vulnerability for initial access into victim organizations.

T1566.001Spearphishing AttachmentEvidence2

...pourrait permettre à un attaquant distant de déployer des logiciels malveillants notamment (SEASPY et SALTWATER) via des pièces jointes d'email au format Excel spécialement conçues.

Execution

4 techniques
T1053.003CronEvidence1

“execution of their initial reverse shell via hourly and daily cron jobs… /etc/cron.hourly/… /etc/cron.daily/…”

T1059Command and Scripting InterpreterEvidence5

A remote and unauthenticated threat actor may exploit the vulnerability to execute code on vulnerable assets... A remote attacker may format file names in a specific way to enable the remote execution of system commands via Perl's qx operator.

T1059.004Unix ShellEvidence1

a remote attacker can construct these file names specially in a way that will enable remote system command execution using Perl's qx operator with the privileges of the Email Security Gateway product.

T1203Exploitation for Client ExecutionEvidence3

This can be exploited by an email attachment that results in execution of a reverse shell payload into the affected product.

Persistence

6 techniques
T1037.004RC ScriptsEvidence1

“persistently executed SEASPY on appliance reboot through…addition to /etc/init.d/rc…”

T1053.003CronEvidence1

“execution of their initial reverse shell via hourly and daily cron jobs… /etc/cron.hourly/… /etc/cron.daily/…”

T1205Traffic SignalingEvidence1

SEASPY prend également en charge une fonctionnalité de backdoor activé par un "magic packet"

T1505Server Software ComponentEvidence1

SEASPY is a persistent and passive backdoor that masquerades as a legitimate Barracuda service.

T1543.002Systemd ServiceEvidence1

This artifact is a 64-bit ELF file that has been identified as a "SEASPY" malware variant installed as a system service.

T1543.003Windows ServiceEvidence1

“maintained persistent execution…by inserting…into the update_version Perl script… system('<PATH_TO_SEASPY> eth0')”

Privilege Escalation

4 techniques
T1037.004RC ScriptsEvidence1

“persistently executed SEASPY on appliance reboot through…addition to /etc/init.d/rc…”

T1053.003CronEvidence1

“execution of their initial reverse shell via hourly and daily cron jobs… /etc/cron.hourly/… /etc/cron.daily/…”

T1543.002Systemd ServiceEvidence1

This artifact is a 64-bit ELF file that has been identified as a "SEASPY" malware variant installed as a system service.

T1543.003Windows ServiceEvidence1

“maintained persistent execution…by inserting…into the update_version Perl script… system('<PATH_TO_SEASPY> eth0')”

Stealth

4 techniques
T1036MasqueradingEvidence4

SEASPY, a second backdoor malware that impersonates Barracuda Network service

T1070.006TimestompEvidence1

“UNC4841 has repeatedly utilized time-stomping to further hide their malicious activity.”

T1205Traffic SignalingEvidence1

SEASPY prend également en charge une fonctionnalité de backdoor activé par un "magic packet"

T1564.001Hidden Files and DirectoriesEvidence1

“SANDBAR…contains hooks to hide processes…hides the process ID from being displayed when the /proc filesystem is queried.”

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence1

“UNC4841 quickly made modifications to both SEASPY and SALTWATER related components in order to prevent effective patching.”

Credential Access

2 techniques
T1040Network SniffingEvidence3

SEASPY, a second backdoor malware that impersonates Barracuda Network service and “establishes itself as a PCAP filter, specifically monitoring traffic on port 25”

T1649Steal or Forge Authentication CertificatesEvidence1

It is noticeable that victim SSL certificates also been exfiltrated then were used on malware command and control (C2) servers.

Discovery

1 technique
T1040Network SniffingEvidence3

SEASPY, a second backdoor malware that impersonates Barracuda Network service and “establishes itself as a PCAP filter, specifically monitoring traffic on port 25”

Command and Control

6 techniques
T1071Application Layer ProtocolEvidence1

SALTWATER is a backdoor that can perform DNS resolution and establish communications, over the network, using a TLS version 1 connection.

T1071.003Mail ProtocolsEvidence1

“SALTWATER (a trojanized SMTP module enabling command execution and tunneling)… SEASIDE… turns SMTP HELO/EHLO data into reverse shells”

T1090ProxyEvidence2

These backdoors functioned by capturing the SMTP traffic, proxying into victim environments and maintaining persistence.

T1105Ingress Tool TransferEvidence3

Once access was achieved, both novel and known customized malware were deployed to victim organizations. Observed malware includes: SALTWATER... capable of file upload/download

T1205Traffic SignalingEvidence1

SEASPY prend également en charge une fonctionnalité de backdoor activé par un "magic packet"

T1219Remote Access ToolsEvidence1

The reverse shell establishes communication with the threat actor’s command and control (C2) server...

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

The exfiltration of the email data happen from the Barracuda ESG mstore.

Indicators of compromise

Observables

51 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+5 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching51Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities2CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping23Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.