ReverseSocks5 is an open-source reverse SOCKS5 proxy and tunneling utility, written in Go, that is used to establish outbound proxy connections from compromised systems to attacker-controlled infrastructure. It is typically deployed during post-exploitation rather than as an initial access payload, enabling operators to create SOCKS5 tunnels for command and control, internal pivoting, and continued access while blending with legitimate outbound traffic.
The tool has been observed in intrusion activity involving exploitation of perimeter devices and enterprise networks. In campaigns exploiting PAN-OS firewalls via CVE-2026-0300, attackers used ReverseSocks5 alongside EarthWorm after achieving root-level compromise to provide outbound command-and-control and proxy tunneling from compromised firewalls. Associated post-exploitation activity included credential extraction, Active Directory enumeration, and anti-forensic log cleanup. ReverseSocks5 has also been used by the China-aligned espionage group LongNosedGoblin, which deployed it through NosyDownloader as part of a broader toolset targeting government entities in Southeast Asia and Japan. In separate reporting, activity tracked as Cavalry Werewolf used ReverseSocks5 and its agent component on compromised hosts during operations targeting the Russian public sector and related industries.
ReverseSocks5 is best characterized as an operator utility for covert network access and traffic relaying rather than a standalone malware family with autonomous infection logic. Its operational role is to provide proxying and tunneling capabilities that support persistence of access, lateral movement, and post-compromise command-and-control in espionage-oriented intrusions.
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.
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Also executed on the compromised hosts are tools like ReverseSocks5Agent and ReverseSocks5, as well as commands to gather device information.
6 distinct techniques documented for this family, organized by ATT&CK tactic.
The adversary also used various methods to steal high-level credentials and moved freely across the network using Remote Desktop Protocol (RDP)
Then they deployed EarthWorm and ReverseSocks5 tunnels for outbound C2
In one case, the attacker uploaded on an internet-facing Microsoft Exchange Server a file named OutlookEN.aspx... OutlookEN.aspx corresponds to the HTTP proxy tunnel tool called suo5... The following public tools were observed on the victims’ network: • Proxy and tunneling: – Iox; – FRP; – NPS (NPC); – EarthWorm; – GoHTran; – ReverseSocks5; – Suo5;
Then they deployed EarthWorm and ReverseSocks5 tunnels for outbound C2
Post-exploitation activities conducted by the adversary included conducting Active Directory (AD) enumeration and dropping additional payloads like EarthWorm and ReverseSocks5 against a second device on April 29, 2026.
The adversary then began chaining proxy access via plink and Ngrok to traverse the victim’s network segmentation.
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.