Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion rules/macros/macros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
expr: kevt.name = 'RegCreateKey' and registry.status = 'Success'

- macro: modify_registry
expr: (set_value or create_key)
expr: ((set_value) or (create_key))

- macro: send_socket
expr: kevt.name = 'Send'
Expand Down
6 changes: 3 additions & 3 deletions rules/persistence_hidden_local_account_creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ labels:
subtechnique.ref: https://attack.mitre.org/techniques/T1136/001/

condition: >
set_value and registry.path imatches
modify_registry and registry.path imatches
(
'HKEY_LOCAL_MACHINE\\SAM\\SAM\\Domains\\Account\\Users\\Names\\*$\\',
'HKEY_LOCAL_MACHINE\\SAM\\SAM\\Domains\\Account\\Users\\*$\\'
'HKEY_LOCAL_MACHINE\\SAM\\SAM\\Domains\\Account\\Users\\Names\\*$',
'HKEY_LOCAL_MACHINE\\SAM\\SAM\\Domains\\Account\\Users\\*$'
)

severity: high
Expand Down