Detectionmediumtest
Cloudflared Tunnel Execution
Detects execution of the "cloudflared" tool to connect back to a tunnel. This was seen used by threat actors to maintain persistence and remote access to compromised networks.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Janantha Marasinghe, Nasreddine Bencherchali (Nextron Systems)Created Wed May 17Updated Wed Dec 209a019ffc-3580-4c9d-8d87-079f7e8d3fd4windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
CommandLine|contains|all:
- ' tunnel '
- ' run '
CommandLine|contains:
- '-config '
- '-credentials-contents '
- '-credentials-file '
- '-token '
condition: selectionFalse Positives
Legitimate usage of Cloudflared tunnel.
MITRE ATT&CK
Rule Metadata
Rule ID
9a019ffc-3580-4c9d-8d87-079f7e8d3fd4
Status
test
Level
medium
Type
Detection
Created
Wed May 17
Modified
Wed Dec 20
Path
rules/windows/process_creation/proc_creation_win_cloudflared_tunnel_run.yml
Raw Tags
attack.command-and-controlattack.t1102attack.t1090attack.t1572