reverse_ssh
- Type
- Reverse shell
- Capabilities
- PersistencePost exploitationLateral movementExfiltrationDefense evasion
- Platforms
- LinuxWindows
reverse_ssh is an open-source, Go-based reverse-shell and remote-access tool that uses outbound SSH connections to establish operator access to a host. It is a dual-use utility rather than an inherently malicious program, but attackers deploy it during post-exploitation to maintain access to compromised systems. Its functionality includes remote shell access, port forwarding, and file transfer, supporting lateral movement, file staging, and exfiltration. Outbound connections can bypass restrictions on unsolicited inbound access.
Malicious deployments have been observed on Linux and Windows systems, including compromised enterprise management appliances. Attackers have maintained persistence through scheduled cron execution and Windows services. In Windows intrusions, operators have concealed reverse-SSH executables in NTFS alternate data streams and removed the original executable after establishing service-based persistence.
ALPHV ransomware affiliates have used reverse-SSH tooling following exploitation of an Ivanti Cloud Services Appliance. A modified reverse SSH client has also appeared in ExCobalt's toolset. Additional deployments include compromised VMware vCenter systems and a Linux payload delivered through a malicious npm package. The separate GoReShell backdoor incorporates functionality from reverse_ssh; that code reuse does not make the two tools interchangeable.
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.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Threat Actor 1 then created a malicious service to ensure persistence for their reverse-ssh tool before deleting the executable from the initial location.
Techniques & procedures
18 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
TTP # T1133 — External Remote Services (Persistence)
TTP # T1190 — Exploit Public-Facing Application (Initial Access)
Execution
5 techniques
Execution
Post-exploitation activity included deployment of a malicious cron job establishing persistent reverse SSH connections
After code execution, the attacker deployed a malicious cron job running reverse_ssh ... for persistent outbound access.
TTP # T1059 — Command and Scripting Interpreter (Execution)
Podľa nemeckej spoločnosti QUIRSO útočníci od 3. augusta 2026 zneužívajú zraniteľnosť na nasadenie škodlivého cron jobu s nástrojom reverse_ssh na zabezpečenie perzistentného prístupu.
The attacks involve the exploitation of CVE-2026-59310 ... a severe directory-traversal vulnerability in the VMware vCenter server that could be weaponized by a malicious actor to execute arbitrary code.
Persistence
4 techniques
Persistence
Post-exploitation activity included deployment of a malicious cron job establishing persistent reverse SSH connections
After code execution, the attacker deployed a malicious cron job running reverse_ssh ... for persistent outbound access.
vmware-vpxd-stats-* (facilitates an SSH-based remote access channel by adding the attacker's SSH public key to the authorized keys file)
TTP # T1133 — External Remote Services (Persistence)
Privilege Escalation
3 techniques
Privilege Escalation
Post-exploitation activity included deployment of a malicious cron job establishing persistent reverse SSH connections
After code execution, the attacker deployed a malicious cron job running reverse_ssh ... for persistent outbound access.
vmware-vpxd-stats-* (facilitates an SSH-based remote access channel by adding the attacker's SSH public key to the authorized keys file)
Stealth
1 technique
Stealth
Broadcom disclosed CVE-2026-59310 on July 29 and described it as a critical directory traversal vulnerability in the vCenter Syslog server
Lateral Movement
2 techniques
Lateral Movement
Quirso, said a threat actor has been exploiting CVE-2026-59310 and using reverse secure shell (SSH) to maintain access to compromised systems... Quirso’s reported attack chain used a cron job (time-based task scheduler) and reverse_ssh to create an outbound connection to attacker infrastructure.
File Transfer: Built-in SCP/SFTP capabilities simplify staging and exfiltrating sensitive virtual machine files.
Command and Control
6 techniques
Command and Control
The linuxFile implant is designed to provide remote command execution capabilities to the attacker. It establishes a connection to its controller over a WebSocket channel to receive instructions
TTP # T1071.002 — Application Layer Protocol: File Transfer Protocols (Command and Control)
The reverse SSH connection provides an outbound command-and-control (C2) channel and can also help bypass firewalls or other network security measures.
In the next step, a curl command (or alternatively a wget command) is executed to retrieve a backdoor from "5.34.177[.]38:9861" and execute it, and then remove the log file.
Following initial compromise, the attackers dropped the open source SSH reverse shell framework reverse_ssh to maintain an outbound control connection from the compromised systems...
The attacker deployed a malicious cron job running reverse_ssh, an open-source reverse-SSH framework, for persistent outbound access that bypasses inbound firewall controls.
Exfiltration
1 technique
Exfiltration
File Transfer: Built-in SCP/SFTP capabilities simplify staging and exfiltrating sensitive virtual machine files.
Observables
12 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.