Lion Cipher Lab

Find legacy Group Policy passwords in SYSVOL, then remove them and rotate

Why it matters

Years ago administrators used Group Policy Preferences to push a local administrator password to every computer. Microsoft later removed the ability to save passwords this way because they were stored insecurely, but policies created before that change can still be sitting in SYSVOL, readable by every account in the domain. This is one of the cheapest, most valuable checks in any directory review: it takes minutes, and a hit means a real credential needs rotating.

What you'll learn

Steps in this lab

  1. The rule, and the one thing this lab will not do
  2. What the weakness is, from the source
  3. Plant a harmless decoy policy in your lab
  4. Search SYSVOL for the attribute with PowerShell
  5. Run Microsoft's own detection script
  6. Rate the finding
  7. Fix it: remove the preference, rotate the credential
  8. Re-test, then the defender's view

Open the full interactive lab →

Keep learning