Sigma rule: DNS Query To Devtunnels Domain
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-ccedc2088f6a, updated 2023-11-20T00:00:00.000Z.
Rule
- Title
- DNS Query To Devtunnels Domain
- Status
- test
- Level
- medium
- Author
- citron_ninja
- Date
- 2023-10-25
- Modified
- 2023-11-20
- File
- rules/windows/dns_query/dns_query_win_devtunnels_communication.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects DNS query requests to Devtunnels domains. Attackers can abuse that feature to establish a reverse shell or persistence on a machine.
Log source
- product
- windows
- category
- dns_query
Detection
selection:
QueryName|endswith: '.devtunnels.ms'
condition: selectionFalse positives (as the rule lists them)
- Legitimate use of Devtunnels will also trigger this.
Tags
- attack.command-and-control
- attack.t1071.001
- attack.t1572
MITRE ATT&CK ids this rule names
Related rules
- 9501f8e6-8e3d-48fc-a8a6-1089dd5d7ef4 (similar)
- 4b657234-038e-4ad5-997c-4be42340bce4 (similar)
- b3e6418f-7c7a-4fad-993a-93b65027a9f1 (similar)
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
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/dns_query/dns_query_win_devtunnels_communication.yml
Sources and licences
SigmaHQ
"DNS Query To Devtunnels Domain" by citron_ninja (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/dns_query/dns_query_win_devtunnels_communication.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: DNS Query To Devtunnels Domain",
entity page, dataset version ref-ccedc2088f6a, updated 2023-11-20T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1cb0c6ce-3d00-44fc-ab9c-6d6d577bf20b (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1cb0c6ce-3d00-44fc-ab9c-6d6d577bf20b, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.