Detectionmediumtest

DNS Query To Devtunnels Domain

Detects DNS query requests to Devtunnels domains. Attackers can abuse that feature to establish a reverse shell or persistence on a machine.

Open in Detection LabConvert ruleBuild Package
citron_ninjaCreated 2023-10-25Updated 2023-11-201cb0c6ce-3d00-44fc-ab9c-6d6d577bf20bwindows
Log Source
WindowsDNS Query
ProductWindows← raw: windows
CategoryDNS Query← raw: dns_query

DNS lookup events generated by endpoint monitoring tools.

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

Legitimate use of Devtunnels will also trigger this.