Detectionmediumtest

Network Connection Initiated To DevTunnels Domain

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.

Open in Detection LabConvert ruleBuild Package
Kamran SaifullahCreated 2023-11-209501f8e6-8e3d-48fc-a8a6-1089dd5d7ef4windows
Log Source
WindowsNetwork Connection
ProductWindows← raw: windows
CategoryNetwork Connection← raw: network_connection

Events for outbound and inbound network connections including DNS resolution.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        Initiated: 'true'
        DestinationHostname|endswith: '.devtunnels.ms'
    condition: selection
False Positives

Legitimate use of Devtunnels will also trigger this.