Sigma rule: Cloudflared Tunnel Connections Cleanup

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-3ba7ae303b3b, updated 2023-12-21T00:00:00.000Z.

Rule

Title
Cloudflared Tunnel Connections Cleanup
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2023-05-17
Modified
2023-12-21
File
rules/windows/process_creation/proc_creation_win_cloudflared_tunnel_cleanup.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects execution of the "cloudflared" tool with the tunnel "cleanup" flag in order to cleanup tunnel connections.

Log source

product
windows
category
process_creation

Detection

selection:
    CommandLine|contains|all:
        - ' tunnel '
        - 'cleanup '
    CommandLine|contains:
        - '-config '
        - '-connector-id '
condition: selection

False positives (as the rule lists them)

  • Legitimate usage of Cloudflared.

Tags

  • attack.command-and-control
  • attack.t1102
  • attack.t1090
  • attack.t1572

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_cloudflared_tunnel_cleanup.yml

Sources and licences

  • SigmaHQ

    "Cloudflared Tunnel Connections Cleanup" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_cloudflared_tunnel_cleanup.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Cloudflared Tunnel Connections Cleanup",
entity page, dataset version ref-3ba7ae303b3b, updated 2023-12-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/7050bba1-1aed-454e-8f73-3f46f09ce56a (accessed 2026-11-03).
Underlying source: SigmaHQ rule 7050bba1-1aed-454e-8f73-3f46f09ce56a, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.