Kerberos Authentication
Cheat sheet · https://pcornel.dk/topic.php?topic=3277
Answer
Kerberos authentication in AD: the client gets a TGT from the KDC at logon, then requests a service ticket for each server's SPN and presents it to the server, which validates it without contacting the DC.
Remember
- The client first gets a TGT, then a service ticket per service.
- Services are found by their SPN.
- All parties need synchronized clocks.
First checks
klist— Kerberos tickets in the sessionklist purge— clear ticketssetspn -Q <spn>— find which account has an SPNnltest /dsgetdc:<domain> /kdc— find a KDCGet-WinEvent -FilterHashtable @{LogName='Security';Id=4768,4769,4771}— KDC events on DCs
Verify in this order
AS-REQ/REP → TGS-REQ/REP → AP-REQ
Where it usually breaks
First mismatch in forest/domain/object identity → authoritative DC/source policy → replication/KDC/GP processing → client token/effective policy → target resource → event/audit verification; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3277