Lion Cipher Lab

Detect AS-REP roasting from Kerberos Event 4768 (and find the accounts that invite it)

Why it matters

Kerberos protects a password with a step called pre-authentication: before the domain controller hands out a ticket-granting ticket, the user has to prove they know the password. Some accounts get that step switched off, usually years ago, for one old Linux appliance or vendor product that could not cope with it. For those accounts, anyone on the network can ask the domain controller for a reply encrypted with the account's password-derived key, carry it home, and guess passwords against it offline at full speed, with no lockout and no further noise. That is AS-REP roasting, MITRE ATT&CK…

What you'll learn

Steps in this lab

  1. What AS-REP roasting is, in plain words
  2. The event that carries the signal: 4768, read field by field
  3. Build the synthetic 4768 fixture
  4. Why the obvious rules disappoint (the judgement)
  5. Write four rules and score them
  6. Read the results like an analyst, not a scoreboard
  7. Make it portable: the tuned rule as Sigma, and the real-DC query
  8. The real fix: find every account that invites the attack
  9. Honest limits of the tuned rule
  10. Where this goes next

Open the full interactive lab →