Sigma rule: Potential Registry Persistence Attempt Via DbgManagedDebugger

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-391914a52dfe, updated 2023-08-17T00:00:00.000Z.

Rule

Title
Potential Registry Persistence Attempt Via DbgManagedDebugger
Status
test
Level
medium
Author
frack113
Date
2022-08-07
Modified
2023-08-17
File
rules/windows/registry/registry_set/registry_set_dbgmanageddebugger_persistence.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the addition of the "Debugger" value to the "DbgManagedDebugger" key in order to achieve persistence. Which will get invoked when an application crashes

Log source

product
windows
category
registry_set

Detection

selection:
    TargetObject|endswith: '\Microsoft\.NETFramework\DbgManagedDebugger'
filter:
    Details: '"C:\Windows\system32\vsjitdebugger.exe" PID %d APPDOM %d EXTEXT "%s" EVTHDL %d'
condition: selection and not filter

False positives (as the rule lists them)

  • Legitimate use of the key to setup a debugger. Which is often the case on developers machines

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.execution
  • attack.stealth
  • attack.t1574

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_dbgmanageddebugger_persistence.yml

Sources and licences

  • SigmaHQ

    "Potential Registry Persistence Attempt Via DbgManagedDebugger" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_dbgmanageddebugger_persistence.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: Potential Registry Persistence Attempt Via DbgManagedDebugger",
entity page, dataset version ref-391914a52dfe, updated 2023-08-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9827ae57-3802-418f-994b-d5ecf5cd974b (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9827ae57-3802-418f-994b-d5ecf5cd974b, 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.