Skip to main content
Mallory
Malware1 associated actor2 associated CVEs

SALTWATER

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

SALTWATER is a Linux backdoor deployed on Barracuda Email Security Gateway appliances by the China-nexus cyberespionage cluster UNC4841. It is implemented as a trojanized module for the Barracuda SMTP daemon, with analyzed samples packaged as 32-bit Linux shared objects. It was deployed following exploitation of CVE-2023-2868, a remote command injection vulnerability exploited as a zero-day beginning no later than October 2022. The exploitation chain used specially crafted email attachments processed by the appliance. The broader campaign targeted public- and private-sector organizations worldwide, including government agencies.

SALTWATER supports arbitrary shell command execution, bidirectional file transfer, file exfiltration, proxying, and traffic tunneling. Commands execute with the privileges of the calling process. It uses the open-source funchook library to hook socket send, receive, and close functions, intercept connection activity, and launch worker threads for attacker communications. It performs DNS resolution and supports encrypted command-and-control communications using TLS 1.0. Its command protocol separates shell execution, uploads, downloads, proxy relay, and tunnel configuration into distinct channels. UNC4841 used SALTWATER alongside SEASPY and SEASIDE to maintain access to compromised appliances and modified SALTWATER-related components following Barracuda's initial remediation efforts in May 2023.

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. | En outre, « SALTWATER » est un module contenant des logiciels malveillants pour le démon SMTP (Simple Mail Transfer Protocol) de Barracuda (bsmtpd) qui prend en charge de nombreuses fonctionnalités telles que le téléchargement de fichiers arbitraires, l'exécution de commandes, ainsi que le proxy et le tunnelage du trafic malveillant afin d'éviter la détection.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

21 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

5 techniques
T1059Command and Scripting InterpreterEvidence6

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 ShellEvidence3

Figures 6, 7, and 8 show the malware's capacity to connect to a remote address, and then create a new process with the command line argument '/bin/sh.'

T1106Native APIEvidence1

The malware can intake data over the network, using a previously established socket, with the 'recv' function... using 'popen', the malware can execute any shell command with the same privileges as its calling process.

T1203Exploitation for Client ExecutionEvidence4

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).

T1574Hijack Execution FlowEvidence1

The malware hooked the recv, send, and close functions using an open-source hooking library called funchook... The malware implements hooks on the recv, send, and close functions

Privilege Escalation

1 technique
T1055Process InjectionEvidence1

Figure 12 shows the malware creating a new thread, within the calling process. This is thread injection and it can inject two different functions.

Stealth

4 techniques
T1036MasqueradingEvidence1

SEASPY est un backdoor persistant x64 qui se fait passer pour un service légitime de Barracuda Networks ... En outre, « SALTWATER » est un module contenant des logiciels malveillants pour le démon SMTP ...

T1055Process InjectionEvidence1

Figure 12 shows the malware creating a new thread, within the calling process. This is thread injection and it can inject two different functions.

T1070.006TimestompEvidence1

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

T1574Hijack Execution FlowEvidence1

The malware hooked the recv, send, and close functions using an open-source hooking library called funchook... The malware implements hooks on the recv, send, and close functions

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

1 technique
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.

Command and Control

8 techniques
T1071Application Layer ProtocolEvidence2

Figures 14 and 15 show the second function. The second function can 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”

T1071.004DNSEvidence1

Figure 10 shows the malware's capacity to perform DNS resolution, using the system call 'sys_getpeername.' ... Figure 13 shows the first function that can perform DNS resolution.

T1090ProxyEvidence5

SALTWATER... functions as a backdoor into victim organizations; the malware is capable of file upload/download, command execution, and proxy/tunneling

T1095Non-Application Layer ProtocolEvidence1

SALTWATER... is capable of file upload/download, command execution, and proxy/tunneling

T1105Ingress Tool TransferEvidence4

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

T1572Protocol TunnelingEvidence2

WHIRLPOOL is a backdoor that establishes a Transport Layer Security (TLS) reverse shell to the Command-and-Control (C2) server.

T1573Encrypted ChannelEvidence1

It creates a new SSL structure and sets the socket descriptor as the input/output for network connections... SSL_read is utilized to read data from the connections... The malware implements a function called MyWriteAll, which calls the SSL_write method

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

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

Indicators of compromise

Observables

29 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

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

View more in app →
+6 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 matching29Match 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 mapping21Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.