Merge pull request #651 from EccoTheFlintstone/fix_sysmon_registry

fix sysmon registry rules with HKLM/HKU format as used since 02/2017 in sysmon
This commit is contained in:
Florian Roth 2020-03-04 20:25:11 +01:00 committed by GitHub
commit 02d256b3b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 6 deletions

View File

@ -41,5 +41,5 @@ logsource:
detection:
selection:
EventID: 13
TargetObject: \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run*
TargetObject: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run*
Details: '%AppData%\Roaming\Oracle\bin\\*'

View File

@ -31,9 +31,7 @@ detection:
selection1:
EventID: 13
TargetObject:
- '\REGISTRY\MACHINE\SYSTEM\CurrentControlSet\services\null\Instance*'
- '\REGISTRY\MACHINE\SYSTEM\ControlSet001\services\null\Instance*'
- '\REGISTRY\MACHINE\SYSTEM\ControlSet002\services\null\Instance*'
- 'HKLM\SYSTEM\CurrentControlSet\services\null\Instance*'
---
logsource:
category: process_creation

View File

@ -13,7 +13,7 @@ logsource:
detection:
methregistry:
EventID: 13
TargetObject: 'HKEY_USERS\\*\mscfile\shell\open\command'
TargetObject: 'HKU\\*\mscfile\shell\open\command'
methprocess:
EventID: 1 # Migration to process_creation requires multipart YAML
ParentImage: '*\eventvwr.exe'

View File

@ -12,7 +12,7 @@ logsource:
detection:
selection:
EventID: 13
TargetObject: 'HKEY_USERS\\*\Classes\exefile\shell\runas\command\isolatedCommand'
TargetObject: 'HKU\\*\Classes\exefile\shell\runas\command\isolatedCommand'
condition: selection
tags:
- attack.defense_evasion