Skip to content

rules/windows: add Dev Tunnel hosting or creation process_creation rule#6089

Open
BL3IP wants to merge 1 commit into
SigmaHQ:masterfrom
BL3IP:detection/devtunnel-host-execution
Open

rules/windows: add Dev Tunnel hosting or creation process_creation rule#6089
BL3IP wants to merge 1 commit into
SigmaHQ:masterfrom
BL3IP:detection/devtunnel-host-execution

Conversation

@BL3IP

@BL3IP BL3IP commented Jun 28, 2026

Copy link
Copy Markdown

Summary

Adds a process_creation detection for Microsoft Dev Tunnels (devtunnel.exe) being used to host or create a tunnel that exposes a local endpoint via *.devtunnels.ms. Adversaries abuse Dev Tunnels for C2, reverse shells and persistent remote access that blends in with trusted Microsoft domains (MITRE T1572).

Why

Dev Tunnels are currently detected via dns_query (DNS Query To Devtunnels Domain) and network_connection (Net Connection DevTunnels), but not at the process_creation layer - i.e. nothing catches the on-host CLI setting up the tunnel. This rule fills that gap and is cross-linked to the two existing rules via the related field.

Validation

  • sigma check -> 0 errors, 0 issues
  • python -m pytest tests/test_rules.py -> all pass
  • Splunk/sysmon conversion: EventID=1 Image endswith devtunnel.exe + host/create/port forward

References

@github-actions github-actions Bot added Rules Review Needed The PR requires review Windows Pull request add/update windows related rules labels Jun 28, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome @BL3IP 👋

It looks like this is your first pull request on the Sigma rules repository!

Please make sure to read the SigmaHQ conventions to make sure your contribution is adhering to best practices and has all the necessary elements in place for a successful approval.

Thanks again, and welcome to the Sigma community! 😃

If you want to engage more with the community for official support, general discussions or announcements:

👉 Join our Discord server

@BL3IP BL3IP force-pushed the detection/devtunnel-host-execution branch from dd16213 to 2266bd9 Compare June 28, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review Needed The PR requires review Rules Windows Pull request add/update windows related rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant