Detectionhightest

Custom File Open Handler Executes PowerShell

Detects the abuse of custom file open handler, executing powershell

Open in Detection LabConvert ruleBuild Package
CD_R0M_Created 2022-06-11Updated 2023-08-177530b96f-ad8e-431d-a04d-ac85cc461fdcwindows
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: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

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
View on GitHub