{"id":"a1d9eec5-33b2-4177-8d24-27fe754d0812","title":"Cloudflared Tunnels Related DNS Requests","description":"Detects DNS requests to Cloudflared tunnels domains.\nAttackers can abuse that feature to establish a reverse shell or persistence on a machine.\n","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-12-20","modified":"","tags":["attack.command-and-control","attack.t1071.001","attack.t1572"],"technique_ids":["T1071.001","T1572"],"logsource":{"category":"dns_query","product":"windows"},"falsepositives":["Legitimate use of cloudflare tunnels will also trigger this."],"references":["https://www.guidepointsecurity.com/blog/tunnel-vision-cloudflared-abused-in-the-wild/","Internal Research"],"source_path":"rules/windows/dns_query/dns_query_win_cloudflared_communication.yml","source_sha256":"fd13410291e35e7ed43ec6cdd069e7dd28321f40cdc0dd8386eb05548f3db53e","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/dns_query/dns_query_win_cloudflared_communication.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Cloudflared Tunnels Related DNS Requests\nid: a1d9eec5-33b2-4177-8d24-27fe754d0812\nrelated:\n    - id: 7cd1dcdc-6edf-4896-86dc-d1f19ad64903\n      type: similar\nstatus: test\ndescription: |\n    Detects DNS requests to Cloudflared tunnels domains.\n    Attackers can abuse that feature to establish a reverse shell or persistence on a machine.\nreferences:\n    - https://www.guidepointsecurity.com/blog/tunnel-vision-cloudflared-abused-in-the-wild/\n    - Internal Research\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-12-20\ntags:\n    - attack.command-and-control\n    - attack.t1071.001\n    - attack.t1572\nlogsource:\n    category: dns_query\n    product: windows\ndetection:\n    selection:\n        QueryName|endswith:\n            - '.v2.argotunnel.com'\n            - 'protocol-v2.argotunnel.com'\n            - 'trycloudflare.com'\n            - 'update.argotunnel.com'\n    condition: selection\nfalsepositives:\n    - Legitimate use of cloudflare tunnels will also trigger this.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1071.001","id":"T1071.001","name":"Web Protocols","page":"techniques/enterprise/T1071.001/"},{"key":"enterprise/T1572","id":"T1572","name":"Protocol Tunneling","page":"techniques/enterprise/T1572/"}],"data_path":"data/detection-rules/a1d9eec5-33b2-4177-8d24-27fe754d0812.json","kind":"sigma"}
