Lion Cipher Lab

Audit AD CS templates, CA flags and CA permissions in your lab, then fix them and re-test

Why it matters

Certificates can prove identity in a domain. A CA or template that is too generous lets a low-privileged account obtain a certificate that proves it is someone much more powerful. These weaknesses live in configuration, not in code, so a configuration audit finds them. A defender who can run this audit before anyone else does has closed one of the most common privilege-escalation routes in directory environments.

What you'll learn

Steps in this lab

  1. The rule, and the one Certipy command we use
  2. What AD CS is, and what a template controls
  3. Make sure there is a CA to audit, with some deliberate mess
  4. Run the read-only audit
  5. Read each finding: where, why, how bad
  6. Confirm the CA flag by hand
  7. Fix each finding
  8. Re-test and the defender's view

Open the full interactive lab →

Keep learning