Use it when hardening a domain, reviewing service accounts, or investigating suspected ticket abuse.
Kerberos
Kerberos tickets are encrypted with keys derived from account passwords: ticket-granting tickets with the krbtgt key, service tickets with the service account's key. The well-known attacks on Active Directory go after those keys.
1. Kerberos: AS (TGT) and TGS (service tickets) from the KDC.
2. Clock skew max 5 minutes.
3. SPNs map services to accounts.
4. AES only (disable RC4).
5. krbtgt key protects all tickets — rotate.
client → AS-REQ → TGT → TGS-REQ → service ticket → service
Context & applicabilityCommon mistakes · platform/version boundaries
- "Kerberos is secure, so the passwords behind it matter less." A ticket is only as strong as the password its key is derived from.
- "Only administrators can request service tickets." Any authenticated user can, for any service.
- "Changing the
krbtgtpassword once removes forged tickets." The previous password is still accepted; change it twice. - "A service account with a password that never expires is fine if nobody knows it." It can be guessed offline without a single failed logon.
- "Delegation is a convenience setting." Unconstrained delegation lets that server act as any user who connects to it.
- "No failed logons in the log means no attack." Offline guessing and ticket forgery produce none.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification Verify boundary
Ticket-based authentication, SPNs, trust/time/DNS dependencies and failure analysis.
Fast verification
- Verify DNS/DC discovery and clock skew, then inspect tickets with
klist.
- Check SPN uniqueness/ownership when a specific service cannot obtain a valid ticket.
- Distinguish KDC reachability, ticket issuance, service decryption and application authorization.
Step 2 Verification & troubleshooting Narrow the fault
Path: Security → Active Directory Security → Kerberos. Local intent: Kerberos reference under Active Directory Security in the Security Domain.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Any domain user can request a service ticket and try to guess the service account's password offline — so service accounts need long random passwords, or group managed service accounts. Disable RC4. Avoid unconstrained delegation. After a compromise, reset krbtgt twice.
klist— cached ticketssetspn -Q */<host>— SPNsGet-WinEvent -FilterHashtable @{LogName='Security';Id=4768,4769,4771} -MaxEvents 20— Kerberos events
ReferenceWhat it is1 section · depth on demand
Mental model
Kerberos is the ticket-based authentication protocol of Active Directory. From a security point of view its strength — tickets encrypted with keys derived from account passwords — is also where it is attacked: whoever obtains such a key, or can guess the password behind it, can forge or decrypt tickets.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
Several of the best-known attacks on Active Directory target Kerberos and not a software flaw: they exploit weak service account passwords, old encryption types and over-broad delegation. They are prevented by configuration and hygiene, and detected in the domain controllers' security log.
ReferenceHow it works1 section · depth on demand
How it works
The keys that matter. A ticket-granting ticket is encrypted with the key of the krbtgt account; a service ticket with the key of the account that runs the service. Each key is derived from that account's password.
How this is abused, and the defence.
| Attack | What it exploits | Defence |
|---|---|---|
| Kerberoasting | Any domain user can request a service ticket and try to guess the service account's password offline | Long random passwords on service accounts; group managed service accounts; AES only |
| AS-REP roasting | Accounts with pre-authentication disabled hand out material that can be guessed offline | Never disable pre-authentication |
| Golden ticket | With the krbtgt key, any ticket for any user can be forged | Protect domain controllers; reset the krbtgt password twice after a compromise |
| Silver ticket | With a service account's key, tickets for that service can be forged | Strong, rotated service account passwords |
| Pass-the-ticket | A ticket stolen from a computer's memory is reused elsewhere | Keep privileged accounts off ordinary computers; Credential Guard |
| Delegation abuse | A service trusted for unconstrained delegation receives users' tickets and can act as them anywhere | Use constrained or resource-based delegation; mark administrators "sensitive and cannot be delegated" |
Encryption types. RC4 keys are derived from the password without a salt and are far easier to attack than AES. Disable RC4 where possible, and make sure service accounts have AES keys.
Hardening.
- Service accounts: group managed service accounts, whose passwords are long, random and rotated automatically.
- Privileged users: the *Protected Users* group, which enforces AES, forbids delegation and shortens ticket lifetime.
- Tiering: domain administrators log on only to domain controllers and dedicated administration hosts.
- Rotate the
krbtgtpassword periodically — twice, with an interval, since the previous password remains valid.
Detection on domain controllers, in the Security log:
| Event | Meaning | Look for |
|---|---|---|
| 4768 | Ticket-granting ticket requested | Failures; requests without pre-authentication |
| 4769 | Service ticket requested | Many requests from one account; RC4 encryption type (0x17) |
| 4771 | Pre-authentication failed | Password guessing |
Finding exposure. setspn -Q */* lists the accounts with service names — the possible Kerberoasting targets; user accounts among them deserve the strongest passwords.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Active Directory Security → Kerberos. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows/security/ · confidence 94%