Internal Network & Active Directory · intermediate · ~12 min
Explain how AD authenticates and where each protocol is abused.
AD uses NTLM (challenge-response over password hashes → pass-the-hash, relay) and Kerberos (DC issues TGT then service tickets, encrypted with password-derived keys → Kerberoasting, AS-REP roasting, pass/forge-the-ticket). Attacks abuse that secrets are password-derived, not the crypto itself.
Nearly every marquee AD attack (pass-the-hash, Kerberoasting, AS-REP roasting, Golden Ticket) follows from how NTLM and Kerberos use password-derived secrets. Understanding the flows is what makes those attacks make sense.
NTLM. Hash = credential → pass-the-hash; relay. Kerberos. KDC issues TGT → TGS; tickets keyed by passwords. Kerberoasting. Crack service-ticket encryption offline. AS-REP roasting. No-preauth accounts leak crackable data. Golden Ticket. Forged with krbtgt key.
AD authentication uses two protocols, and most AD attacks abuse how they work.
The client proves it knows the password's hash via a challenge-response — without sending the password. Consequences:
Instead of sending credentials to each service, the client gets tickets from the DC's Key Distribution Center (KDC):
krbtgt key = domain god-mode).You rarely "break" the crypto — you abuse that password-derived secrets back the tickets/hashes, so weak service-account passwords and exposed hashes/tickets become domain compromise.
AD authentication via NTLM (hash-based) and Kerberos (ticket-based) is abused not by breaking crypto but because hashes and tickets derive from passwords — enabling pass-the-hash, Kerberoasting, AS-REP roasting, and ticket forgery.