Sigma rule: Registry Persistence Mechanisms in Recycle Bin
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-2cd991333e7a, updated 2022-12-06T00:00:00.000Z.
Rule
- Title
- Registry Persistence Mechanisms in Recycle Bin
- Status
- test
- Level
- high
- Author
- frack113
- Date
- 2021-11-18
- Modified
- 2022-12-06
- File
- rules/windows/registry/registry_event/registry_event_persistence_recycle_bin.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects persistence registry keys for Recycle Bin
Log source
- product
- windows
- category
- registry_event
Detection
selection_create:
EventType: RenameKey
NewName|contains: '\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\open'
selection_set:
EventType: SetValue
TargetObject|contains: '\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\open\command\(Default)'
condition: 1 of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.privilege-escalation
- attack.persistence
- attack.t1547
MITRE ATT&CK ids this rule names
References
- https://github.com/vxunderground/VXUG-Papers/blob/751edb8d50f95bd7baa730adf2c6c3bb1b034276/The%20Persistence%20Series/Persistence%20via%20Recycle%20Bin/Persistence_via_Recycle_Bin.pdf
- https://persistence-info.github.io/Data/recyclebin.html
- https://www.hexacorn.com/blog/2018/05/28/beyond-good-ol-run-key-part-78-2/
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_event/registry_event_persistence_recycle_bin.yml
Sources and licences
SigmaHQ
"Registry Persistence Mechanisms in Recycle Bin" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_event/registry_event_persistence_recycle_bin.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: Registry Persistence Mechanisms in Recycle Bin",
entity page, dataset version ref-2cd991333e7a, updated 2022-12-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/277efb8f-60be-4f10-b4d3-037802f37167 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 277efb8f-60be-4f10-b4d3-037802f37167, 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.