Skip to content

Commit

Permalink
fix the scope of some rules with dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
williballenthin committed Jun 6, 2024
1 parent c454ffb commit e6befc9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion collection/keylog/log-keystrokes-via-application-hook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ rule:
authors:
- michael.hunhoff@mandiant.com
scopes:
static: function
static: basic block
dynamic: call
att&ck:
- Collection::Input Capture::Keylogging [T1056.001]
Expand Down
11 changes: 5 additions & 6 deletions host-interaction/gui/set-application-hook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ rule:
authors:
- michael.hunhoff@mandiant.com
scopes:
static: function
dynamic: thread
static: instruction
dynamic: call
examples:
- Practical Malware Analysis Lab 12-03.exe_:0x401000
features:
- and:
- or:
- api: user32.SetWindowsHookEx
- api: user32.UnhookWindowsHookEx
- or:
- api: user32.SetWindowsHookEx
- api: user32.UnhookWindowsHookEx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ rule:
- moritz.raabe@mandiant.com
- michael.hunhoff@mandiant.com
scopes:
static: function
dynamic: unsupported # requires characteristic features
static: instruction
dynamic: call
att&ck:
- Execution::Shared Modules [T1129]
examples:
Expand Down

0 comments on commit e6befc9

Please sign in to comment.