Lion Cipher Lab

Detect malicious Group Policy changes from directory service events (5136 + SYSVOL writes)

Why it matters

Group Policy is how a Windows domain tells every computer what to do: which settings to apply, which scripts to run at startup, which scheduled tasks to create, who may log on. That makes it the most efficient delivery system an intruder can capture. One edit to a policy linked to the Workstations OU, and a scheduled task runs on twelve hundred machines within the next refresh, signed off by the domain itself. MITRE ATT&CK tracks this as T1484.001, Group Policy Modification, and ransomware crews have used it to deploy encryptors domain-wide. The domain controller does record these edits, but…

What you'll learn

Steps in this lab

  1. Why a Group Policy edit is an intruder's best delivery system
  2. A GPO lives in two places -- the directory object and the SYSVOL folder
  3. What a policy edit actually writes
  4. The two events that carry the evidence: 5136 and 5145
  5. Generate two weeks of invented domain-controller telemetry
  6. Decode what each change did to the directory object
  7. The judgement: why 'alert on every GPO change' fails, and what context fixes it
  8. Group events into changes and score three rules
  9. Read the false positive and the miss like an analyst
  10. Honest limits -- what this telemetry cannot see
  11. Optional: look at the real thing on a lab domain controller you own
  12. Prevention, and where to take this next

Open the full interactive lab →