mirror of
https://github.com/vee1e/capa-rules.git
synced 2026-09-03 03:47:23 +00:00
Add hide-graphical-window-from-taskbar.yml rule
This commit is contained in:
parent
4c2dec582b
commit
4e50e50bad
1 changed files with 29 additions and 0 deletions
|
|
@ -0,0 +1,29 @@
|
|||
rule:
|
||||
meta:
|
||||
name: hide graphical window from taskbar
|
||||
namespace: host-interaction/gui/window/hide
|
||||
authors:
|
||||
- jakub.jozwiak@mandiant.com
|
||||
scopes:
|
||||
static: basic block
|
||||
dynamic: call
|
||||
att&ck:
|
||||
- Defense Evasion::Hide Artifacts::Hidden Window [T1564.003]
|
||||
references:
|
||||
- https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getwindowlongptrw
|
||||
- https://learn.microsoft.com/en-us/windows/win32/winmsg/extended-window-styles
|
||||
- https://dreamlayers.blogspot.com/2010/12/hiding-window-from-taskbar-using.html
|
||||
examples:
|
||||
- 79252f58d486aee8c08a8a7ebd36ae11ab5798b289e7f88e71eacf8637c340cc:0x180004B22
|
||||
features:
|
||||
- and:
|
||||
- api: GetWindowLongPtr
|
||||
- api: SetWindowLongPtr
|
||||
- number: 0x0FFFFFFEC = GWL_EXSTYLE (-20)
|
||||
- or:
|
||||
- instruction:
|
||||
- mnemonic: or
|
||||
- operand[1].number: 0x80 = WS_EX_TOOLWINDOW
|
||||
- instruction:
|
||||
- mnemonic: bts
|
||||
- operand[1].number: 0x7
|
||||
Loading…
Add table
Add a link
Reference in a new issue