Windows execution of cloudflared.exe from a non-default directory

Alerts on cloudflared.exe executions from unusual paths on Windows, excluding standard Program Files locations.

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

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 process creation events where cloudflared.exe is launched from a location other than the standard install paths under Program Files (x86)\cloudflared\ or Program Files\cloudflared\. Attackers may place portable binaries in alternate directories to blend in, evade allowlists, or control when and where the tunneling client runs. The detection relies on Windows process creation telemetry that includes the executed image path.

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 Process Execution of Renamed cloudflared.exe with Tunnel/Run Command Arguments
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 execution of cloudflared.exe from a non-default directory
Pivot detection · T1090.001 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. 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.