rules/windows: add Dev Tunnel hosting or creation process_creation rule#6089
Open
BL3IP wants to merge 1 commit into
Open
rules/windows: add Dev Tunnel hosting or creation process_creation rule#6089BL3IP wants to merge 1 commit into
BL3IP wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
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:
dd16213 to
2266bd9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
process_creationdetection 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) andnetwork_connection(Net Connection DevTunnels), but not at theprocess_creationlayer - 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 therelatedfield.Validation
sigma check-> 0 errors, 0 issuespython -m pytest tests/test_rules.py-> all passReferences