Skip to main content
Mallory
Malware1 associated actor1 associated CVE

SEASPRAY

Tracked since Feb 17, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns1Associated
Actors1Associated
ATT&CK8Techniques
IOCs14Tracked
Type
Loader
Capabilities
PersistencePost exploitationDefense evasion
Platforms
LinuxNetwork device

SEASPRAY is a Lua-based malware launcher embedded in trojanized legitimate Barracuda Email Security Gateway modules. Used by UNC4841, it provides an email-triggered mechanism for activating the WHIRLPOOL backdoor on compromised appliances. It registers an event handler for incoming email attachments and launches WHIRLPOOL when an attachment filename contains a designated marker. A variant embedded in sender filtering functionality executes a command when sender information matches a predefined trigger. WHIRLPOOL supplies the TLS reverse shell, enabling remote command execution; SEASPRAY acts as its launcher rather than implementing that network functionality itself.

SEASPRAY was deployed during post-exploitation activity against Barracuda ESG appliances compromised through CVE-2023-2868, a remote command injection vulnerability exploited as a zero day from at least October 2022. Its integration into legitimate email-processing modules supports persistent access while blending malicious functionality into appliance software. The associated UNC4841 espionage campaign targeted public- and private-sector organizations worldwide.

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

1 CVE 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 cisa advisoriesExploited in the wildRemote Command Injection in Barracuda Email Security Gateway TAR Attachment ProcessingThe device was compromised by threat actors exploiting CVE-2023-2868, a former zero-day vulnerability affecting versions 5.1.3.001-9.2.0.006 of Barracuda Email Security Gateway (ESG). | This artifact is a trojanized Lua module that has been identified as a "SEASPRAY" variant. SEASPRAY registers an event handler for all incoming email attachments.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

SEASPRAY is a launcher written in Lua that UNC4841 injected into legitimate Barracuda Email Security Gateway (ESG) modules.

via google servicesservices.google.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence1

Mandiant has observed a trend in which China-nexus attackers have gained access to edge devices via exploitation of vulnerabilities, particularly zero-days... If an attacker possesses an exploit for a zero-day vulnerability on these devices, they are often able to gain access to a target environment and remain undetected for an extended period of time.

Execution

2 techniques
T1059.004Unix ShellEvidence1

“WHIRLPOOL…establishes a reverse shell.” / “WHIRLPOOL is a C based utility used to create a TLS reverse shell.”

T1203Exploitation for Client ExecutionEvidence1

The device was compromised by threat actors exploiting CVE-2023-2868, a former zero-day vulnerability affecting versions 5.1.3.001-9.2.0.006 of Barracuda Email Security Gateway (ESG).

Persistence

2 techniques
T1543Create or Modify System ProcessEvidence1

SEASPRAY registers an event handler for all incoming email attachments.

T1546Event Triggered ExecutionEvidence1

SEASPRAY is a backdoor that registers an event handler for all incoming email attachments and is a launcher for WHIRLPOOL.

Privilege Escalation

2 techniques
T1543Create or Modify System ProcessEvidence1

SEASPRAY registers an event handler for all incoming email attachments.

T1546Event Triggered ExecutionEvidence1

SEASPRAY is a backdoor that registers an event handler for all incoming email attachments and is a launcher for WHIRLPOOL.

Stealth

2 techniques
T1036MasqueradingEvidence1

THINCRUST, which disguised its command and control (C2) communications as legitimate API calls to the devices.

T1497.001System ChecksEvidence1

This variant checks for the sender and the string “obt”, which is hard coded in the lua file. If that string is found the malware uses os.execute to execute the file “saslautchd”.

Discovery

1 technique
T1497.001System ChecksEvidence1

This variant checks for the sender and the string “obt”, which is hard coded in the lua file. If that string is found the malware uses os.execute to execute the file “saslautchd”.

Command and Control

1 technique
T1105Ingress Tool TransferEvidence2

SEASPRAY registers an event handler for incoming emails, and launches an external binary, which Mandiant tracks as WHIRLPOOL, when certain markers are present.

Indicators of compromise

Observables

14 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

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

View more in app →
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 matching14Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs 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 mapping8Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.