Lion Cipher Lab

Detect Microsoft Defender tampering from its own Operational log (5001, 5007, 5013)

Why it matters

Before an intruder runs their real tool on a Windows machine, they very often try to blind the antivirus first: turn off real-time protection, or quietly tell Microsoft Defender to stop scanning a folder, then drop their payload into that folder. MITRE ATT&CK tracks this as T1685, Disable or Modify Tools (numbered T1562.001 under Impair Defenses until ATT&CK v19 revoked that family and renumbered it). The good news is that Defender writes these changes into its own event log. The bad news is that the same log is full of harmless configuration churn, so the obvious rule — alert on every…

What you'll learn

Steps in this lab

  1. What tampering with an antivirus looks like, and why attackers bother
  2. Meet the Defender Operational log and the event IDs that matter
  3. Why 'alert on every 5007' fails (the judgement)
  4. Build the synthetic week of events
  5. Write three rules and score them
  6. Read the progression like an analyst, not a scoreboard
  7. The miss, and what fixing it costs
  8. The honest limits of reading the AV's own log
  9. Prevention first: Tamper Protection, and how to check it
  10. Optional: read your own Defender log (read-only)
  11. Where this goes next

Open the full interactive lab →