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

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

    Detection Rule License (DRL) 1.1

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.