Detectionhightest
Custom File Open Handler Executes PowerShell
Detects the abuse of custom file open handler, executing powershell
Log Source
WindowsRegistry Set
ProductWindows← raw: windows
CategoryRegistry Set← raw: registry_set
Detection Logic
Detection Logic1 selector
detection:
selection:
TargetObject|contains: 'shell\open\command\'
Details|contains|all:
- 'powershell'
- '-command'
condition: selectionFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Tactics
Techniques
Rule Metadata
Rule ID
7530b96f-ad8e-431d-a04d-ac85cc461fdc
Status
test
Level
high
Type
Detection
Created
2022-06-11
Modified
2023-08-17
Author
Path
rules/windows/registry/registry_set/registry_set_custom_file_open_handler_powershell_execution.yml
Raw Tags
attack.stealthattack.t1202