{"id":"9a019ffc-3580-4c9d-8d87-079f7e8d3fd4","title":"Cloudflared Tunnel Execution","description":"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.","author":"Janantha Marasinghe, Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-05-17","modified":"2023-12-20","tags":["attack.command-and-control","attack.t1102","attack.t1090","attack.t1572"],"technique_ids":["T1090","T1102","T1572"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate usage of Cloudflared tunnel."],"references":["https://blog.reconinfosec.com/emergence-of-akira-ransomware-group","https://github.com/cloudflare/cloudflared","https://developers.cloudflare.com/cloudflare-one/connections/connect-apps"],"source_path":"rules/windows/process_creation/proc_creation_win_cloudflared_tunnel_run.yml","source_sha256":"537ccfd832d9322aeae597a755d94d161caf81d0514f494a505a21099d6af511","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_cloudflared_tunnel_run.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 Tunnel Execution\nid: 9a019ffc-3580-4c9d-8d87-079f7e8d3fd4\nstatus: test\ndescription: 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.\nreferences:\n    - https://blog.reconinfosec.com/emergence-of-akira-ransomware-group\n    - https://github.com/cloudflare/cloudflared\n    - https://developers.cloudflare.com/cloudflare-one/connections/connect-apps\nauthor: Janantha Marasinghe, Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-05-17\nmodified: 2023-12-20\ntags:\n    - attack.command-and-control\n    - attack.t1102\n    - attack.t1090\n    - attack.t1572\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        CommandLine|contains|all:\n            - ' tunnel '\n            - ' run '\n        CommandLine|contains:\n            - '-config '\n            - '-credentials-contents '\n            - '-credentials-file '\n            - '-token '\n    condition: selection\nfalsepositives:\n    - Legitimate usage of Cloudflared tunnel.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1090","id":"T1090","name":"Proxy","page":"techniques/enterprise/T1090/"},{"key":"enterprise/T1102","id":"T1102","name":"Web Service","page":"techniques/enterprise/T1102/"},{"key":"enterprise/T1572","id":"T1572","name":"Protocol Tunneling","page":"techniques/enterprise/T1572/"}],"data_path":"data/detection-rules/9a019ffc-3580-4c9d-8d87-079f7e8d3fd4.json","kind":"sigma"}
