Detectionmediumtest

Add Debugger Entry To AeDebug For Persistence

Detects when an attacker adds a new "Debugger" value to the "AeDebug" key in order to achieve persistence which will get invoked when an application crashes

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2022-07-21Updated 2023-08-17092af964-4233-4373-b4ba-d86ea2890288windows
Log Source
WindowsRegistry Set
ProductWindows← raw: windows
CategoryRegistry Set← raw: registry_set
Detection Logic
Detection Logic2 selectors
detection:
    selection:
        TargetObject|contains: '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger'
        Details|endswith: '.dll'
    filter:
        Details: '"C:\WINDOWS\system32\vsjitdebugger.exe" -p %ld -e %ld -j 0x%p'
    condition: selection and not filter
False Positives

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

MITRE ATT&CK
Rule Metadata
Rule ID
092af964-4233-4373-b4ba-d86ea2890288
Status
test
Level
medium
Type
Detection
Created
2022-07-21
Modified
2023-08-17
Path
rules/windows/registry/registry_set/registry_set_aedebug_persistence.yml
Raw Tags
attack.persistence
View on GitHub