Lion Cipher Lab

Find (and fix) privilege-escalation paths on your own Windows lab

Why it matters

Attackers rarely land on Windows as an administrator. They get in as some ordinary account — a compromised login, a service account, a user who clicked the wrong thing — and then hunt for a misconfiguration that lets them climb to Administrator or SYSTEM, the all-powerful built-in account that owns the whole machine. That climb is privilege escalation, and on Windows it almost always abuses something an admin left wrong: a service whose program path isn't quoted, a service whose permissions let ordinary users rewrite it, an installer policy that hands out SYSTEM, or a password sitting in a…

What you'll learn

Steps in this lab

  1. The one rule, and what Windows privilege escalation is
  2. Open PowerShell as your normal user
  3. Look for unquoted service paths
  4. Look for weak service permissions (service ACLs)
  5. Check AlwaysInstallElevated
  6. Look for stored credentials
  7. Enumerate systematically with WinPEAS
  8. Fix what you found
  9. Why hunting your own box is the point

Open the full interactive lab →