Kerberos, from the ground up
Foundations, the protocol, and roasting attacks
Start here
- Part 1 (this page): Foundations and roasting. What Kerberos is, every message in the exchange, keys and encryption types, Service Principal Names (SPNs) and service accounts, the 2026 Rivest Cipher 4 (RC4) changes, and the attacks that fall straight out of the protocol: user enumeration, password spraying, Authentication Service Reply (AS-REP) roasting, Kerberoasting, and targeted Kerberoasting.
- Part 2: Ticket theft and forgery. Tickets as bearer tokens: pass-the-ticket, overpass-the-hash, golden, silver, diamond and sapphire tickets, krbtgt rotation, and Privilege Attribute Certificate (PAC) validation hardening.
- Part 3: Delegation and trust. Unconstrained, constrained and resource-based constrained delegation, the Service for User (S4U) extensions, cross-domain referrals and trusts, Protected Users, and Kerberos armoring.
Highlight key
- the term being defined
- Key term: bold with a highlighter swash. A concept's defining phrase.
- how something works
- Mechanism: wavy underline. How a piece works or relates to another.
- Risk: what makes an attack possible
- Risk: warm highlight with a dashed edge. Attack prerequisites and dangerous conditions.
- Fix: the mitigation to apply
- Fix: solid green underline. A mitigation or configuration change.
- Verify: how to confirm it worked
- Verify: green underline with a check. How to prove a fix works.
- only if, by default
- Qualifier: bold italic. A word that changes the claim.
4769- Technical literal: monospace chip. Commands, settings, event IDs, exactly as typed.
Plain English first
When you log in to a Windows network in the morning, you type your password once. After that you open file shares, intranet sites and databases all day without typing it again. Kerberos is the system that makes that work.
It works by handing out tickets. You prove who you are once to a trusted server, the Key Distribution Center (KDC), which runs on every Domain Controller (DC). It gives you a master ticket, the Ticket Granting Ticket (TGT). Whenever you want to use a specific service, you show the TGT to the KDC and get a ticket just for that service. You then present that service ticket to the service. Your password never travels across the network.
The catch: every ticket is locked with a key made from someone's password. The TGT is locked with a key only the KDC knows. A service ticket is locked with the key of whatever account runs that service.
The analogy: a theme park wristband
At the front gate you show photo ID once. The gate gives you a wristband (the TGT) that is valid for the day. At each ride you don't show ID again; you go to a ticket booth, show the wristband, and get a ride ticket printed for that specific ride (the service ticket). The ride operator checks the ticket and lets you on.
Where the analogy earns its keep: each ride ticket is sealed in an envelope that only that ride's operator can open, using a combination lock. The booth Risk: hands out sealed envelopes to anyone with a wristband, for any ride, no questions asked. If a ride operator set their combination to 1-2-3-4, a visitor can take the envelope home and try combinations all night. Nobody at the park ever sees them try. That is Kerberoasting.
Why it matters now
Any ordinary domain account, such as one stolen through phishing, can Risk: request service tickets and crack service account passwords offline. Service accounts are often old, rarely rotated, and over-privileged. This is one of the most dependable ways testers and real intruders move from "one user" to "domain admin."
2026 changed the defaults. Microsoft's January to July 2026 updates moved DCs to Fix: AES-only tickets for accounts without explicit settings, under Common Vulnerabilities and Exposures (CVE) entry CVE-2026-20833. That makes cracking much slower, but it does not fix weak passwords, and explicit RC4 exceptions remain. Clients are asking "are we covered now?" and you need a precise answer.
If you remember only 5 things
- Tickets, not passwords, cross the network. But every ticket is encrypted with a key derived from some account's password, so Risk: tickets carry crackable material.
- Any authenticated user can get a service ticket for any SPN. The KDC does not check whether you may use the service. That design choice is what makes Kerberoasting possible.
- Risk equals crackability times privilege. A Risk: weak, human-set password on an account that is a Domain Admin is critical. A random 120-character computer account password is not a realistic target.
- AES-only is not the fix by itself. It slows cracking by orders of magnitude, but a password like "Summer2024!" still falls. Accounts still explicitly allowed RC4 remain fast targets.
- Detect on DCs, fix at the account. Verify: Watch events 4768, 4769 and 4771 plus honey SPNs. Fix: Fix with group Managed Service Account (gMSA) or long random passwords, Advanced Encryption Standard (AES), pre-auth on, and least privilege.
Core concepts
Thirteen ideas, each building on the one before. Open "Go deeper" for the expert-level detail.
01Authentication is not authorizationKerberos proves who you are; each service decides what you may do.
Authentication answers "are you really Jane?" Authorization answers "is Jane allowed to open this folder?" Kerberos does the first job and carries the information the second job needs, but it doesn't make the access decision.
The Key Distribution Center (KDC) will happily Risk: give any employee a ticket for the payroll database. The database still checks group membership before showing data.
TechnicalGo deeper
The KDC copies authorization data (the Privilege Attribute Certificate (PAC): user Security Identifier (SID), group SIDs, claims) into tickets. The receiving service builds a Windows access token from the PAC and checks resource Access Control Lists (ACLs) against it. Because Risk: issuance is not gated on access, "who can request a ticket for X" is always "everyone authenticated." That's the root of Kerberoasting. Windows does offer ways to restrict ticket issuance (authentication policies and silos), but they're opt-in and uncommon.
02Principals and realmsA principal is any identity Kerberos knows; a realm is the administrative domain it belongs to.
Users, computers and services are all "principals." Each has a name and lives in a realm. In Active Directory (AD), the realm is simply the domain name in capital letters.
jdoe@CORP.EXAMPLE.COM is a user principal. MSSQLSvc/sql01.corp.example.com:1433 is a service principal name that belongs to some account in that realm.
TechnicalGo deeper
Name types matter on the wire: NT-PRINCIPAL for users, NT-SRV-INST for services, NT-ENTERPRISE for UPN-style names. Realm comparison is case-sensitive in the Request for Comments (RFC), and AD normalizes to uppercase. Computer accounts are principals too (WS01$) and automatically own HOST/ Service Principal Names (SPNs), which cover many service classes such as cifs and http by alias mapping (sPNMappings).
03Long-term keys come from passwordsEvery principal has secret keys derived from its password, and the Key Distribution Center (KDC) stores a copy.
Kerberos never sends your password. It turns the password into a key, a fixed-size secret, and uses that key to encrypt and decrypt messages. The KDC has a copy of every account's key, so it can talk securely to anyone.
If Jane's password is "Spring2026!", her Rivest Cipher 4 (RC4) key is the New Technology (NT) hash of that string, and her Advanced Encryption Standard (AES) keys come from running it through Password-Based Key Derivation Function 2 (PBKDF2) with a salt.
TechnicalGo deeper
Windows generates one key per supported etype at password set: RC4 (NT hash, Message Digest 4 (MD4) of UTF-16LE), 128-bit Advanced Encryption Standard (AES128) and 256-bit Advanced Encryption Standard (AES256) (PBKDF2-HMAC-SHA1, 4,096 iterations, salt = uppercase realm plus case-sensitive principal name for users). No salt for RC4 means Risk: identical passwords give identical keys across accounts and domains. Accounts whose passwords predate 2008 Domain Functional Level (DFL) have no AES keys. Keys are stored in the supplementalCredentials attribute and are replicated between Domain Controllers (DCs); DCSync abuses that replication (Part 2).
04The Key Distribution Center (KDC), its two services, and krbtgtThe KDC contains the Authentication Service (AS) and the Ticket Granting Service (TGS), and signs everything with the krbtgt account's key.
Think of the KDC as one building with two windows. The first window (AS) checks your identity and gives you a day pass. The second window (TGS) swaps the day pass for tickets to specific services. The building's master stamp is the krbtgt account's key.
On a Windows network, every Domain Controller (DC) runs the KDC on port 88. There is one krbtgt account per domain.
TechnicalGo deeper
On Windows the AS and TGS are one service inside Local Security Authority Subsystem Service (LSASS). krbtgt is a disabled user account whose keys encrypt Ticket Granting Tickets (TGTs) and produce the KDC signatures in Privilege Attribute Certificates (PACs). Risk: Whoever has krbtgt's key can mint TGTs for anyone (golden ticket, Part 2). Read-only DCs have their own krbtgt_NNNNN accounts. Fix: Changing krbtgt's password twice, with replication in between, invalidates all outstanding TGTs.
05Tickets and session keysA ticket is a sealed envelope that only its intended recipient can open; a session key is a temporary secret it carries.
A ticket contains who you are, when it expires, and a fresh random session key. It's encrypted with the recipient's key, so you carry it but can't read or change it. You get your own copy of the session key separately, so you and the recipient now share a secret.
Your Ticket Granting Ticket (TGT) is sealed for the Key Distribution Center (KDC). Your Structured Query Language (SQL) ticket is sealed for the SQL service account. You can't open either one.
TechnicalGo deeper
A ticket's encrypted part (EncTicketPart) holds flags, the session key, client name, times, addresses (usually empty) and authorization data (the Privilege Attribute Certificate (PAC)). The client gets the session key in the separately encrypted part of the reply (EncKDCRepPart). The ticket etype comes from the target account's key; the session key etype is negotiated separately. Risk: Tickets are bearer tokens: whoever has the ticket plus its session key can use it until expiry.
06The Ticket Granting Ticket (TGT)The master ticket from logon that lets you request service tickets without your password.
At logon your computer gets a TGT from the Authentication Service (AS). For the next 10 hours, every time you need a service, your computer shows the TGT instead of using your password.
Run klist and you'll see a ticket for krbtgt/CORP.EXAMPLE.COM. That's your TGT.
TechnicalGo deeper
Default policy: 10-hour lifetime, renewable for 7 days. The TGT holds the user's Privilege Attribute Certificate (PAC) as of issuance, so group changes need a new TGT. TGTs are cached in Local Security Authority Subsystem Service (LSASS). Risk: Extracting one from memory lets an attacker impersonate the user from another machine (pass-the-ticket, Part 2). Protected Users group members Fix: get 4-hour TGTs that can't be renewed.
07Pre-authenticationProving you know the password before the Key Distribution Center (KDC) hands over a Ticket Granting Ticket (TGT).
Before giving you a TGT, the KDC asks you to encrypt the current time with your key. If it decrypts correctly with its copy, you know the password. Without this step, the KDC would Risk: hand out encrypted replies to anyone who typed your username.
Normal: the first Authentication Service Request (AS-REQ) without pre-auth gets an error saying pre-auth is required; the client retries with an encrypted timestamp.
TechnicalGo deeper
The default padata is PA-ENC-TIMESTAMP (type 2); Public Key Cryptography for Initial Authentication (PKINIT) uses types 15 and 16. Event 4768 records the pre-auth type, and 0 means none. The account flag DONT_REQ_PREAUTH (userAccountControl 0x400000) Risk: disables it, which enables Authentication Service Reply (AS-REP) roasting. Pre-auth also creates observable failures: a wrong timestamp key gives KDC_ERR_PREAUTH_FAILED (0x18), logged as 4771. That's how Kerberos-based password spraying shows up. Flexible Authentication Secure Tunneling (FAST) armoring (Part 3) further protects pre-auth data.
08Service Principal Names (SPNs) and service ticketsAn SPN names a service instance and tells the Key Distribution Center (KDC) whose key to encrypt the ticket with.
When you open \\sql01, your computer asks the KDC for a ticket to a name like MSSQLSvc/sql01.corp.example.com:1433. The KDC finds which account owns that name and seals the ticket with that account's key.
If Structured Query Language (SQL) Server runs as the user account svc_sql, the SPN is registered on svc_sql, so the ticket is encrypted with a key made from svc_sql's password.
TechnicalGo deeper
SPN format is serviceclass/host[:port][/servicename]. SPNs must be unique in the forest; duplicates cause KRB_AP_ERR_MODIFIED. Services running as LocalSystem or NetworkService use the computer account, whose password is random. Risk: Anyone with write access to an account's servicePrincipalName can add one. Self-registration rights (Validated write to SPN) are limited to host-matching values.
09Authenticators and timeAn authenticator proves the presenter of a ticket currently holds its session key; timestamps stop replays.
Showing a ticket isn't enough. You also include a fresh note, encrypted with the session key, saying who you are and what time it is. The recipient checks that the time is close to its own clock.
If a laptop's clock is 7 minutes off, logons fail with a clock skew error and Risk: Windows may fall back to NT LAN Manager (NTLM).
TechnicalGo deeper
Default maximum skew is 5 minutes. Services keep a replay cache of recent authenticators. The authenticator can carry a subkey and a sequence number for later message protection. Time comes from the Active Directory (AD) hierarchy, with the Primary Domain Controller (PDC) emulator at the root. Skew issues are a classic root cause of "Kerberos randomly fails."
10The Privilege Attribute Certificate (PAC)Microsoft's signed block of authorization data inside every ticket.
The PAC is like a printed list of your group memberships stapled inside the ticket, with an official stamp. The service reads it to decide what you can access, without querying a Domain Controller (DC) every time.
When you join the Finance group, you won't get finance access until you get a new ticket that carries a PAC listing that group.
TechnicalGo deeper
The PAC (spec [MS-PAC]) has logon info (SIDs), client info, User Principal Name (UPN) and Domain Name System (DNS) info, and signatures: a server checksum (service key) and a Key Distribution Center (KDC) checksum (krbtgt key). Since the November 2022 hardening (Common Vulnerabilities and Exposures (CVE) entry CVE-2022-37967, tracked in Knowledge Base (KB) article KB5020805), tickets also carry a ticket signature and full PAC checksums to stop tampering. Services usually check only the server signature, which matters for silver tickets (Part 2).
11Encryption types and negotiationEach ticket uses a cipher (etype) chosen from what the client, Key Distribution Center (KDC) and target account support.
Kerberos supports several ciphers. Old ones (Data Encryption Standard (DES), Rivest Cipher 4 (RC4)) are weak; Advanced Encryption Standard (AES) is strong. Which one protects a ticket depends on the settings of the account that will receive it.
A 4769 event with Ticket Encryption Type 0x12 means the ticket used AES-256. 0x17 means RC4.
TechnicalGo deeper
The target account's msDS-SupportedEncryptionTypes bitmask (0x4 RC4, 0x8 128-bit Advanced Encryption Standard (AES128), 0x10 256-bit Advanced Encryption Standard (AES256), 0x20 AES session keys) controls ticket etype. If it's blank, the Domain Controller (DC) default applies. From the April 2026 updates that default is Advanced Encryption Standard with Secure Hash Algorithm 1 integrity (AES-SHA1) only (0x18), and from July 2026 the rollback is gone (Knowledge Base (KB) article KB5073381, Common Vulnerabilities and Exposures (CVE) entry CVE-2026-20833). Before that, a client advertising only RC4 could get an RC4 ticket for most accounts, which is Risk: the classic roasting downgrade.
12The service account problemWhen a person-managed user account owns an Service Principal Name (SPN), its human-chosen password protects every ticket issued for that service.
Computers pick their own long random passwords. People pick "Welcome1!" and never change it. When Information Technology (IT) runs a service under a regular user account, that weak password is now what protects the service's tickets, and Risk: anyone can get those tickets.
svc_backup, created in 2014 with password "Backup2014!", Risk: is in Domain Admins and has an SPN. That's a critical finding waiting to happen.
TechnicalGo deeper
Severity drivers: password strength (age, policy at the time it was set, naming patterns), etype allowed (Rivest Cipher 4 (RC4) roughly a thousand times faster to guess than Advanced Encryption Standard (AES) on the same hardware, an order-of-magnitude estimate that varies), and privilege (group membership, local admin rights, what the service itself touches). Use BloodHound to show the path. Computer accounts, Managed Service Accounts (MSAs) and group Managed Service Accounts (gMSAs) are not realistic cracking targets.
13Ticket caching and lifetimesTickets are cached and reused until they expire, which is efficient and also what makes them stealable.
Your computer keeps your tickets in memory so it doesn't ask the Key Distribution Center (KDC) every few seconds. They stay valid for hours, even if your password changes.
klist lists cached tickets, their start and end times, and their etype. klist purge clears them.
TechnicalGo deeper
Defaults: Ticket Granting Ticket (TGT) 10 hours, renewable 7 days, service tickets 600 minutes. Disabling an account stops new tickets, but Risk: existing service tickets keep working until expiry because most services don't re-check with the Domain Controller (DC). Disabled accounts can't renew TGTs. This bearer-token property is the bridge to Part 2: pass-the-ticket and ticket forgery.
Visual map
Step through the normal exchange, then watch how each roasting attack bends it. Pick a flow, then use Next.
Kerberos compared with NT LAN Manager (NTLM)
| Aspect | Kerberos | NTLM |
|---|---|---|
| Model | Trusted third party (KDC) issues tickets | Challenge-response directly with the server, which asks a Domain Controller (DC) to verify |
| Mutual authentication | Yes (AP-REP) | No |
| Needs a name the KDC knows | Yes, an Service Principal Name (SPN); connect by Internet Protocol (IP) and it usually falls back to NTLM | No |
| Delegation | Built in (Part 3) | Not supported |
| Main offline-cracking exposure | Service tickets (Kerberoasting), Authentication Service Replys (AS-REPs) without pre-auth | Captured challenge-responses (NetNTLMv1 and v2) |
| Main relay exposure | Limited; tickets are bound to a service | High; NTLM relay is a classic attack |
| Microsoft direction | Preferred protocol | Being phased out |
Encryption types you will see
| Name in tools | etype number | Hex (event logs) | Key derivation | Status in 2026 |
|---|---|---|---|---|
des-cbc-crc / des-cbc-md5 | 1 / 3 | 0x1 / 0x3 | Weak, 56-bit | Removed from Windows Server 2025 and Windows 11 24H2; disabled by default since Windows 7 |
rc4-hmac | 23 | 0x17 | New Technology (NT) hash: Message Digest 4 (MD4) of the password, Risk: no salt, no iterations | No longer a default on updated DCs from April 2026; allowed only where explicitly configured |
aes128-cts-hmac-sha1-96 | 17 | 0x11 | Password-Based Key Derivation Function 2 (PBKDF2), 4,096 iterations, salted | Default family (AES-SHA1) |
aes256-cts-hmac-sha1-96 | 18 | 0x12 | PBKDF2, 4,096 iterations, salted | Preferred default |
aes128/256-cts-hmac-sha256/384 (Request for Comments (RFC) 8009) | 19 / 20 | 0x13 / 0x14 | PBKDF2 with SHA-2 | Appears in recent Microsoft event output; confirm platform support before relying on it |
Kerberoasting compared with AS-REP roasting
| Kerberoasting | AS-REP roasting | |
|---|---|---|
| Message abused | Ticket Granting Service Reply (TGS-REP) (service ticket) | AS-REP |
| Attacker needs | Any valid domain credential or Ticket Granting Ticket (TGT) | Risk: Only a username and network access to a KDC |
| Target condition | User account that has an SPN | Account with pre-auth disabled (DONT_REQ_PREAUTH) |
| Key cracked | Service account's key | The user's own key |
| DC event | 4769 | 4768 with Pre-Authentication Type 0 |
| Adversarial Tactics, Techniques, and Common Knowledge (ATT&CK) | T1558.003 | T1558.004 |
| Usual frequency in tests | Very common | Less common; usually a few legacy accounts |
Who owns the SPN decides the risk
| Account type | Password | Rotation | Roasting risk |
|---|---|---|---|
| User account used as a service account | Risk: Set by a human, often memorable | Often never | High |
| Computer account | 120 random characters | Every 30 days by default | Not practical |
| Standalone Managed Service Account (MSA) | Random, managed by Windows | Automatic | Not practical; one host only |
| group Managed Service Account (gMSA) | 240 random bytes, managed by Active Directory (AD) | Automatic, 30 days by default | Not practical |
| delegated Managed Service Account (dMSA) (Windows Server 2025) | Random, machine-bound | Automatic | Not practical; see the BadSuccessor note in the Defender tab |
Technical deep dive
TechnicalUnder the hood
Components
- Key Distribution Center (KDC) service (
kdc, runs inside Local Security Authority Subsystem Service (LSASS) on each Domain Controller (DC)). It contains the Authentication Service (AS) and the Ticket Granting Service (TGS) logically, but on Windows they are one service on one port. - The Active Directory (AD) database, which stores each principal's long-term keys. There is one key per supported etype, generated whenever the password is set.
- krbtgt, a disabled user account whose key encrypts and signs every Ticket Granting Ticket (TGT) in the domain. It is Risk: the most sensitive secret in AD (Part 2).
- Client Kerberos package in Local Security Authority (LSA) on every Windows machine. It requests, caches and presents tickets. You can view the cache with
klist. - Services (Server Message Block (SMB), Hypertext Transfer Protocol (HTTP), Structured Query Language (SQL) Server and others). They decrypt tickets with their own key and read the Privilege Attribute Certificate (PAC) to decide what you may do.
Message by message: who encrypts what with which key
| Message | Carries | Encrypted with | Why an attacker cares |
|---|---|---|---|
| Authentication Service Request (AS-REQ) | Client name, requested etypes, pre-auth data (timestamp) | Timestamp encrypted with the client's key | Valid vs invalid users get different errors (enumeration). A wrong key gives a pre-auth failure (spraying). |
| Authentication Service Reply (AS-REP) | TGT, plus an encrypted part holding the TGT session key | TGT: krbtgt key. Encrypted part: client's key. | The encrypted part is crackable if the attacker can get it without pre-auth. |
| Ticket Granting Service Request (TGS-REQ) | TGT, authenticator, target Service Principal Name (SPN), etypes | Authenticator encrypted with the TGT session key | Anyone with a TGT can ask for any SPN. |
| Ticket Granting Service Reply (TGS-REP) | Service ticket, plus an encrypted part with the service session key | Ticket: service account's key. Part: TGT session key. | The ticket is crackable offline for the service account's password. |
| Application Request (AP-REQ) | Service ticket, authenticator | Authenticator encrypted with the service session key | Sent to the service, not the DC. Roasting never sends one. |
| Application Reply (AP-REP) | Timestamp echo | Service session key | Optional mutual authentication. |
Notice the pattern. The client never decrypts a ticket. It decrypts the encrypted part addressed to it, which holds the session key, and passes tickets along as sealed blobs.
Keys and salts
- Rivest Cipher 4 (RC4) key = New Technology (NT) hash = Message Digest 4 (MD4) over the UTF-16LE password. No salt and no iterations, so Risk: the same password gives the same key in every domain. Cracking is extremely fast on Graphics Processing Units (GPUs).
- Advanced Encryption Standard (AES) keys are derived with PBKDF2-HMAC-SHA1, 4,096 iterations. The salt is the uppercase realm plus the principal name. For users that is
CORP.EXAMPLE.COMsvc_sql; computers use ahost-based salt. Each guess costs thousands of hash operations, so cracking is far slower, but it is still feasible against weak passwords. - Keys are created at password set. An account whose password last changed before the domain supported AES (2008 Domain Functional Level (DFL)) Risk: has no AES keys at all. Force AES-only on it and authentication breaks until the password is reset.
- Key Version Number (KVNO) increments on each password change. A ticket encrypted with an old KVNO fails with
KRB_AP_ERR_MODIFIEDor a related error until the client gets a new ticket.
How the ticket's encryption type is chosen (simplified)
- The client lists the etypes it supports in the request.
- The KDC looks at the target account's
msDS-SupportedEncryptionTypes. If the attribute is blank, it uses the DC's default (DefaultDomainSupportedEncTypes), which is Advanced Encryption Standard with Secure Hash Algorithm 1 integrity (AES-SHA1) only (0x18) on DCs that have the April 2026 or later updates. - It picks the strongest etype that the target supports and for which it holds a key. The session key etype is chosen separately and can differ from the ticket etype.
- Historically, a tool could advertise only RC4 and get an RC4 ticket for any account without explicit settings. Risk: That is the "downgrade" every Kerberoasting tool relied on. After enforcement, it only works where RC4 is explicitly allowed on the target account or in the DC default.
msDS-SupportedEncryptionTypes bit flags
| Bit | Meaning | Common values |
|---|---|---|
| 0x1, 0x2 | DES-CBC-CRC, DES-CBC-MD5 | 0x18 (24) = 128-bit Advanced Encryption Standard (AES128) + 256-bit Advanced Encryption Standard (AES256), the target state0x1C (28) = RC4 + AES, the transitional state0x4 = RC4 only, legacy and dangerous0x3C = RC4 + AES + AES session keys |
| 0x4 | RC4-HMAC | |
| 0x8 | AES128-CTS-HMAC-SHA1-96 | |
| 0x10 | AES256-CTS-HMAC-SHA1-96 | |
| 0x20 | AES session keys (AES-SK) | |
| blank | Use the DC default |
The 2026 RC4 change, precisely
| When | What changed on DCs |
|---|---|
| January 13, 2026 updates | Audit phase. New System log events from source Kdcsvc, Identifiers (IDs) 201 to 209, flag RC4 usage that would break. The RC4DefaultDisablementPhase registry value is introduced (1 = audit, 2 = enforce). |
| April 2026 updates | Enforcement by default. The DC default for accounts with no msDS-SupportedEncryptionTypes becomes AES-SHA1 only (0x18). Admins can still roll back with the registry value. |
| July 2026 updates | The rollback value is no longer read. Enforcement is permanent. RC4 works only where an admin explicitly allows it on an account or in DefaultDomainSupportedEncTypes. |
Registry location: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters. Event 205 is logged at each KDC start if the DC default still allows insecure ciphers. Microsoft says explicit admin configuration is always honored, so Risk: explicit RC4 exceptions stay roastable with RC4. Check the patch level of every DC; Risk: a single unpatched DC keeps the old behavior for requests it serves.
Defaults worth knowing cold
| Setting | Default | Where |
|---|---|---|
| KDC port | 88 Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) | Password change uses 464 |
| Maximum clock skew | 5 minutes | Default Domain Policy, Kerberos Policy |
| Maximum TGT lifetime | 10 hours | Kerberos Policy |
| Maximum renewal lifetime | 7 days | Kerberos Policy |
| Maximum service ticket lifetime | 600 minutes | Kerberos Policy |
| Computer account password change | Every 30 days, started by the machine | Netlogon settings |
| group Managed Service Account (gMSA) password interval | 30 days | Set at creation |
| MaxTokenSize | 48,000 bytes on Windows 8 and Server 2012 or later | Large group membership can exceed it |
| Transport | Windows uses TCP once messages exceed a small size limit, which they almost always do because of the PAC. Expect TCP 88 in practice. | Registry, rarely changed |
Tradeoffs and limitations
- Strong dependence on time and Domain Name System (DNS). Clock skew over 5 minutes, or a name that doesn't map to an SPN, breaks Kerberos. Windows then often falls back silently to NT LAN Manager (NTLM).
- Tickets are bearer tokens for their lifetime. Risk: Revoking an account doesn't kill tickets already issued (Part 2).
- The KDC doesn't authorize. It authenticates and attaches group data. Each service decides access, so ticket issuance is not access control.
- Offline exposure is designed in. Every ticket is ciphertext under a password-derived key. Risk: The protocol assumes those keys are strong.
Common misconceptions
| Misconception | Reality |
|---|---|
| "Kerberos sends password hashes." | It sends data encrypted with password-derived keys. What attackers capture is ciphertext they test guesses against. Tools call it a "hash" loosely. |
| "Kerberoasting needs admin rights." | Risk: Any authenticated user can do it. |
| "The SQL server would see the attack." | The service is never contacted. Only the DC logs the ticket request. |
| "We're AES-only now, so we're safe." | AES slows guessing; it doesn't stop it. Weak passwords still crack, and explicit RC4 exceptions remain. |
| "TGS means the ticket." | TGS is the service that issues tickets. People and tools often say "TGS" for the service ticket itself. Know both uses and be precise in writing. |
| "0x17 always means RC4." | Only in the Ticket Encryption Type field. In a Failure Code field, 0x17 means the password has expired. Likewise 0x12 is AES256 as an etype but "client revoked" (disabled or locked) as a failure code. |
| "A bad Kerberos password shows as 4625." | On the DC, Verify: a pre-auth failure is event 4771 with failure code 0x18. Event 4625 is logged by the machine where the logon was attempted. |
Troubleshooting quick reference
| Symptom or error | Likely cause | Check or fix |
|---|---|---|
KRB_AP_ERR_SKEW (0x25) | Risk: Clocks more than 5 minutes apart | Fix Network Time Protocol (NTP); the Primary Domain Controller (PDC) emulator should sync to a reliable source |
KDC_ERR_S_PRINCIPAL_UNKNOWN (0x7) | No account has that SPN | setspn -Q; register the SPN on the right account |
KRB_AP_ERR_MODIFIED | Ticket encrypted with a key the service doesn't have: duplicate SPN, wrong account, or stale KVNO | setspn -X for duplicates; klist purge on the client |
KDC_ERR_ETYPE_NOTSUPP (0xE) | No common etype, for example an AES-only account without AES keys, or an RC4-only client | Reset the password to generate AES keys; check Kdcsvc events 201 to 209 |
| Works by name, fails by Internet Protocol (IP) | No SPN for the IP, so the client falls back to NTLM | Use names; IP SPNs need client support and registration |
| Group changes don't take effect | The old TGT still has the old PAC | Log off and on, or klist purge |
klist # show cached tickets and their etypes
klist get MSSQLSvc/sql01.corp.example.com:1433 # request one ticket
klist purge # clear the cache
setspn -L svc_sql # list SPNs on an account
setspn -Q MSSQLSvc/* # find who owns matching SPNs
setspn -X # find duplicate SPNs
Attacker's view
AttackerThese are the attacks that come straight from the protocol design. They are covered at the level needed to test for them on an authorized engagement, explain them, and write them up. Ticket theft and forgery are in Part 2, and delegation abuse is in Part 3.
Kerberos user enumeration and password sprayingATT&CKT1087.002 Account Discovery: Domain Account · T1110.003 Password Spraying
An Authentication Service Request (AS-REQ) for a name that doesn't exist gets KDC_ERR_C_PRINCIPAL_UNKNOWN. One for a real account gets KDC_ERR_PREAUTH_REQUIRED. So Risk: an unauthenticated attacker can test username lists. Spraying then tries one common password against many accounts by sending AS-REQs with encrypted timestamps; a correct password returns a Ticket Granting Ticket (TGT).
Network access to a Key Distribution Center (KDC) on port 88. A username list (from LinkedIn, email formats, or an earlier leak). Risk: No credentials needed.
Predictable usernames, weak password policy, lockout thresholds that allow several attempts per window, and Risk: no alerting on 4771 or 4768 failures.
kerbrute (userenum, passwordspray), Rubeus brute, NetExec over Kerberos, Impacket.
kerbrute userenum -d corp.example.com --dc 10.0.0.10 users.txt
kerbrute passwordspray -d corp.example.com --dc 10.0.0.10 users.txt 'Autumn2026!'
4768 failures with result code 0x6 for many nonexistent names. Verify: 4771 with failure code 0x18 across many accounts from one Internet Protocol (IP). Spraying via Kerberos does not produce the 4625 events many Security Operations Center (SOC) rules watch for. Successful sprays count toward lockout.
Usually reported as "Weak password policy / password spraying successful" with Kerberos as the method. Severity is driven by how many accounts fell and what they can reach. Retest: the same spray list fails, and an alert fires on the spray pattern.
Authentication Service Reply (AS-REP) roastingATT&CKT1558.004 Steal or Forge Kerberos Tickets: AS-REP Roasting
For an account with pre-auth disabled, the Key Distribution Center (KDC) Risk: returns an AS-REP to anyone who asks. Part of that reply is encrypted with the user's own key. The attacker cracks it offline to recover the password.
Risk: The target has DONT_REQ_PREAUTH set. The attacker knows the username and can reach port 88. With any domain credential, they can find such accounts through Lightweight Directory Access Protocol (LDAP); without one, they guess names.
Legacy accounts (old Unix or Java integrations, vendor setups) where someone Risk: disabled pre-auth to make something work, plus weak passwords. Also Risk: anyone with write rights over a user can flip the flag (targeted AS-REP roasting).
Rubeus asreproast, Impacket GetNPUsers.py, NetExec --asreproast; crack with hashcat mode 18200 (RC4). Recent hashcat versions add Advanced Encryption Standard (AES) AS-REP modes; confirm with hashcat --help.
Rubeus.exe asreproast /format:hashcat /outfile:asrep.txt
GetNPUsers.py corp.example.com/ -usersfile users.txt -no-pass -dc-ip 10.0.0.10
hashcat -m 18200 asrep.txt wordlist.txt -r rules/best64.rule
Verify: 4768 with Pre-Authentication Type 0 for the account, often from an unusual host. If the flag was flipped by an attacker, 4738 shows "Don't Require Preauth - Enabled."
"Accounts without Kerberos pre-authentication." Severity depends on whether the password cracked and what the account can do: low or medium if uncracked and unprivileged, high or critical if cracked with privileged access. Retest: Get-ADUser -Filter 'DoesNotRequirePreAuth -eq $true' returns nothing and the Authentication Service Request (AS-REQ) without pre-auth now returns an error.
KerberoastingATT&CKT1558.003 Steal or Forge Kerberos Tickets: Kerberoasting
Using any domain credential, the attacker queries Lightweight Directory Access Protocol (LDAP) for user accounts with Service Principal Names (SPNs), requests a service ticket for each, and extracts the encrypted part. That ciphertext is encrypted with the service account's key, so Risk: each password guess can be tested offline. Historically tools asked for Rivest Cipher 4 (RC4) to make cracking fast; after the 2026 changes they often get Advanced Encryption Standard (AES) unless the account explicitly allows RC4.
Risk: Any valid domain user, computer account, or Ticket Granting Ticket (TGT). Network access to a Key Distribution Center (KDC). Risk: No privileges.
Risk: User accounts with SPNs, weak or old passwords, RC4 still permitted on those accounts, and privileged group membership.
Rubeus kerberoast (/stats to survey, /rc4opsec to roast only accounts without AES), Impacket GetUserSPNs.py, NetExec --kerberoasting, PowerView Get-DomainUser -SPN, BloodHound to prioritize. Crack with hashcat 13100 (RC4), 19600 (AES128), 19700 (AES256), or John the Ripper.
Rubeus.exe kerberoast /stats
Rubeus.exe kerberoast /user:svc_sql /nowrap
GetUserSPNs.py corp.example.com/jdoe -dc-ip 10.0.0.10 -request -outputfile roast.txt
hashcat -m 13100 roast.txt wordlist.txt -r rules/best64.rule # RC4
hashcat -m 19700 roast.txt wordlist.txt # AES256
4769 on the Domain Controller (DC) for each ticket: requester account, client address, service name, Ticket Encryption Type. Verify: Bursts of distinct SPNs from one account. Requests for honey SPNs. No event on the service itself, and no network traffic to it.
"Kerberoastable service accounts" or, if cracked, "Service account password recovered via Kerberoasting." Severity drivers: cracked or not, time to crack, privilege, and whether RC4 was allowed. Business impact: the service's data, plus domain compromise if privileged. Retest: tickets are AES (0x12), password reset after the report date, privileged memberships removed, the original crack attempt fails in a fixed time budget, Fix: ideally the account replaced by a group Managed Service Account (gMSA).
Targeted Kerberoasting (and targeted Authentication Service Reply (AS-REP) roasting)ATT&CKT1558.003 / T1558.004, with T1098 Account Manipulation
If the attacker has write rights over a user (GenericWrite, GenericAll, WriteProperty on servicePrincipalName), they add a fake Service Principal Name (SPN) to that user, request a ticket, then remove the SPN. Risk: Now any user they can write to is roastable. The same idea works by flipping DONT_REQ_PREAUTH.
A foothold account with Risk: write Access Control List (ACL) rights over the target user, usually found with BloodHound.
Over-broad delegated permissions: Risk: helpdesk groups with GenericAll on all users, legacy ACLs, nested groups nobody reviews.
targetedKerberoast.py, PowerView Set-DomainObject, BloodHound to find the edges.
targetedKerberoast.py -d corp.example.com -u jdoe -p 'Passw0rd!' --dc-ip 10.0.0.10
5136 and 4738 showing servicePrincipalName Verify: added and then removed on a user account within minutes, followed by a 4769 for that SPN.
Usually reported as an ACL abuse path ("Excessive permissions allow credential theft"), with targeted Kerberoasting as the demonstration. Severity follows the privilege of the target. Retest: Verify: the ACL edge is gone in BloodHound, and the target's password was reset.
How these chain on a real internal test
- Get a foothold: Risk: one phished or sprayed user account.
- Enumerate with Lightweight Directory Access Protocol (LDAP): users with Service Principal Names (SPNs), accounts without pre-auth, group memberships. BloodHound shows which roastable accounts have paths to Tier 0.
- Roast selectively. Start with accounts that have privileged paths, and check whether Rivest Cipher 4 (RC4) is still allowed (
Rubeus.exe kerberoast /statsshows supported etypes without requesting tickets). - Crack offline with a wordlist and rules tuned to the client's naming patterns.
- Use the recovered credential, then Verify: document the path end to end.
Defender's playbook
DefenderWritten for the sysadmins who will do the work. The goal: Fix: no service account that a human chose a password for, no Rivest Cipher 4 (RC4) where it isn't required, no account without pre-auth, and alerts that fire on the few events that matter.
Quick wins (days)
- Inventory every user account that has an Service Principal Name (SPN). Verify: Note its privileges, password age and etypes.
Get-ADUser -Filter 'ServicePrincipalName -like "*"' -Properties ServicePrincipalName,PasswordLastSet,msDS-SupportedEncryptionTypes,MemberOf,AdminCount | Select Name,PasswordLastSet,msDS-SupportedEncryptionTypes,AdminCount,ServicePrincipalName - Remove privileged group membership from service accounts (Domain Admins, Enterprise Admins, Administrators, Account Operators). This is often the single biggest severity reducer.
- Remove stale SPNs Fix: from user accounts that no longer run a service:
setspn -D <SPN> <account>. - Reset remaining service account passwords Fix: to 25 or more random characters. Use a password manager or vault. Length is common practitioner guidance; longer is better since nobody types it.
- Turn pre-auth back on Fix: for every account that has it disabled.
Get-ADUser -Filter 'DoesNotRequirePreAuth -eq $true' | Select Name Set-ADAccountControl -Identity svc_legacy -DoesNotRequirePreAuth $false - Enable the right auditing on Domain Controllers (DCs): Advanced Audit Policy, Account Logon, "Audit Kerberos Authentication Service" and "Audit Kerberos Service Ticket Operations," Verify: both Success and Failure.
- Create one or two honey SPN accounts. Give each a realistic name and SPN, a long random password, no rights, and Verify: an alert on any 4769 for it.
Longer-term fixes (weeks to months)
- Move services to group Managed Service Accounts (gMSAs). Fix: Active Directory (AD) generates and rotates the password. Requires a Key Distribution Service (KDS) root key once per forest. Restrict who can read the managed password (the
PrincipalsAllowedToRetrieveManagedPasswordgroup). Risk: Reading it is an attack path in its own right.Add-KdsRootKey -EffectiveImmediately # then allow time to replicate (up to 10 hours) New-ADServiceAccount -Name gmsa_sql -DNSHostName gmsa_sql.corp.example.com ` -PrincipalsAllowedToRetrieveManagedPassword "SQL-Servers" # on the SQL host: Install-ADServiceAccount gmsa_sql ; Test-ADServiceAccount gmsa_sql - Finish the RC4 retirement. Set
msDS-SupportedEncryptionTypesto 24 (0x18) on service accounts Fix: so the setting is explicit, then reset the password so Advanced Encryption Standard (AES) keys exist. Configure the Group Policy Object (GPO) "Network security: Configure encryption types allowed for Kerberos" to 128-bit Advanced Encryption Standard (AES128), 256-bit Advanced Encryption Standard (AES256) and future types once Kdcsvc events 201 to 209 are quiet.Set-ADUser svc_sql -Replace @{'msDS-SupportedEncryptionTypes'=24} # reset the password afterward if it predates AES support - Use a fine-grained password policy for remaining human-managed service accounts, Fix: with a long minimum length.
- Tier the accounts. A service account that touches Tier 0 is Tier 0. Restrict where it can log on.
- Consider delegated Managed Service Account (dMSA) on Windows Server 2025 for migrations. Note: in 2025, researchers published "BadSuccessor," showing that dMSA migration features Risk: could be abused to escalate privileges in some configurations. Fix: Patch, and restrict who can create dMSA objects or write to the relevant attributes before adopting it.
- Feed DC logs to the Security Information and Event Management (SIEM), Fix: or deploy Microsoft Defender for Identity (MDI) or a similar identity detection product.
Detection signals
| Event | Log | Alert on |
|---|---|---|
| 4769: service ticket requested | DC Security | Verify: Any request for a honey SPN. Ticket Encryption Type 0x17 for a user account that should be AES. One account requesting many distinct SPNs in minutes. A new requester-to-service pair. |
| 4768: Ticket Granting Ticket (TGT) requested | DC Security | Verify: Pre-Authentication Type 0 (Authentication Service Reply (AS-REP) roasting). Result code 0x6 (unknown user) in volume from one source (enumeration). |
| 4771: pre-auth failed | DC Security | Verify: Failure code 0x18 across many accounts from one source (password spray). |
| 4738 / 5136: user changed | DC Security (5136 needs directory service change auditing) | servicePrincipalName added to a user (targeted Kerberoasting). "Don't Require Preauth" enabled. |
| Kdcsvc 201 to 209 | DC System | RC4 requests that will fail or have failed. 205 means the DC default still allows insecure ciphers. |
Lightweight Directory Access Protocol (LDAP) queries for servicePrincipalName=* | Event 1644 (when enabled), or MDI | Broad SPN enumeration from a workstation that doesn't usually query LDAP. |
# Splunk-style idea: many distinct SPNs from one requester in 10 minutes
index=dc EventCode=4769 Service_Name!="*$" Service_Name!="krbtgt"
| bin _time span=10m
| stats dc(Service_Name) as spns values(Ticket_Encryption_Type) by _time, Account_Name, Client_Address
| where spns > 10Verify the fix worked
- Request a ticket for the SPN and check the etype:
klist get <SPN>thenklist. You should seeAES-256-CTS-HMAC-SHA1-96. Verify: On the DC, the 4769 should show 0x12. - Confirm
PasswordLastSetVerify: is after the finding date, and the account is no longer in privileged groups. - For gMSAs, run
Test-ADServiceAccounton the host and Verify: confirm the service runs as the gMSA. - Ask the testers to re-roast. Run the original wordlist and rules against the new ticket for a fixed time budget; Verify: it should not crack.
- Trigger the honey SPN from a test machine and Verify: confirm the alert fires end to end.
Why remediation stalls, and workable compromises
| Objection | Workable compromise |
|---|---|
| "The app breaks if we change the password." | Fix: Find every place it's configured first (services, scheduled tasks, app configs, Internet Information Services (IIS) pools). Do a planned change window. If the app supports it, move to gMSA so this is the last manual change. |
| "We don't know what uses this account." | Audit 4624 and 4769 for the account for 2 to 4 weeks Fix: to map usage, then change it. |
| "The vendor appliance only does RC4." | Allow RC4 on that one account only (explicit msDS-SupportedEncryptionTypes), with a 30+ character random password, no privileges, an alert on its tickets, and a replacement date. Never re-enable RC4 domain-wide. |
| "The account needs Domain Admin." | It almost never does. Find the actual rights needed (often local admin on specific servers) and grant those. |
| "We set AES-only and something broke." | Usually the account has no AES keys. Reset its password. Check Kdcsvc events for the client's advertised etypes. |
Executive brief
ExecutiveThe risk in plain language
Our network uses Kerberos to let staff log in once and reach everything they need. Behind the scenes, many business systems run under "service accounts," which are logins that programs use rather than people. Some of those accounts have Risk: passwords people chose years ago and never changed.
Risk: Any employee login, including one stolen by a phishing email, can be used to collect scrambled copies of those service account passwords. The attacker takes them away and guesses at them on their own computers, where we can't see it and nothing locks them out. If one of those accounts has broad administrative access, Risk: the attacker can take control of the entire network.
Business impact
- Full control of the Windows environment: Risk: the precondition for ransomware deployment across the company and for large-scale data theft.
- Access to the specific systems the service account runs, such as finance databases or backup servers.
- Very little warning. The guessing happens outside our network.
What drives likelihood
- Low barrier. Risk: It needs only one ordinary login, and the tools are free and well known.
- Old, weak passwords Risk: on service accounts that nobody owns.
- Too much privilege on those accounts.
- Legacy encryption still allowed for some systems. Microsoft turned it off by default in 2026 updates, but exceptions remain.
Cost of inaction
The fix is mostly staff time: inventory, password changes, and moving services to accounts Windows manages automatically. Not fixing it leaves a path Risk: from a single phished employee to company-wide compromise. That's the path behind many ransomware incidents, where recovery, downtime and disclosure costs are far larger than the remediation effort.
What good looks like
- Every service account has an owner, and Fix: none has a password a person chose.
- Most services run on automatically managed accounts (gMSA) with Fix: long passwords that rotate themselves.
- Fix: No service account holds top-level administrator rights.
- Legacy encryption is off, with a short, Fix: documented list of exceptions and end dates.
- Verify: Monitoring raises an alert when someone collects these tickets, including a decoy account that only an attacker would touch.
Questions executives ask
Are we exposed?
Probably to some degree; most organizations are. The real question is how badly. We look at three things: whether any service accounts have weak passwords, whether those accounts have powerful access, and whether we'd notice someone collecting their tickets. In this assessment, [state what you found].
Microsoft turned off the old encryption this year. Doesn't that fix it?
It helps a lot. Guessing passwords is now far slower. But a weak password is still guessable, and any system we've specifically allowed to keep the old encryption is still exposed. The update closes the easy version, not the problem.
How long will this take to fix, and what does it cost?
Removing excess privileges and changing the weakest passwords takes days. Moving services to self-managing accounts takes weeks to a few months, depending on how many applications need testing. It's mostly staff time, with little or no license cost.
Would multi-factor authentication have stopped this?
Not directly. Multi-Factor Authentication (MFA) protects people logging in. These are program accounts, and the attack guesses their passwords offline, where MFA never comes into play. MFA does make the first step, stealing an employee login, harder.
How would we know if someone did this to us?
Our domain controllers record every ticket request. With the right monitoring and Verify: a decoy account that only an attacker would request, we can get a reliable alert. Today, [state whether monitoring exists].
Is this a Microsoft bug we're waiting on them to patch?
No. It's how Kerberos is designed to work, combined with how we've managed certain accounts. The fix is in our hands.
Presenting this finding to leadership
- Headline in one sentence: "From one ordinary employee login, we reached Risk: full administrative control in under a day, using a weakness in how service account passwords are managed."
- The path, as a short story: stolen login, collected encrypted ticket, password guessed offline, administrator access. Three or four steps, no jargon.
- Impact tied to their business: name the system the account controlled, such as payroll, backups or the domain.
- The fix, with owner and timeline: Fix: quick wins this month, managed accounts this quarter.
- The ask: an owner for service accounts, a change window, and confirmation that monitoring is in scope.
Talk the talk
Jargon decoder
Requesting tickets whose encrypted parts can be cracked offline; an account that allows it.
"We found 14 roastable accounts; three cracked within the first hour."
Guessing passwords against captured ciphertext on your own hardware, Risk: with no lockout or logging.
"It's offline, so their lockout policy doesn't matter here."
A user or managed account that a program runs as rather than a person.
"The Structured Query Language (SQL) service account is a regular user with a 2016 password."
The name a service registers so the Key Distribution Center (KDC) knows whose key to use.
"It's got an Hypertext Transfer Protocol (HTTP) SPN on a user account, so it's roastable."
Short for encryption type; the cipher protecting a ticket.
"Those tickets came back etype 23, so Rivest Cipher 4 (RC4) is still allowed on that account."
Forcing or getting Risk: a weaker etype than the account could use.
"Post-April they can't downgrade default accounts anymore, only the explicit exceptions."
The encrypted timestamp step that proves password knowledge before a Ticket Granting Ticket (TGT) is issued.
"Two accounts have pre-auth disabled; that's Authentication Service Reply (AS-REP) roastable."
A decoy account with an SPN that no legitimate client uses.
"Any 4769 for the honey SPN is a true positive."
An AD-managed service account with a long random password Fix: rotated automatically.
"Move that to a gMSA and the finding goes away permanently."
The account whose key encrypts all Ticket Granting Tickets (TGTs) in a domain.
"Kerberoasting doesn't touch krbtgt; that's golden ticket territory."
Tools call the extracted ticket material a hash, though it's really ciphertext.
"Dropped the Ticket Granting Service (TGS) hashes into hashcat on mode 13100."
Assets that control the domain: Domain Controllers (DCs), domain admins, and anything that can control them.
"That service account has a path to Tier 0, so it's Tier 0."
Trying one or two common passwords across many accounts to stay under lockout.
"We sprayed over Kerberos, so their 4625 alert never fired."
How much an attacker can reach from one compromised account.
"Removing Domain Admin shrinks the blast radius even if the password cracks."
Something that grants access to whoever holds it, like a ticket.
"Tickets are bearer tokens, so disabling the account doesn't kill a live one."
A chain of rights from a starting account to a target, as BloodHound shows.
"There's a two-hop path from Domain Users to the roastable admin."
Smart questions to ask
Sysadmins
- Who owns each service account, and where is its password stored?
- Which service accounts are in privileged groups, and what rights do they actually use?
- Are all Domain Controllers (DCs) on the July 2026 or later updates? Verify: Have you reviewed Kdcsvc events 201 to 209?
- Which accounts have
msDS-SupportedEncryptionTypesRisk: explicitly allowing Rivest Cipher 4 (RC4), and why? - Do you have a Key Distribution Service (KDS) root key, and what's blocking group Managed Service Account (gMSA) adoption?
- Are 4768, 4769 and 4771 collected from every DC and Verify: retained long enough to investigate?
Executives
- Who is accountable for service accounts today?
- If an employee's login were stolen tomorrow, Verify: how would we know, and how fast?
- Which business systems would we least want an attacker to control? We'll check which accounts reach them.
Coworkers
- Does this engagement include detection testing? Should we roast broadly or selectively?
- Is RC4 still possible for any targets, or are we cracking Advanced Encryption Standard (AES) this time? That changes our time budget.
- Any honey accounts we know about from previous tests?
Say this, not that
Kerberos hashes got leaked.
We requested service tickets and cracked their encrypted portions offline.
They have Kerberoasting enabled.
They have user accounts with Service Principal Names (SPNs) and weak passwords. Kerberoasting isn't a setting; it's a property of the protocol.
Rivest Cipher 4 (RC4) makes them vulnerable to Kerberoasting.
Any Service Principal Name (SPN) on a user account is roastable; RC4 just makes cracking fast. With Advanced Encryption Standard (AES) it's slower, not impossible.
Just disable Rivest Cipher 4 (RC4).
Confirm every account has Advanced Encryption Standard (AES) keys and check Kdcsvc events 201 to 209, then make AES explicit on service accounts.
The Structured Query Language (SQL) server got attacked.
The Domain Controller (DC) issued a ticket for the SQL service account; the SQL server itself was never contacted.
You need Multi-Factor Authentication (MFA).
MFA reduces initial account theft, but service account passwords need group Managed Service Account (gMSA) or long random values.
We cracked a hash, so it's critical.
We cracked a service account that's in Domain Admins, which gives a direct path to domain control. That's why it's critical.
Same point, two audiences
"One older system still uses an outdated lock. Risk: Anyone who copies its key can work on it at home much faster. We've identified it and have a plan to replace or contain it."
"svc_scan has msDS-SupportedEncryptionTypes = 0x4, so tickets are RC4 and crack at NT-hash speed. Fix: Set it to 0x18, reset the password to generate Advanced Encryption Standard (AES) keys, and if the vendor box can't do AES, keep RC4 on that account only with a 30-character random password and a 4769 alert."
"Risk: A program's login has the keys to the whole building. If its password is guessed, an attacker controls everything. We recommend giving it only the access it needs."
"svc_backup is a member of Domain Admins via nested group Backup-Ops. Find what it actually needs (likely local admin on backup targets and SeBackupPrivilege), Fix: grant that, and remove the nesting."
"If someone ran this attack today, Risk: we wouldn't know. A low-cost decoy and two monitoring rules would give us a reliable alarm."
"Enable Audit Kerberos Service Ticket Operations on all Domain Controllers (DCs), forward 4769 to the Security Information and Event Management (SIEM), create svc_sqlreport with a fake Service Principal Name (SPN), and Verify: alert on any 4769 for it, plus a distinct-SPN-count rule per requester."
Keep going
What to learn next, in order
- Part 2 of this series: ticket theft and forgery. Pass-the-ticket, overpass-the-hash, golden, silver, diamond and sapphire tickets, krbtgt rotation, and the Privilege Attribute Certificate (PAC) signature changes from 2022 onward.
- Part 3: delegation and trust. Unconstrained, constrained and resource-based constrained delegation, Service for User (S4U), referrals across trusts, Protected Users, and Flexible Authentication Secure Tunneling (FAST) armoring.
- Active Directory (AD) attack paths as graphs. Learn to read BloodHound output so you can explain why a roastable account matters.
- NT LAN Manager (NTLM), relay and coercion. The other half of Windows authentication, and where Kerberos fallback sends you.
- Active Directory Certificate Services abuse. Certificates become Kerberos tickets through Public Key Cryptography for Initial Authentication (PKINIT), which is a whole attack surface of its own.
- AD tiering and privileged access design. The strategic fix that makes every finding above smaller.
Resources worth seeking out
- Specifications: Request for Comments (RFC) 4120 (Kerberos V5), RFC 3961 and 3962 (encryption framework and Advanced Encryption Standard (AES)), RFC 4757 (RC4-HMAC), RFC 8009 (AES with SHA-2), and Microsoft's open specifications [MS-KILE] and [MS-PAC].
- Microsoft Learn and Support: "Detect and remediate Rivest Cipher 4 (RC4) usage in Kerberos" and Knowledge Base (KB) article KB5073381 for the 2026 RC4 changes; the Kerberos Policy and audit policy reference pages.
- MITRE Adversarial Tactics, Techniques, and Common Knowledge (ATT&CK) pages for T1558.003 and T1558.004, including the detection and mitigation sections.
- Background reading: "Designing an Authentication System: a Dialogue in Four Scenes" (Bill Bryant, Massachusetts Institute of Technology (MIT), 1988) is still the best plain-English introduction to why Kerberos looks the way it does.
- Offensive origins: Tim Medin's 2014 DerbyCon talk that introduced Kerberoasting, and Will Schroeder's (harmj0y) blog posts on Kerberoasting and Rubeus.
- Tool documentation: the Rubeus (GhostPack) and Impacket READMEs on GitHub; Sean Metcalf's ADSecurity.org for defender-oriented AD articles.
- Hands-on labs: build a small AD lab, or use Orange Cyberdefense's Game of Active Directory (GOAD) project. Verify: Run each attack, then find its trace in the Domain Controller (DC) logs.
- Courses: on O'Reilly, Pluralsight or Udemy, look for Active Directory attack and defense courses that include a lab component.
Kerberos, from the ground up
Acronyms
Every acronym used on this page. Four test modes are below the table.
| Acronym | Expansion | Plain English | Why it matters |
|---|---|---|---|
| ACL | Access Control List | The permissions on an object. | Write rights in an Access Control List (ACL) enable targeted Kerberoasting. |
| AD | Active Directory | Microsoft's directory service. It stores users, computers, groups, and the keys Kerberos uses. | The identity backbone of most enterprises; Kerberos is how it authenticates. |
| AES | Advanced Encryption Standard | The modern block cipher used for Kerberos tickets, with 128- or 256-bit keys. | Slows cracking dramatically because of salted, iterated key derivation. |
| AES-SHA1 | Advanced Encryption Standard with Secure Hash Algorithm 1 integrity | Microsoft's name for the aes128/aes256-cts-hmac-sha1-96 Kerberos encryption types. | The 2026 default for accounts without explicit settings. |
| AES128 | 128-bit Advanced Encryption Standard | Advanced Encryption Standard (AES) with a 128-bit key; Kerberos etype 17 (0x11). | Acceptable; 256-bit Advanced Encryption Standard (AES256) is preferred. |
| AES256 | 256-bit Advanced Encryption Standard | Advanced Encryption Standard (AES) with a 256-bit key; Kerberos etype 18 (0x12). | What you want to see in 4769 events for service tickets. |
| AP-REP | Application Reply | The service's optional reply proving its identity to the client. | Provides mutual authentication, which NT LAN Manager (NTLM) lacks. |
| AP-REQ | Application Request | The client presents the service ticket and an authenticator to the service. | Roasting never sends this, which is why services don't see the attack. |
| AS | Authentication Service | The part of the Key Distribution Center (KDC) that verifies who you are and issues a Ticket Granting Ticket (TGT). | Authentication Service (AS) exchanges are where enumeration, spraying, and Authentication Service Reply (AS-REP) roasting happen. |
| AS-REP | Authentication Service Reply | The Key Distribution Center (KDC)'s answer containing the Ticket Granting Ticket (TGT) and a part encrypted with the user's key. | Without pre-auth, anyone can get one and crack it: Authentication Service Reply (AS-REP) roasting. |
| AS-REQ | Authentication Service Request | The first message: the client asks the Key Distribution Center (KDC) for a Ticket Granting Ticket (TGT), usually with pre-authentication data. | Its responses reveal valid usernames and wrong passwords. |
| ATT&CK | Adversarial Tactics, Techniques, and Common Knowledge | MITRE's catalog of attacker techniques. | Use its Identifiers (IDs) (T1558.003) to map findings and detections. |
| CFO | Chief Financial Officer | The executive responsible for finances. | A common readout audience who thinks in cost and business impact. |
| CISO | Chief Information Security Officer | The executive responsible for security. | Often the person you present findings to. |
| COO | Chief Operating Officer | The executive responsible for day-to-day operations. | Cares about downtime and the effort a fix will take. |
| CVE | Common Vulnerabilities and Exposures | The public catalog of vulnerability identifiers. | Common Vulnerabilities and Exposures (CVE) entry CVE-2026-20833 tracks the 2026 Rivest Cipher 4 (RC4) hardening. |
| CVSS | Common Vulnerability Scoring System | A standard 0 to 10 severity score. | Kerberoasting severity depends more on context than on a base score. |
| DC | Domain Controller | A server that holds a copy of the Active Directory (AD) database and runs the Key Distribution Center (KDC). | Every Kerberos event you'll investigate is logged on a Domain Controller (DC). |
| DES | Data Encryption Standard | A very old 56-bit cipher. | Removed from Windows Server 2025; if you find it enabled, it's a finding. |
| DFL | Domain Functional Level | The feature level of an Active Directory (AD) domain, tied to the oldest Domain Controller (DC) version allowed. | Advanced Encryption Standard (AES) keys exist only for passwords set after the 2008 level. |
| dMSA | delegated Managed Service Account | A Windows Server 2025 account type for migrating legacy service accounts to managed ones. | Useful, but the 2025 BadSuccessor research shows its setup needs tight permissions. |
| DNS | Domain Name System | Translates names to Internet Protocol (IP) addresses. | Kerberos needs names; Domain Name System (DNS) problems cause fallback to NT LAN Manager (NTLM). |
| EDR | Endpoint Detection and Response | Security software that monitors endpoints for malicious behavior. | May catch roasting tools on the host; complements Domain Controller (DC) logs. |
| FAST | Flexible Authentication Secure Tunneling | Kerberos armoring: wraps Authentication Service (AS) exchanges in a protected channel. | Hardens pre-auth against offline attacks; covered in Part 3. |
| gMSA | group Managed Service Account | A managed service account usable by several servers, with a 240-byte password rotated by Active Directory (AD). | The standard fix for Kerberoasting. |
| GOAD | Game of Active Directory | An open-source vulnerable Active Directory (AD) lab project by Orange Cyberdefense. | A fast way to practice these attacks and find their logs. |
| GPO | Group Policy Object | A bundle of settings pushed to computers and users in Active Directory (AD). | Where audit policy and allowed encryption types are configured. |
| GPU | Graphics Processing Unit | Hardware that runs many calculations in parallel. | Password cracking runs on Graphics Processing Units (GPUs). |
| HMAC | Hash-based Message Authentication Code | A keyed checksum that proves data wasn't altered. | Part of every Kerberos encryption type's integrity protection. |
| HTTP | Hypertext Transfer Protocol | The web protocol. | Web apps using Windows authentication have Hypertext Transfer Protocol (HTTP) Service Principal Names (SPNs), often on service accounts. |
| ID | Identifier | A label that identifies something, such as an event type. | You'll cite event Identifiers (IDs) constantly. |
| IIS | Internet Information Services | Microsoft's web server. | Internet Information Services (IIS) application pools often run as service accounts with Hypertext Transfer Protocol (HTTP) Service Principal Names (SPNs). |
| IP | Internet Protocol | The addressing scheme for networks; an Internet Protocol (IP) address identifies a host. | Connecting by Internet Protocol (IP) instead of name usually forces NT LAN Manager (NTLM). |
| IT | Information Technology | The function that runs computers and networks. | Usually owns service accounts, often without a named person. |
| KB | Knowledge Base | Microsoft's numbered support articles. | Knowledge Base (KB) article KB5073381 documents the Rivest Cipher 4 (RC4) rollout phases. |
| KDC | Key Distribution Center | The Kerberos server that checks identity and issues tickets. On Windows it runs on every Domain Controller (DC). | It knows every account's key, so it is the heart of domain trust. |
| KDS | Key Distribution Service | The Active Directory (AD) service that generates group Managed Service Account (gMSA) passwords from a forest-wide root key. | You need a Key Distribution Service (KDS) root key before you can create group Managed Service Accounts (gMSAs). |
| KVNO | Key Version Number | A counter that increases each time an account's password, and so its key, changes. | Explains "ticket worked yesterday, fails today" after a password change. |
| LAN | Local Area Network | A network covering one site or building. | Appears in the name NT LAN Manager (NTLM). |
| LDAP | Lightweight Directory Access Protocol | The protocol used to query Active Directory (AD). | Attackers use it to find accounts with Service Principal Names (SPNs) or without pre-auth. |
| LSA | Local Security Authority | The Windows subsystem that handles authentication and security policy. | Kerberos tickets are cached here. |
| LSASS | Local Security Authority Subsystem Service | The process (lsass.exe) that implements Local Security Authority (LSA) and, on Domain Controllers (DCs), the Key Distribution Center (KDC). | Ticket theft targets its memory (Part 2). |
| MD4 | Message Digest 4 | An obsolete hash function used to compute the New Technology (NT) hash. | Fast to compute, so fast to brute-force. |
| MDI | Microsoft Defender for Identity | Microsoft's product that watches Domain Controller (DC) traffic and logs for identity attacks. | Has built-in alerts for Kerberoasting and Authentication Service Reply (AS-REP) roasting. |
| MFA | Multi-Factor Authentication | Logging in with more than one kind of proof. | Does not protect service account passwords from offline cracking. |
| MIT | Massachusetts Institute of Technology | The university where Kerberos was created. | Background; the Massachusetts Institute of Technology (MIT) dialogue is a great intro. |
| MSA | Managed Service Account | A service account whose password Windows manages, for one computer. | Removes human-chosen passwords from services. |
| NT | New Technology | From Windows New Technology (NT). The "NT hash" is the Message Digest 4 (MD4) hash of a password used by NT LAN Manager (NTLM) and as the Rivest Cipher 4 (RC4) Kerberos key. | Rivest Cipher 4 (RC4) key equals New Technology (NT) hash, which is why RC4 tickets crack fast. |
| NTLM | NT LAN Manager | Microsoft's older challenge-response authentication protocol. | Kerberos falls back to it, and it has its own relay and cracking risks. |
| NTP | Network Time Protocol | Keeps computer clocks synchronized. | Kerberos fails if clocks drift more than 5 minutes. |
| PAC | Privilege Attribute Certificate | Microsoft's authorization data inside tickets: the user's Security Identifier (SID), group SIDs, and more, signed by the Key Distribution Center (KDC). | Services decide access from it; forging it is Part 2 material. |
| PAM | Privileged Access Management | Tools and processes for controlling and vaulting powerful credentials. | A good home for service account passwords that must stay manual. |
| PBKDF2 | Password-Based Key Derivation Function 2 | Turns a password into a key by hashing it thousands of times with a salt. | Why Advanced Encryption Standard (AES) Kerberos keys are much slower to crack than Rivest Cipher 4 (RC4). |
| PDC | Primary Domain Controller | Here, the Primary Domain Controller (PDC) emulator role: the Domain Controller (DC) that is the domain's authoritative time source. | Fix time at the Primary Domain Controller (PDC) emulator to fix skew errors. |
| PKINIT | Public Key Cryptography for Initial Authentication | A Kerberos extension that lets clients get a Ticket Granting Ticket (TGT) with a certificate (smart cards, Windows Hello for Business). | Links certificate attacks to Kerberos; a later topic. |
| RC4 | Rivest Cipher 4 | An old stream cipher. In Kerberos its key is the unsalted New Technology (NT) hash. | Disabled by default on updated Domain Controllers (DCs) in 2026; explicit exceptions remain fast to crack. |
| RFC | Request for Comments | A published internet standard document. | Request for Comments (RFC) 4120 defines Kerberos V5. |
| S4U | Service for User | Microsoft Kerberos extensions that let a service get tickets on behalf of a user. | The engine behind constrained delegation, covered in Part 3. |
| SHA | Secure Hash Algorithm | A family of hash functions (SHA-1, SHA-2). | Used inside Advanced Encryption Standard (AES) key derivation and ticket integrity checks. |
| SID | Security Identifier | A unique value that identifies a user, group, or computer in Windows. | Group Security Identifiers (SIDs) in the Privilege Attribute Certificate (PAC) are what grant access. |
| SIEM | Security Information and Event Management | A system that collects and correlates logs. | Where 4769 and 4768 alerts should live. |
| SMB | Server Message Block | Windows file sharing protocol. | A common service authenticated with Kerberos (cifs Service Principal Names (SPNs)). |
| SOC | Security Operations Center | The team that monitors and responds to alerts. | They need tuned rules, not raw 0x17 noise. |
| SPN | Service Principal Name | A unique name for a service instance, such as MSSQLSvc/sql01:1433, mapped to the account that runs it. | An Service Principal Name (SPN) on a user account makes that account Kerberoastable. |
| SQL | Structured Query Language | Database query language; here, Microsoft Structured Query Language (SQL) Server. | Structured Query Language (SQL) Server service accounts are classic Kerberoasting targets. |
| SSO | Single Sign-On | Log in once, access many systems. | The business reason Kerberos exists. |
| ST | Service Ticket | A ticket for one specific service, encrypted with that service account's key. | The thing Kerberoasting cracks. |
| TCP | Transmission Control Protocol | Reliable, connection-based network transport. | Windows Kerberos mostly uses Transmission Control Protocol (TCP) port 88. |
| TGS | Ticket Granting Service | The part of the Key Distribution Center (KDC) that swaps a Ticket Granting Ticket (TGT) for a ticket to a specific service. Often used loosely to mean the service ticket itself. | Ticket Granting Service (TGS) exchanges are where Kerberoasting happens. |
| TGS-REP | Ticket Granting Service Reply | The Key Distribution Center (KDC)'s answer containing the service ticket. | The service ticket inside it is the Kerberoasting target. |
| TGS-REQ | Ticket Granting Service Request | The client sends its Ticket Granting Ticket (TGT) and an Service Principal Name (SPN) to request a service ticket. | Any authenticated user can send one for any Service Principal Name (SPN). |
| TGT | Ticket Granting Ticket | The master ticket you get at logon, encrypted with the krbtgt key. You show it to get service tickets. | Stealing or forging Ticket Granting Tickets (TGTs) is a Part 2 topic; understanding them is required now. |
| UDP | User Datagram Protocol | Connectionless network transport. | Kerberos can use User Datagram Protocol (UDP) 88 for small messages. |
| UPN | User Principal Name | A user's logon name in email-like form, such as jdoe@corp.example.com. | One of the name forms Kerberos accepts for users. |
Test yourself
Flashcards
Quiz
Fifteen questions, mostly scenarios. Feedback appears as soon as you choose.
Conversation drills
Say or type your answer first, then compare with the sample.
Export cards
Basic cards (Quizlet and Anki Basic)
Anki cloze cards
My private notebook
Personal notes and bookmarks are private. Unsaved text is temporarily kept in this tab’s browser storage to recover supported sign-in redirects and reloads. Closing the tab may lose unsaved text.
Checking sign-in…