{"id":"9501f8e6-8e3d-48fc-a8a6-1089dd5d7ef4","title":"Network Connection Initiated To DevTunnels Domain","description":"Detects network connections to Devtunnels domains initiated by a process on a system. Attackers can abuse that feature to establish a reverse shell or persistence on a machine.\n","author":"Kamran Saifullah","status":"test","level":"medium","date":"2023-11-20","modified":"","tags":["attack.exfiltration","attack.command-and-control","attack.t1567.001","attack.t1572"],"technique_ids":["T1567.001","T1572"],"logsource":{"category":"network_connection","product":"windows"},"falsepositives":["Legitimate use of Devtunnels will also trigger this."],"references":["https://blueteamops.medium.com/detecting-dev-tunnels-16f0994dc3e2","https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/security","https://cydefops.com/devtunnels-unleashed"],"source_path":"rules/windows/network_connection/net_connection_win_domain_devtunnels.yml","source_sha256":"517daf610f829056fd71495070044ecf896f6ae94235a9188cdf7f02cd73a9ff","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/network_connection/net_connection_win_domain_devtunnels.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Network Connection Initiated To DevTunnels Domain\nid: 9501f8e6-8e3d-48fc-a8a6-1089dd5d7ef4\nrelated:\n    - id: 4b657234-038e-4ad5-997c-4be42340bce4 # Net Connection VsCode\n      type: similar\n    - id: b3e6418f-7c7a-4fad-993a-93b65027a9f1 # DNS VsCode\n      type: similar\n    - id: 1cb0c6ce-3d00-44fc-ab9c-6d6d577bf20b # DNS DevTunnels\n      type: similar\nstatus: test\ndescription: |\n    Detects network connections to Devtunnels domains initiated by a process on a system. Attackers can abuse that feature to establish a reverse shell or persistence on a machine.\nreferences:\n    - https://blueteamops.medium.com/detecting-dev-tunnels-16f0994dc3e2\n    - https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/security\n    - https://cydefops.com/devtunnels-unleashed\nauthor: Kamran Saifullah\ndate: 2023-11-20\ntags:\n    - attack.exfiltration\n    - attack.command-and-control\n    - attack.t1567.001\n    - attack.t1572\nlogsource:\n    category: network_connection\n    product: windows\ndetection:\n    selection:\n        Initiated: 'true'\n        DestinationHostname|endswith: '.devtunnels.ms'\n    condition: selection\nfalsepositives:\n    - Legitimate use of Devtunnels will also trigger this.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1567.001","id":"T1567.001","name":"Exfiltration to Code Repository","page":"techniques/enterprise/T1567.001/"},{"key":"enterprise/T1572","id":"T1572","name":"Protocol Tunneling","page":"techniques/enterprise/T1572/"}],"data_path":"data/detection-rules/9501f8e6-8e3d-48fc-a8a6-1089dd5d7ef4.json","kind":"sigma"}
