Inside Kerberos #1 — Domain logon: what happens after you enter your password?

2026-12-05 · 2 min

From the sign-in screen to the TGT

On a domain-joined Windows workstation, the credential provider collects the user’s credentials and the Local Security Authority (LSA) establishes a logon session. DC Locator uses DNS and domain discovery to locate a domain controller (DC). The Key Distribution Center (KDC) can first return KDC_ERR_PREAUTH_REQUIRED with encryption parameters and salt. In conventional password-based Kerberos, the client derives the user’s long-term key and protects a timestamp (PA-ENC-TIMESTAMP). The DC already has the corresponding key from password provisioning. It verifies integrity, time and account restrictions; the password itself is not sent in this Kerberos exchange.

Domain logon sequence

The AS-REP contains a ticket-granting ticket (TGT), whose encrypted part is protected by the krbtgt key, and a separate protected response containing the client–TGS session key. The client can recover the session key, not decrypt the ticket. Windows establishes its local security token and checks local logon rights. Authentication is not authorization.

Lab

Run as an ordinary domain user:

1
2
3
4
5
6
7
whoami /user
whoami /groups
nltest /dsgetdc:firma.pl
Resolve-DnsName -Type SRV _kerberos._tcp.firma.pl
klist tgt
klist
w32tm /query /status

On the DC, audit events 4768 and 4771 show TGT requests and pre-authentication failures when auditing is enabled. Offline cached logon, Windows Hello, smart cards and FAST differ from this simplified password scenario. A missing event does not prove a missing TGT.

Next episode

Full lab guide and scripts. Expected results only; lab execution pending.

RFC 4120 · RFC 3962


Tags: Kerberos , Active Directory , SQL Server 2022

Marcin Pytlik
LinkedIn · GitHub

Marcin Pytlik

LinkedIn · GitHub