5001 Defender log · Configuration Change high severity very-low volume

Defender Event ID 5001 — Microsoft Defender real-time protection disabled

Real-time protection configuration for Microsoft Defender Antivirus was changed or disabled.

Why event 5001 matters

A classic pre-attack blinding step. Adversaries run Set-MpPreference -DisableRealtimeMonitoring $true, tamper with registry keys under Policies\Microsoft\Windows Defender, or stop the service. Any real-time protection disable outside a controlled maintenance window is high signal.

How to detect it

Alert on every real-time protection disable. Correlate with 4688 (Set-MpPreference / powershell), 4657 registry changes under Windows Defender keys, and 7036/7040 service state changes for WinDefend. Allow-list approved maintenance jobs only.

Log source
Microsoft-Windows-Windows Defender/Operational
On by default where Microsoft Defender Antivirus is active; ensure the Operational channel is collected.
Fields to pivot on
FeatureNew ValueOld Value

MITRE ATT&CK mapping

Tactic Technique
Defense Evasion Disable or Modify Tools (T1562.001)

Detection queries

Starting points — adapt the log source, projected fields and thresholds for your environment.

Sigma rule
title: Defender Real-Time Protection Disabled
status: experimental
logsource:
  product: windows
  service: windefend
detection:
  sel:
    EventID: 5001
  condition: sel
level: high
Sentinel / Defender KQL
Event
| where EventLog == "Microsoft-Windows-Windows Defender/Operational" and EventID == 5001   // Microsoft Defender real-time protection disabled
// EventData holds: Feature, New Value, Old Value
| project TimeGenerated, Computer, RenderedDescription
| sort by TimeGenerated desc
Splunk SPL
index=* sourcetype="WinEventLog:Microsoft-Windows-Windows Defender/Operational" EventCode=5001
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count   `# Microsoft Defender real-time protection disabled — add EventData fields: Feature, New Value, Old Value`
Hunt event 5001 in Sentinel/Defender →
Build a KQL query for this event in the KQL Query Builder.
Search all event IDs →
Open the interactive Windows Event ID lookup.

References

Related Configuration Change events

5007 Microsoft Defender configuration changed

Frequently asked questions

What is Defender Event ID 5001?

Microsoft Defender real-time protection disabled. Real-time protection configuration for Microsoft Defender Antivirus was changed or disabled.

Which log records event 5001?

Event 5001 is written to the Microsoft-Windows-Windows Defender/Operational channel by Microsoft-Windows-Windows Defender. On by default where Microsoft Defender Antivirus is active; ensure the Operational channel is collected.

What MITRE ATT&CK techniques map to event 5001?

Event 5001 is associated with: Disable or Modify Tools (T1562.001).

How do you detect activity around event 5001?

Alert on every real-time protection disable. Correlate with 4688 (Set-MpPreference / powershell), 4657 registry changes under Windows Defender keys, and 7036/7040 service state changes for WinDefend. Allow-list approved maintenance jobs only.