SEASIDE
- Type
- Backdoor
- Capabilities
- PersistencePost exploitationDefense evasion
- Delivery
- Malspam
- Platforms
- LinuxNetwork device
SEASIDE is a Lua-based backdoor module used by the China-nexus espionage actor UNC4841 in the compromise of Barracuda Email Security Gateway appliances through CVE-2023-2868. It is implemented as a module for the Barracuda SMTP daemon and is designed to monitor SMTP HELO and EHLO commands for specially encoded command-and-control information. After decoding a supplied address and port from SMTP traffic, SEASIDE passes those parameters to the companion utility WHIRLPOOL, which establishes a reverse shell from the compromised appliance.
SEASIDE formed part of a broader post-exploitation toolkit that also included SALTWATER, SEASPY, SEASPRAY, SKIPJACK, WHIRLPOOL, and the SANDBAR rootkit. In observed intrusions, these payloads were deployed after exploitation of Barracuda ESG attachment-processing flaws via malicious email attachments, enabling long-term persistence, covert access, and espionage operations. UNC4841 used the Barracuda appliance foothold to maintain access for extended periods, capture SMTP-related data, proxy into victim environments, and support data theft from email-processing components. The actor also employed anti-forensic measures such as time-stomping and rapid component replacement during remediation efforts.
SEASIDE targets Barracuda ESG appliances running a Linux-based environment and is notable for abusing normal SMTP protocol handling as a covert trigger channel for reverse-shell activation. Its role in the intrusion set is post-compromise remote access rather than initial exploitation, and its use has been associated with government and private-sector victims across multiple countries.
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.
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.
"...and SEASIDE (a Lua module that turns SMTP HELO/EHLO data into reverse shells)..."
Techniques & procedures
11 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
In real-world attacks, unidentified threat actors exploited the vulnerability for initial access into victim organizations.
“used malicious email attachments to trigger remote command injection… Crafted .tar archives… execute arbitrary system commands… follow-on… malicious Excel attachments”
Execution
3 techniques
Execution
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. | SEASIDE, a Lua-based module used to establish a reverse shell on compromised assets
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.
This can be exploited by an email attachment that results in execution of a reverse shell payload into the affected product.
Stealth
1 technique
Stealth
“UNC4841 has repeatedly utilized time-stomping to further hide their malicious activity.”
Credential Access
1 technique
Credential Access
It is noticeable that victim SSL certificates also been exfiltrated then were used on malware command and control (C2) servers.
Command and Control
3 techniques
Command and Control
“SALTWATER (a trojanized SMTP module enabling command execution and tunneling)… SEASIDE… turns SMTP HELO/EHLO data into reverse shells”
These backdoors functioned by capturing the SMTP traffic, proxying into victim environments and maintaining persistence.
Once access was achieved, both novel and known customized malware were deployed to victim organizations. Observed malware includes: SALTWATER... capable of file upload/download
Exfiltration
1 technique
Exfiltration
The exfiltration of the email data happen from the Barracuda ESG mstore.
Observables
9 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.