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

Open in Detection LabConvert ruleBuild Package
François HubautCreated 2022-08-07Updated 2023-08-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
2022-08-07
Modified
2023-08-17
Path
rules/windows/registry/registry_set/registry_set_dbgmanageddebugger_persistence.yml
Raw Tags
attack.privilege-escalationattack.persistenceattack.executionattack.stealthattack.t1574
View on GitHub