Sigma rule: Microsoft Defender Tamper Protection Trigger
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-fd88a9b300b7, updated 2022-12-06T00:00:00.000Z.
Rule
- Title
- Microsoft Defender Tamper Protection Trigger
- Status
- stable
- Level
- high
- Author
- Bhabesh Raj, Nasreddine Bencherchali
- Date
- 2021-07-05
- Modified
- 2022-12-06
- File
- rules/windows/builtin/windefend/win_defender_tamper_protection_trigger.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects blocked attempts to change any of Defender's settings such as "Real Time Monitoring" and "Behavior Monitoring"
Log source
- product
- windows
- service
- windefend
Detection
selection:
EventID: 5013 # Tamper protection blocked a change to Microsoft Defender Antivirus. If Tamper protection is enabled then, any attempt to change any of Defender's settings is blocked. Event ID 5013 is generated and states which setting change was blocked.
Value|endswith:
- '\Windows Defender\DisableAntiSpyware'
- '\Windows Defender\DisableAntiVirus'
- '\Windows Defender\Scan\DisableArchiveScanning'
- '\Windows Defender\Scan\DisableScanningNetworkFiles'
- '\Real-Time Protection\DisableRealtimeMonitoring'
- '\Real-Time Protection\DisableBehaviorMonitoring'
- '\Real-Time Protection\DisableIOAVProtection'
- '\Real-Time Protection\DisableScriptScanning'
condition: selectionFalse positives (as the rule lists them)
- Administrator might try to disable defender features during testing (must be investigated)
Tags
- attack.defense-impairment
- attack.t1685
MITRE ATT&CK ids this rule names
References
- https://bhabeshraj.com/post/tampering-with-microsoft-defenders-tamper-protection
- https://learn.microsoft.com/en-us/defender-endpoint/troubleshoot-microsoft-defender-antivirus?view=o365-worldwide
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_tamper_protection_trigger.yml
Sources and licences
SigmaHQ
"Microsoft Defender Tamper Protection Trigger" by Bhabesh Raj, Nasreddine Bencherchali (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/windefend/win_defender_tamper_protection_trigger.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: Microsoft Defender Tamper Protection Trigger",
entity page, dataset version ref-fd88a9b300b7, updated 2022-12-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/49e5bc24-8b86-49f1-b743-535f332c2856 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 49e5bc24-8b86-49f1-b743-535f332c2856, 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.