Sigma rule: Windows Defender Configuration Changes
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-d66d8bd37b2e, updated 2023-11-24T00:00:00.000Z.
Rule
- Title
- Windows Defender Configuration Changes
- Status
- stable
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-12-06
- Modified
- 2023-11-24
- File
- rules/windows/builtin/windefend/win_defender_suspicious_features_tampering.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects suspicious changes to the Windows Defender configuration
Log source
- product
- windows
- service
- windefend
Detection
selection:
EventID: 5007 # The antimalware platform configuration changed.
NewValue|contains:
# TODO: Add more suspicious values
- '\Windows Defender\DisableAntiSpyware '
# - '\Windows Defender\Features\TamperProtection ' # Might produce FP
- '\Windows Defender\Scan\DisableRemovableDriveScanning '
- '\Windows Defender\Scan\DisableScanningMappedNetworkDrivesForFullScan '
- '\Windows Defender\SpyNet\DisableBlockAtFirstSeen '
- '\Real-Time Protection\SpyNetReporting '
# Exclusions changes are covered in 1321dc4e-a1fe-481d-a016-52c45f0c8b4f
# Exploit guard changes are covered in a3ab73f1-bd46-4319-8f06-4b20d0617886
condition: selectionFalse positives (as the rule lists them)
- Administrator activity (must be investigated)
Tags
- attack.defense-impairment
- attack.t1685
MITRE ATT&CK ids this rule names
Related rules
- 1321dc4e-a1fe-481d-a016-52c45f0c8b4f (similar)
- a3ab73f1-bd46-4319-8f06-4b20d0617886 (similar)
- 91903aba-1088-42ee-b680-d6d94fe002b0 (similar)
References
- https://learn.microsoft.com/en-us/defender-endpoint/troubleshoot-microsoft-defender-antivirus?view=o365-worldwide
- https://bidouillesecurity.com/disable-windows-defender-in-powershell/#DisableAntiSpyware
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/windefend/win_defender_suspicious_features_tampering.yml
Sources and licences
SigmaHQ
"Windows Defender Configuration Changes" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/windefend/win_defender_suspicious_features_tampering.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Windows Defender Configuration Changes",
entity page, dataset version ref-d66d8bd37b2e, updated 2023-11-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/801bd44f-ceed-4eb6-887c-11544633c0aa (accessed 2026-11-03).
Underlying source: SigmaHQ rule 801bd44f-ceed-4eb6-887c-11544633c0aa, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.