Detectionmediumtest
Suspicious Windows Defender Folder Exclusion Added Via Reg.EXE
Detects the usage of "reg.exe" to add Defender folder exclusions. Qbot has been seen using this technique to add exclusions for folders within AppData and ProgramData.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
Image|endswith: '\reg.exe'
CommandLine|contains:
- 'SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths'
- 'SOFTWARE\Microsoft\Microsoft Antimalware\Exclusions\Paths'
CommandLine|contains|all:
- 'ADD '
- '/t '
- 'REG_DWORD '
- '/v '
- '/d '
- '0'
condition: selectionFalse Positives
Legitimate use
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
48917adc-a28e-4f5d-b729-11e75da8941f
Status
test
Level
medium
Type
Detection
Created
Sun Feb 13
Modified
Sat Feb 04
Author
Path
rules/windows/process_creation/proc_creation_win_reg_defender_exclusion.yml
Raw Tags
attack.defense-evasionattack.t1562.001