Reg.exe Detections added#5135
Closed
xlazarg wants to merge 19 commits intoSigmaHQ:masterfrom
xlazarg:regexedetections
Closed
Reg.exe Detections added#5135xlazarg wants to merge 19 commits intoSigmaHQ:masterfrom xlazarg:regexedetections
xlazarg wants to merge 19 commits intoSigmaHQ:masterfrom
xlazarg:regexedetections
Conversation
Contributor
There was a problem hiding this comment.
Welcome @gbL2k 👋
It looks like this is your first pull request on the Sigma rules repository!
Please make sure to read the SigmaHQ conventions document 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! 😃
Member
|
Hi, |
Contributor
Author
|
I believe I've made the necessary changes, but let me know if I missed anything. |
Contributor
Author
|
Just learned about the windash modifier and realized that the previous detections were easily bypassable,I have made the changes accordingly. |
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 of the Pull Request
Added rules to detect the use of reg.exe to query registry about OS/Time Zone information
Changelog
new: OS Product Name Discovery via reg.exe
new: OS Build Number Discovery via reg.exe
new: Time Zone Discovery via reg.exe
Example Log Event:
OS Product Name Discovery via reg.exe:

Event ID 4688
OS Build Number Discovery via reg.exe:

Event ID 4688
Time Zone Discovery via reg.exe:

Event ID 4688
Relevant Links :
-https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1082/T1082.md#atomic-test-40---discover-os-build-number-via-registry
-https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1082/T1082.md#atomic-test-39---discover-os-product-name-via-registry
-https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1124/T1124.md#atomic-test-6---discover-system-time-zone-via-registry
Fixed Issues
SigmaHQ Rule Creation Conventions