Windows curl.exe SOCKS Proxy and .onion Command-Line Execution

Alerts on Windows curl.exe being run with Tor SOCKS proxy URIs and .onion targets in the command line.

FreeReviewedSigma · High · v5
Product
windows
Category
process_creation
Author
Arda Buyukkaya (EclecticIQ) (SigmaHQ), DRL 1.1
Published
2025-02-11
Updated
2026-07-31

ATT&CK techniques

Execution → C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. Exfiltration

  12. Impact

What it detects

This rule flags Windows process creation events where curl.exe is executed with command-line arguments indicating SOCKS proxy usage (socks5h://, socks5://, socks4a://) and also containing .onion in the same command line. Attackers may leverage curl with SOCKS proxies to reach hidden services and obfuscate network paths for command-and-control or payload retrieval. Telemetry required is Windows process creation data including the full image path and command-line string.

Related detections9 linkedT1071.001 — drag to rearrange
Suspicious PowerShell Invoke-WebRequest Piped to Invoke-Expression via FakeBat Loader
Suspicious PowerShell COM-Based Script Execution and HTTP Retrieval (via ps_script)
Malicious Powerfun Reverse Shell Script via Script Block (via ps_script)
Malicious OysterLoader C2 Beacon Using WordPressAgent User Agent
Suspicious PowerShell Stager Download of Spf Script by Seedworm
Ngrok Tunneling Utility Execution for Command and Control
Malicious HarborWatch RAT Command and Control Beacon by User Agent (via proxy)
Suspicious Script Interpreter Spawned by Explorer via ClickFix Run Dialog (via process_creation)
Suspicious PowerShell Download Cradle via ClickFix Fake CAPTCHA (via process_creation)
Windows curl.exe SOCKS Proxy and .onion Command-Line Execution
Pivot detection · T1071.001 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

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