Possible Registry Persistence Attempt Through DbgManagedDebugger (via registry_set)
This rule detects the addition of the "Debugger" value to the "DbgManagedDebugger" key to achieve persistence. Which will get invoked when an application crashes
SigmamediumWindowsv1
sigma
possible-registry-persistence-attempt-through-dbgmanageddebugger-via-registry-set
title: Possible Registry Persistence Attempt Through DbgManagedDebugger (via registry_set)
id: e91ae0e7-68a2-59c1-8f0d-ade52ce27bd4
status: stable
description: This rule detects the addition of the "Debugger" value to the "DbgManagedDebugger" key to achieve persistence. Which will get invoked when an application crashes
references:
- https://attack.mitre.org/techniques/T1574/
- https://www.hexacorn.com/blog/2013/09/19/beyond-good-ol-run-key-part-4/
- https://github.com/last-byte/PersistenceSniper
author: Huntrule Team
date: 2026-01-17
tags:
- attack.privilege-escalation
- attack.persistence
- attack.execution
- attack.stealth
- attack.t1574
logsource:
category: registry_set
product: windows
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
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.