Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reg.exe Detections added #5135

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
fa936e0
Reg.exe Detections added
gbL2k Dec 19, 2024
a1bff08
Merge branch 'SigmaHQ:master' into regexedetections
gbL2k Jan 1, 2025
a7b2ec9
Update proc_creation_win_reg_build_number_discovery.yml
gbL2k Jan 13, 2025
7470e3d
Update proc_creation_win_reg_product_name_discovery.yml
gbL2k Jan 13, 2025
40f9a2f
Update proc_creation_win_reg_time_zone_discovery.yml
gbL2k Jan 13, 2025
08e3f75
Update proc_creation_win_reg_build_number_discovery.yml
gbL2k Jan 13, 2025
b77d857
Update proc_creation_win_reg_product_name_discovery.yml
gbL2k Jan 13, 2025
d5f258e
Update proc_creation_win_reg_build_number_discovery.yml
gbL2k Jan 13, 2025
6222292
Update proc_creation_win_reg_product_name_discovery.yml
gbL2k Jan 13, 2025
c9f602d
Update proc_creation_win_reg_time_zone_discovery.yml
gbL2k Jan 13, 2025
d8b8886
Update proc_creation_win_reg_build_number_discovery.yml
gbL2k Jan 15, 2025
ee3925f
Update proc_creation_win_reg_product_name_discovery.yml
gbL2k Jan 15, 2025
460752b
Update proc_creation_win_reg_time_zone_discovery.yml
gbL2k Jan 15, 2025
28f1482
Update proc_creation_win_reg_time_zone_discovery.yml
gbL2k Jan 15, 2025
9762c5e
Update proc_creation_win_reg_build_number_discovery.yml
gbL2k Jan 15, 2025
c74506e
Update proc_creation_win_reg_product_name_discovery.yml
gbL2k Jan 15, 2025
982007c
Update proc_creation_win_reg_build_number_discovery.yml
gbL2k Jan 18, 2025
e0bf42c
Update proc_creation_win_reg_product_name_discovery.yml
gbL2k Jan 18, 2025
f94a0fb
Update proc_creation_win_reg_time_zone_discovery.yml
gbL2k Jan 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
title: OS Build Number Discovery via reg.exe
id: 9c349345-6844-4628-843f-2c8ad5967978
status: test
description: This Sigma rule detects the use of reg.exe to query the Windows registry for the operating system's build number.
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1082/T1082.md#atomic-test-40---discover-os-build-number-via-registry
author: lazarg
date: 2024-12-19
tags:
- attack.discovery
- attack.t1082
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\reg.exe'
- OriginalFileName: 'reg.exe'
selection_command_line:
CommandLine|contains|all:
- 'query'
- '\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
- 'CurrentBuildNumber'
CommandLine|windash|contains: '-v'
condition: selection_img and selection_command_line
falsepositives:
- Unlikely
level: medium
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
title: OS Product Name Discovery via reg.exe
id: 6c13d616-13ff-41ca-b94f-35fc294feb48
status: test
description: This Sigma rule identifies the use of reg.exe to query the Windows registry for the operating system's product name.
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1082/T1082.md#atomic-test-39---discover-os-product-name-via-registry
author: lazarg
date: 2024-12-19
tags:
- attack.discovery
- attack.t1082
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\reg.exe'
- OriginalFileName: 'reg.exe'
selection_command_line:
CommandLine|contains|all:
- 'query'
- '\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
- 'ProductName'
CommandLine|windash|contains: '-v'
condition: selection_img and selection_command_line
falsepositives:
- Unlikely
level: medium
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
title: Time Zone Discovery via reg.exe
id: 9090d3ad-df87-47f7-b47a-63e34e29b035
status: test
description: This Sigma rule detects the use of reg.exe to query the system's time zone information from the Windows registry.
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1124/T1124.md#atomic-test-6---discover-system-time-zone-via-registry
author: lazarg
date: 2024-12-19
tags:
- attack.discovery
- attack.t1124
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\reg.exe'
- OriginalFileName: 'reg.exe'
selection_command_line:
CommandLine|contains|all:
- 'query'
- '\SYSTEM\CurrentControlSet\Control\TimeZoneInformation'
- 'TimeZoneKeyName'
CommandLine|windash|contains: '-v'
condition: selection_img and selection_command_line
falsepositives:
- Unlikely
level: medium
Loading