Reference documentation on Kerberos in Active Directory: protocol internals, encryption type negotiation, RC4 deprecation hardening, and attack techniques with detection guidance.
How Kerberos works in Active Directory, how to harden it, and how it gets attacked.
Protocol • Security • Attacks • Documentation
A reference for Kerberos in Active Directory, written for administrators, defenders, and penetration testers. It starts from first principles, cites RFC 4120 and MS-KILE down to the section, and backs the encryption type and registry guidance with lab results from Server 2022 and Server 2025 domain controllers.
RC4 is no longer a Kerberos default. A domain controller with the April 2026 cumulative update or later treats any account without an explicit msDS-SupportedEncryptionTypes as AES-only (CVE-2026-20833, KB5073381). Each DC follows its installed update, not the calendar. Per Microsoft, updates from July 2026 onward also remove the RC4DefaultDisablementPhase rollback value; the lab results here cover builds up to June 2026.
How Kerberos works on the wire in Active Directory: the exchanges, ticket structures, and key derivation.
| Page | What it covers |
|---|---|
| Active Directory components | DCs, KDCs, the Global Catalog, and how AD maps to Kerberos concepts |
| Principals and realms | UPNs, SPNs, realm trust, and principal naming |
| Protocol overview | The three-party model and the full AS/TGS/AP exchange sequence |
| AS exchange | TGT acquisition, pre-authentication, PA-ETYPE-INFO2, and the krbtgt key |
| TGS exchange | Service ticket issuance, etype selection, and the KDC's decision logic |
| AP exchange | Authenticator construction, mutual authentication, and session key establishment |
| Ticket structure | Wire format, PAC contents, PAC signatures, and the impact of KB5008380 |
| Pre-authentication | PA-DATA types, FAST armoring, and what happens when pre-auth is disabled |
| Encryption types | DES, RC4, AES128, AES256: key derivation, usage, and negotiation rules |
| S4U extensions | S4U2Self, S4U2Proxy, the FORWARDABLE flag, and RBCD vs constrained delegation |
| Cross-realm auth | Inter-forest referrals, trust keys, and cross-realm ticket flow |
| Delegation | Unconstrained, constrained, and resource-based constrained delegation |
How the KDC picks an encryption type, what each setting does, and how to run a domain where RC4 is opt-in only: audit, configure, migrate, and keep exceptions small.
| Page | What it covers |
|---|---|
| Encryption negotiation | How KDC, client, and service account flags combine to select an etype |
| Etype decision guide | Every input that decides which etype appears in a ticket |
| Algorithms and keys | DES, RC4, and AES key derivation, cracking speed compared, and the double-reset problem |
| Page | What it covers |
|---|---|
| msDS-SupportedEncryptionTypes | Bit flags, defaults per account type, bulk queries, and bulk update scripts |
| Registry settings | Every Kerberos-relevant registry value on DCs and clients, with safe defaults |
| Registry audit | Lab-validated registry reference with the observed behavior of each key |
| Group Policy | GPO settings that affect Kerberos, override precedence, and gotchas |
| Page | What it covers |
|---|---|
| RC4 enforcement: am I affected? | Symptom-to-fix runbook for KDC_ERR_ETYPE_NOSUPP and Kdcsvc 203/204/208/209 |
| RC4 deprecation | CVE-2026-20833: what shipped, Kdcsvc events 201-209, and how to scope RC4 exceptions |
| Auditing Kerberos keys | Finding accounts with weak or missing AES keys |
| AES standardization guide | AES migration playbook: two paths, every command, every verification step |
| Mitigations | Defenses ranked by impact, from gMSA deployment to KRBTGT rotation |
| Page | What it covers |
|---|---|
| Quick start guide | 5-minute encryption type overview with diagrams |
| Troubleshooting | Common Kerberos errors, event IDs, and diagnostic procedures |
| Tool | What it does |
|---|---|
| Encryption type calculator | Computes the winning etype for any combination of account flags and registry settings |
| Event decoder | Decodes Kerberos events 4768, 4769, 4770, and 4771 into readable output |
Get-KdcKerberosRegistryAudit.ps1 | Read-only PowerShell audit of the Kerberos registry values on every domain controller (usage) |
Each major Kerberos attack, with why it works at the protocol level, how to defend against it, and how to detect it. Tool installation is on the Tools setup page.