Sigma rule: Custom File Open Handler Executes PowerShell
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-26dc878beba1, updated 2023-08-17T00:00:00.000Z.
Rule
- Title
- Custom File Open Handler Executes PowerShell
- Status
- test
- Level
- high
- Author
- CD_R0M_
- Date
- 2022-06-11
- Modified
- 2023-08-17
- File
- rules/windows/registry/registry_set/registry_set_custom_file_open_handler_powershell_execution.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the abuse of custom file open handler, executing powershell
Log source
- product
- windows
- category
- registry_set
Detection
selection:
TargetObject|contains: 'shell\open\command\'
Details|contains|all:
- 'powershell'
- '-command'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.stealth
- attack.t1202
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_custom_file_open_handler_powershell_execution.yml
Sources and licences
SigmaHQ
"Custom File Open Handler Executes PowerShell" by CD_R0M_ (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_custom_file_open_handler_powershell_execution.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Custom File Open Handler Executes PowerShell",
entity page, dataset version ref-26dc878beba1, updated 2023-08-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/7530b96f-ad8e-431d-a04d-ac85cc461fdc (accessed 2026-11-03).
Underlying source: SigmaHQ rule 7530b96f-ad8e-431d-a04d-ac85cc461fdc, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.