Lion Cipher Lab

AS-REP roast the accounts that skipped Kerberos pre-auth — and crack the tickets in your own AD lab

Why it matters

AS-REP Roasting is one of the quietest ways an attacker turns a list of usernames into a cracked domain password, and it is dangerous precisely because it can happen BEFORE the attacker has any credentials at all. Kerberos normally makes you prove you know your password up front: when you start to authenticate, your client encrypts a current timestamp with a key derived from your password and sends it in the first request (the AS-REQ). That step is called PRE-AUTHENTICATION, and it is on by default. But Active Directory has a per-account flag, 'Do not require Kerberos pre-authentication,'…

What you'll learn

Steps in this lab

  1. First: this is your lab, and AS-REP roasting is a real domain attack
  2. The words you need: pre-authentication, AS-REQ, AS-REP and the DONT_REQ_PREAUTH flag
  3. Why this needs no password but DOES need usernames — and how it differs from Kerberoasting
  4. Set up the target: a user with pre-auth DISABLED and a DELIBERATELY weak password
  5. Get usernames first — the enumeration AS-REP roasting depends on
  6. Request and export the AS-REPs with impacket GetNPUsers.py
  7. Crack it offline with hashcat -m 18200 — and measure how fast weak falls
  8. Fix and re-measure: RE-ENABLE pre-auth (the real off switch), strong password, AES, watch 4768/4769
  9. The honest positive, when to reach for it, and how a pro does it better

Open the full interactive lab →