Kerberos was born out of MIT's Project Athena in the 1980s and named after Cerberus, the three-headed dog of Greek mythology. This episode traces the protocol's history and evolution, dissects the traditional authentication problems it set out to solve, and explains why Kerberos became the standard for enterprise network authentication.

In episode 0 you laid the foundation: cryptography and networking skills, and a lab topology with one KDC and two clients. Now it's time to understand why Kerberos exists. Every protocol is born to solve a real problem, and Kerberos was born from one of the most vexing problems in networking: how to prove identity without sending a password.
This episode will take you back to the MIT campus in the 1980s, introduce the characters behind Kerberos's name, and then dissect in detail the traditional authentication problems it set out to solve. By the end of this episode, you will understand why Kerberos dominates the enterprise — and why every modern authentication architecture still owes concepts to a protocol that is over 35 years old.
Kerberos was developed at MIT (Massachusetts Institute of Technology) in the mid-1980s as part of Project Athena — an ambitious initiative to connect thousands of campus workstations to centralized services such as email, file storage, and printing. At the time, a practical question arose that turned out to be very hard to answer: how could thousands of students and staff securely access many network services, without admins having to manage hundreds of password combinations, and without passwords crossing the network as raw text?
The answer had to be better than just "send the password to the server." A new protocol was needed that could prove identity cryptographically. That's where Kerberos was born.
The name Kerberos comes from Cerberus — in Greek mythology, the three-headed dog that guards the gates of the Underworld (Hades). The naming isn't a coincidence: Kerberos works with three parties — the client requesting access, the server providing the service, and the KDC mediating trust. Three heads, three roles, one protocol guarding the entrance to the network.
The name also reminds us of one of its design principles: Kerberos is a gatekeeper, not the keeper of what's inside the building. It ensures only authorized parties get through — just as Cerberus guards the gate, rather than judging what people do inside.
1980s Project Athena begins, the need for centralized authentication emerges
1989 Kerberos 4 is released
1993 Kerberos 5 is released, standardized as RFC 1510
2000s Microsoft adopts Kerberos 5 for Active Directory
2005 RFC 4120 updates the Kerberos 5 specification (the version we use)Kerberos 4 was the first protocol, but it had significant weaknesses: weak encryption and limited ticket lifetime handling. Kerberos 5 arrived in 1993 with fundamental improvements, then was standardized as RFC 1510 by the IETF. In 2005, the specification was updated to RFC 4120, which became the primary reference for modern implementations — including the one you'll install in episode 5.
Before Kerberos, network authentication was done in naive ways. Let's dissect the problems one by one — these are the real reasons Kerberos was needed.
The most fundamental problem: passwords were sent directly from client to server without encryption. Anyone who could sniff the network — with tools like tcpdump or Wireshark — could read passwords outright. This is like sending your credit card PIN through an open postcard.
Even if an attacker couldn't read the password contents, they could record the authentication conversation and replay it later — called a replay attack. You log in today, the attacker copies the packets, and next week the attacker "logs in" using that copy as if they were you.
Traditional protocols validated the client to the server, but not the other way around. The client could not prove it was talking to the right server, rather than a fake server set up by an attacker. This opens the door to man-in-the-middle: an attacker impersonates the server, captures your credentials, then forwards them to the real server.
Without a centralized authority, every service had to verify identity on its own — meaning every client-service pair needed its own credential relationship. With N clients and M services, N times M relationships were needed. In a company with 10,000 users and 500 services, that's 5 million password combinations to manage. Unreasonable.
Without Kerberos (every pair needs its own credential):
Client1 ──password──► Service A
Client1 ──password──► Service B
Client2 ──password──► Service A
Client2 ──password──► Service B (4 relationships for 2x2)
With Kerberos (one point of trust):
Client ──1x login──► KDC ──ticket──► Service A
──ticket──► Service B (1 login is enough)Many services used the same password in many places, so one compromised server contaminated everything. In the early Unix world, there was also .rhosts — a file declaring "who can log in without a password based on IP address." The problem is obvious: IP addresses can be spoofed, so IP-based trust is very fragile.
Kerberos answers all the problems above with one coherent design:
AP_REP on the server side).Tip
The easiest way to remember Kerberos's core: a password is a secret you keep, not a thing you send. Imagine entering an office with an ID card: you show the card to the lobby guard once, get a temporary badge, and then show that badge to every door inside the building — without ever repeating your personal data to each door. That's Kerberos SSO.
Kerberos is not a museum protocol. Microsoft's decision to make Kerberos 5 the core authentication mechanism of Active Directory (starting with Windows 2000) propelled it to become the de-facto enterprise standard. Today Kerberos runs in:
sec=krb5, krb5i, and krb5p.We'll dissect all these integrations one by one in phase 4 of this series, starting in episode 13.
This episode explained Kerberos's origins and the reason for its existence. Kerberos was born from MIT's Project Athena in the 1980s, named after the three-headed dog Cerberus, and evolved from Kerberos 4, through Kerberos 5 (RFC 1510), to RFC 4120 in 2005. It answered traditional authentication problems — plaintext passwords, replay attacks, lack of mutual authentication, the N times M problem, and dependence on .rhosts — with SSO, encrypted tickets, time-limited credentials, and centralized authentication.
Key points to take with you:
In the next episode, episode 2, we'll unpack Kerberos architecture and core concepts — what a realm, principal, KDC, ticket, TGT, session key, and trust model are. These concepts will become the shared language for all the practical episodes that follow. See you in the next episode!