Authentication

Kerberos Explained: How Tickets Replace Passwords on the Network

June 17, 2026 9 min read Haven Team

Every time you log into a Windows domain and then open a file share, a printer, and an internal web app without typing your password again, Kerberos is doing the work. Designed at MIT in the 1980s and named after the three-headed dog guarding the underworld, it solved a problem that still defines enterprise security: how to prove who you are across a network without ever sending your password across it.


Kerberos is a network authentication protocol built on symmetric-key cryptography and a trusted third party. The current version, Kerberos 5, is standardized in RFC 4120 and underpins Microsoft Active Directory, many Linux and Unix environments, and a long tail of enterprise services. Its central insight is that a user should authenticate once to a central authority, then receive time-limited, cryptographically protected credentials — tickets — to present to individual services. The password never travels the network, and services never need to store it.

The Three Heads: KDC, TGT, and Service Tickets

At the center sits the Key Distribution Center (KDC), usually split into two logical services: the Authentication Server (AS) and the Ticket Granting Server (TGS). The KDC shares a long-term secret key with every user and every service in its realm. For users, that key is derived from their password; for services, it is a key stored in a keytab file.

Component Role
KDC Trusted authority that knows every principal's long-term key
TGT Ticket-Granting Ticket — proves you authenticated, lets you request service tickets
Service ticket Proves your identity to one specific service for a limited time
Authenticator A timestamp encrypted with the session key, proving you hold it right now

The Exchange, Step by Step

The protocol's elegance is best seen in sequence. Suppose Alice logs in and wants to access a file server.

Why timestamps are load-bearing

The authenticator is a timestamp encrypted with the session key. A captured ticket alone is useless without a fresh authenticator, which an attacker can't forge without the session key. This is also why Kerberos is famously sensitive to clock skew — by default, machines must agree on the time within five minutes, or tickets are rejected as potential replays.

What Kerberos Gets Right

Several properties made Kerberos durable for forty years:

Where It Breaks

Kerberos's age shows, and its failure modes are a staple of modern penetration tests against Active Directory.

The KDC is a single point of trust

The KDC knows everyone's keys. Compromise it — specifically, steal the key of the special krbtgt account that signs all TGTs — and an attacker can forge a "Golden Ticket": a TGT for any user, including domain admin, valid until the krbtgt key is rotated twice. This is among the most severe outcomes in enterprise security.

Offline cracking of weak secrets

Because tickets are encrypted with keys derived from passwords or service secrets, an attacker who captures the right ticket can attempt to crack it offline. Kerberoasting requests service tickets for accounts running services, then brute-forces the service account's password offline — devastating when service accounts have weak, non-expiring passwords. AS-REP roasting targets accounts configured without pre-authentication.

Pass-the-ticket

A ticket extracted from a compromised machine's memory can be replayed from another machine for its lifetime, much as stolen session tokens enable session hijacking on the web. Kerberos authenticates the ticket holder, and it cannot tell a legitimate holder from a thief.

Kerberos eliminated password transmission, but it relocated the risk to long-lived tickets and a central key store. The lesson generalizes: every authentication system trades one secret for another, and the security question is always "what is the new secret, and how well is it protected?"

Kerberos and the Broader Authentication Picture

Kerberos is a network-perimeter protocol: it assumes a trusted realm and a central authority. Modern identity has shifted toward token-based federation across organizational boundaries, and toward passkeys and other phishing-resistant credentials that bind authentication to public-key cryptography held on the user's device. The trajectory is away from any centrally held secret that, once stolen, unlocks everything.

That direction matters for privacy-focused systems. Haven deliberately avoids a Kerberos-style design where a central server holds the keys to everyone's identity. Instead, identity private keys are derived from and protected by a passphrase that never leaves the user's device, and the server stores only material it cannot use to impersonate anyone. There is no krbtgt-equivalent master key whose theft would compromise every account at once. Different problem, different era — but the same underlying question Kerberos forced the industry to ask in 1988: where does ultimate trust live, and what happens when that point falls?

Try Haven free for 15 days

Encrypted email and chat in one app. No credit card required.

Get Started →