Windows Process Execution of Renamed cloudflared.exe with Tunnel/Run Command Arguments

Alerts on Windows process executions of renamed cloudflared with tunnel run/cleanup command-line arguments or matching SHA-256 hashes.

FreeReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-12-20
Updated
2026-07-30

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 flags Windows process creation events where a binary path ends with cloudflared.exe (or common cloudflared variants) while the command line includes Cloudflare Tunnel-related flags such as "-config", "-connector-id", and tunnel "run" or cleanup arguments. Attackers may rename or copy legitimate binaries to blend in while still invoking tunnel functionality for command-and-control or connectivity. The detection relies on process creation telemetry (process image path, command line contents) and matches either known command-line patterns or one of the hardcoded SHA-256 hashes.

Related detections9 linkedT1090.001 — drag to rearrange
Malicious SOCKS Proxy Tunnel via Earthworm Rssocks by UAT-8837
Malicious Volt Typhoon Port Proxy Configuration via Netsh (via process_creation)
Suspicious netsh Port Proxy Configuration for Covert Tunneling
Malicious Port Forwarding Tunnel via Netsh Portproxy (via process_creation)
Windows Execution of cloudflared for Cloudflare Try/Quick Tunnel Ad-hoc Tunneling
Windows execution of cloudflared.exe from a non-default directory
Windows Process Creation: Chisel Tunneling Tool (chisel.exe) Execution
Windows SharpChisel Command-Line Execution via SharpChisel.exe
Windows WFP Event 5156: RDP traffic via loopback when hosted by svchost termsvcs
Windows Process Execution of Renamed cloudflared.exe with Tunnel/Run Command Arguments
Pivot detection · T1090.001 · 9 related

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