Malicious ReverseSocks5 Reverse Tunnel Execution via Command Line

PremiumReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-09-24
Updated
2026-09-24

ATT&CK techniques

C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. Exfiltration

  13. Impact

What it detects

This rule detects execution of the ReverseSocks5 tunneling tool by its distinctive connect and pre-shared-key command-line flags, as deployed by LongNosedGoblin for covert proxying. Establishing a reverse SOCKS5 tunnel with a PSK back to attacker infrastructure enables persistent access and traffic relaying through the victim network.

Related detections9 linkedT1090 — drag to rearrange
Suspicious Network Proxy Configuration Changed (via proxy_configuration)
Malicious SonicWall SMA wsproxy Request Tunneling Internal SSH
Suspicious SOCKS Proxy Binary Execution from Temp via GlobalProtect Compromise
Suspicious Python SOCKS Proxy Script Execution from Temp via Ivanti Compromise
Malicious QDoor Remote Proxy Execution via WMIC Node Process Call Create of svhost from Temp (via process_creation)
Suspicious SOCKS Proxy Persistence via SystemBC PowerShell Run Key
Malicious Java Backdoor Execution from Public Documents via javaw (via process_creation)
Suspicious Proxyware Installation via accept-tos Flag on Linux
Suspicious DNS Query to Dynamic DNS and Tunneling Providers Abused by RATs
Malicious ReverseSocks5 Reverse Tunnel Execution via Command Line
Pivot detection · T1090 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.