Windows Process Creation: cloudflared Tunnel Execution with Config and Credentials Flags

Alerts on Windows processes running cloudflared tunnels with config and token/credential flags.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
Janantha Marasinghe, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-05-17
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 matches Windows process creation events where the command line contains the strings " tunnel " and " run " along with one or more Cloudflared-specific options such as "-config ", "-credentials-contents ", "-credentials-file ", or "-token ". Attackers can use cloudflared to establish inbound connectivity for remote access and persistence, so spotting these command-line patterns helps detect tunnel setup activity. It relies on process creation telemetry that includes the full command line for spawned processes.

Related detections9 linkedT1572 — drag to rearrange
Windows Network Connections to LocaltoNet/Localtonet Tunneling Subdomains
Linux: Network connections initiated to LocaltoNet tunneling subdomains
Windows: Detect cloudflared tunnel cleanup command execution
Linux network connections to ngrok tunneling endpoints
Windows Executable Initiating Connections to ngrok Tunnel Domains
Malicious Anubis Ransomware Cloudflare Tunnel via cloudflared (via process_creation)
Malicious QEMU Covert Network Tunnel via User-Mode netdev Socket (via process_creation)
Malicious Tunneling Tool Execution on Linux Host (via process_creation)
Suspicious Chisel Reverse Tunnel Execution by UAT-9686
Windows Process Creation: cloudflared Tunnel Execution with Config and Credentials Flags
Pivot detection · T1572 · 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.