Active Directory and Kerberos Integration
Understand how Microsoft Active Directory implements Kerberos and manages the Key Distribution Center.
Active Directory and Kerberos Integration is a free Cryptology Academy lesson on CoddyKit — lesson 2 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Cryptology Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Active Directory as KDC
Microsoft Active Directory implements Kerberos 5 as its primary authentication protocol. Each Windows domain controller runs the KDC service, which includes both the Authentication Service and Ticket Granting Service. The domain name maps directly to the Kerberos realm name, and domain accounts correspond to Kerberos principals.
Domain Controller KDC Role
In an Active Directory domain, every domain controller can serve as a KDC, with replication ensuring consistent principal information across all DCs. The krbtgt account, whose password hash is the master secret for TGT encryption, exists in every domain. Its security is critical: compromise allows forging TGTs for any principal.
User Account Long-Term Keys
When a user sets their Active Directory password, Windows derives a Kerberos long-term key from the password using a key derivation function. This key is stored in the AD database alongside the NTLM hash. During Kerberos pre-authentication, the client demonstrates knowledge of this key without transmitting it.
NTLM as Legacy Fallback
NTLM (NT LAN Manager) is the legacy authentication protocol in Windows environments. Windows falls back to NTLM when Kerberos is not available, such as when accessing a resource by IP address instead of hostname, when the target is not domain-joined, or when a service principal name (SPN) is not registered correctly.
Service Principal Names
Service Principal Names (SPNs) are unique identifiers for service instances in Active Directory. Format: ServiceClass/FQDN:Port. For example, HTTP/webserver.corp.example.com:443. Kerberos uses the SPN to look up the correct service account key to encrypt the service ticket. Misconfigured or missing SPNs cause Kerberos to fall back to NTLM.
Windows SPNEGO Negotiation
Windows uses SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) to negotiate between Kerberos and NTLM transparently. When a client connects to an IIS server, the server advertises SPNEGO support, the client attempts Kerberos first, and falls back to NTLM if Kerberos fails. This negotiation is invisible to users.
Group Policy and Kerberos Settings
Kerberos behavior in Active Directory is configured via Group Policy in the Default Domain Policy. Settings include maximum ticket lifetime (default 10 hours), maximum TGT lifetime (default 7 days), maximum clock skew (default 5 minutes), and enforcement of pre-authentication. These settings apply domain-wide to all accounts.
Smart Card Logon with PKINIT
PKINIT (Public Key Cryptography for Initial Authentication) is a Kerberos extension that allows using X.509 certificates (stored on smart cards or virtual smart cards) for AS-REQ pre-authentication instead of a password-derived key. The private key signs the AS-REQ, enabling hardware-backed passwordless Kerberos authentication.
MS-KKDCP Kerberos Proxy
MS-KKDCP (Microsoft Kerberos KDC Proxy Protocol) allows Kerberos authentication traffic to be tunneled over HTTPS, enabling domain-joined devices outside the corporate network to authenticate via Kerberos without a direct VPN connection to a domain controller. This is used in DirectAccess and some Azure AD scenarios.
Azure AD and Hybrid Kerberos
Azure AD does not natively run Kerberos, but Azure AD Kerberos enables cloud-managed users to obtain Kerberos tickets for on-premises resources. Azure AD Connect Cloud Sync and Azure AD Kerberos service bridge the gap, allowing cloud-first organizations to maintain access to on-premises Kerberos-protected resources.
Kerberos Armoring
Kerberos armoring (FAST - Flexible Authentication Secure Tunneling) protects the pre-authentication exchange by tunneling it inside a TGT from a trusted machine account. This prevents offline dictionary attacks against the AS-REQ data, which is particularly important for accounts without pre-authentication requirements.
Active Directory KDC Check
In Active Directory, what does the krbtgt account represent and why is its security critical?
Lesson Recap: AD and Kerberos
Active Directory implements Kerberos 5 on domain controllers. User passwords derive Kerberos long-term keys stored in AD. SPNs map services to accounts for ticket encryption. NTLM is the fallback when Kerberos fails. PKINIT enables smart card authentication. The krbtgt account is the domain's root of trust: its compromise enables Golden Ticket forgery.
Frequently asked questions
Is the “Active Directory and Kerberos Integration” lesson free?
Yes — the full text of “Active Directory and Kerberos Integration” is free to read here on the web, and the Cryptology Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Cryptology Academy course, upgrade to CoddyKit PRO.
What will I learn in “Active Directory and Kerberos Integration”?
Understand how Microsoft Active Directory implements Kerberos and manages the Key Distribution Center. You practise Cryptology Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Cryptology Academy?
No prior experience is required. Cryptology Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 2 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Active Directory and Kerberos Integration” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Cryptology Academy lesson?
Yes. Every Cryptology Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Kerberos Architecture and Ticket Flow
- Active Directory and Kerberos Integration
- Kerberos Attack Techniques: Kerberoasting and Golden Ticket
- Modern Identity: SAML, OIDC, and Hybrid Approaches