{"id":"9827ae57-3802-418f-994b-d5ecf5cd974b","title":"Potential Registry Persistence Attempt Via DbgManagedDebugger","description":"Detects the addition of the \"Debugger\" value to the \"DbgManagedDebugger\" key in order to achieve persistence. Which will get invoked when an application crashes","author":"frack113","status":"test","level":"medium","date":"2022-08-07","modified":"2023-08-17","tags":["attack.privilege-escalation","attack.persistence","attack.execution","attack.stealth","attack.t1574"],"technique_ids":["T1574"],"logsource":{"category":"registry_set","product":"windows"},"falsepositives":["Legitimate use of the key to setup a debugger. Which is often the case on developers machines"],"references":["https://www.hexacorn.com/blog/2013/09/19/beyond-good-ol-run-key-part-4/","https://github.com/last-byte/PersistenceSniper"],"source_path":"rules/windows/registry/registry_set/registry_set_dbgmanageddebugger_persistence.yml","source_sha256":"2ebe627b82edf1f25031e16f1fe5e17b315feb19838fef3065d9712e84c1083c","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_dbgmanageddebugger_persistence.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Registry Persistence Attempt Via DbgManagedDebugger\nid: 9827ae57-3802-418f-994b-d5ecf5cd974b\nstatus: test\ndescription: Detects the addition of the \"Debugger\" value to the \"DbgManagedDebugger\" key in order to achieve persistence. Which will get invoked when an application crashes\nreferences:\n    - https://www.hexacorn.com/blog/2013/09/19/beyond-good-ol-run-key-part-4/\n    - https://github.com/last-byte/PersistenceSniper\nauthor: frack113\ndate: 2022-08-07\nmodified: 2023-08-17\ntags:\n    - attack.privilege-escalation\n    - attack.persistence\n    - attack.execution\n    - attack.stealth\n    - attack.t1574\nlogsource:\n    category: registry_set\n    product: windows\ndetection:\n    selection:\n        TargetObject|endswith: '\\Microsoft\\.NETFramework\\DbgManagedDebugger'\n    filter:\n        Details: '\"C:\\Windows\\system32\\vsjitdebugger.exe\" PID %d APPDOM %d EXTEXT \"%s\" EVTHDL %d'\n    condition: selection and not filter\nfalsepositives:\n    - Legitimate use of the key to setup a debugger. Which is often the case on developers machines\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1574","id":"T1574","name":"Hijack Execution Flow","page":"techniques/enterprise/T1574/"}],"data_path":"data/detection-rules/9827ae57-3802-418f-994b-d5ecf5cd974b.json","kind":"sigma"}
