Detectionmediumtest

Potential Registry Persistence Attempt Via DbgManagedDebugger

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

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
François HubautCreated Sun Aug 07Updated Thu Aug 179827ae57-3802-418f-994b-d5ecf5cd974bwindows
Log Source
WindowsRegistry Set
ProductWindows← raw: windows
CategoryRegistry Set← raw: registry_set
Detection Logic
Detection Logic2 selectors
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

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

Rule Metadata
Rule ID
9827ae57-3802-418f-994b-d5ecf5cd974b
Status
test
Level
medium
Type
Detection
Created
Sun Aug 07
Modified
Thu Aug 17
Path
rules/windows/registry/registry_set/registry_set_dbgmanageddebugger_persistence.yml
Raw Tags
attack.privilege-escalationattack.defense-evasionattack.persistenceattack.t1574
View on GitHub