{"id":"a1b2c3d4-e5f6-a7b8-c9d0-e1f2a3b4c5d6","title":"Disabling Windows Defender WMI Autologger Session via Reg.exe","description":"Detects the use of reg.exe to disable the Event Tracing for Windows (ETW) Autologger session for Windows Defender API and Audit events.\nBy setting the 'Start' value to '0' for the 'DefenderApiLogger' or 'DefenderAuditLogger' session, an attacker can prevent these critical security events\nfrom being logged, effectively blinding monitoring tools that rely on this data. This is a powerful defense evasion technique.\n","author":"Matt Anderson (Huntress)","status":"experimental","level":"high","date":"2025-07-09","modified":"","tags":["attack.defense-impairment","attack.t1685"],"technique_ids":["T1685"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Highly unlikely"],"references":["https://research.splunk.com/endpoint/76406a0f-f5e0-4167-8e1f-337fdc0f1b0c/","https://docs.microsoft.com/en-us/windows/win32/etw/configuring-and-starting-an-autologger-session","https://thedfirreport.com/2021/10/18/icedid-to-xinglocker-ransomware-in-24-hours/","https://blog.malwarebytes.com/malwarebytes-news/2021/02/lazyscripter-from-empire-to-double-rat/","https://www.binarly.io/blog/design-issues-of-modern-edrs-bypassing-etw-based-solutions"],"source_path":"rules/windows/process_creation/proc_creation_win_reg_disable_defender_wmi_autologger.yml","source_sha256":"f393d7e8b08e96261b3825f65acb96e3ad2a747cb8950612f7e20bdb37ba8634","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_reg_disable_defender_wmi_autologger.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Disabling Windows Defender WMI Autologger Session via Reg.exe\nid: a1b2c3d4-e5f6-a7b8-c9d0-e1f2a3b4c5d6\nrelated:\n    - id: f37b4bce-49d0-4087-9f5b-58bffda77316\n      type: similar\nstatus: experimental\ndescription: |\n    Detects the use of reg.exe to disable the Event Tracing for Windows (ETW) Autologger session for Windows Defender API and Audit events.\n    By setting the 'Start' value to '0' for the 'DefenderApiLogger' or 'DefenderAuditLogger' session, an attacker can prevent these critical security events\n    from being logged, effectively blinding monitoring tools that rely on this data. This is a powerful defense evasion technique.\nreferences:\n    - https://research.splunk.com/endpoint/76406a0f-f5e0-4167-8e1f-337fdc0f1b0c/\n    - https://docs.microsoft.com/en-us/windows/win32/etw/configuring-and-starting-an-autologger-session\n    - https://thedfirreport.com/2021/10/18/icedid-to-xinglocker-ransomware-in-24-hours/\n    - https://blog.malwarebytes.com/malwarebytes-news/2021/02/lazyscripter-from-empire-to-double-rat/\n    - https://www.binarly.io/blog/design-issues-of-modern-edrs-bypassing-etw-based-solutions\nauthor: Matt Anderson (Huntress)\ndate: 2025-07-09\ntags:\n    - attack.defense-impairment\n    - attack.t1685\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\reg.exe'\n        - OriginalFileName: 'reg.exe'\n    selection_reg_path:\n        CommandLine|contains:\n            - '\\Control\\WMI\\Autologger\\DefenderApiLogger\\Start'\n            - '\\Control\\WMI\\Autologger\\DefenderAuditLogger\\Start'\n    selection_reg_add:\n        CommandLine|contains|all:\n            - 'add'\n            - '0'\n    filter_main_enable:\n        CommandLine|contains: '0x00000001'\n    condition: all of selection_* and not 1 of filter_main_*\nfalsepositives:\n    - Highly unlikely\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1685","id":"T1685","name":"Disable or Modify Tools","page":"techniques/enterprise/T1685/"}],"data_path":"data/detection-rules/a1b2c3d4-e5f6-a7b8-c9d0-e1f2a3b4c5d6.json","kind":"sigma"}
