Lion Cipher Lab

Audit Active Directory passwords with DSInternals before an attacker cracks them

Why it matters

When an attacker gets a foothold in an Active Directory, the prize they go for is the credential store. Every account's password in AD is kept as an NTLM HASH — a fixed-length fingerprint of the password produced by an unsalted MD4 over the (UTF-16) password. 'Unsalted' is the part that hurts: two accounts with the same password produce the exact same hash, and the hash never changes until the password does. Those hashes live in a single database file on every domain controller called NTDS.dit, and there are two well-worn ways an attacker lifts them — DCSync, where they abuse the directory…

What you'll learn

Steps in this lab

  1. The pieces: NTLM hashes, NTDS.dit, DCSync, and why the defender reads them first
  2. Install DSInternals, and understand exactly what it reads
  3. Seed the problems on purpose — so the BEFORE report has something to find
  4. Build a tiny offline breach list — free, and no tens of GB
  5. Pull the hashes and run the BEFORE audit
  6. Remediate, then run the AFTER audit — the measurement
  7. Do it better — when to run this, why duplicates are an emergency, and the honest limits

Open the full interactive lab →