- tags
- Network authentication, Cryptography
- resources
- Main page, Computerphile video
Kerberos is a centralized authentication protocol that uses symmetric encryption as its main way of ensuring online privacy on a network with a trusted central entity (e.g. a corporate network).
A central server must have long term keys for every user on the network. It uses these keys to securely issue session keys with other devices on the network thanks to a Ticket-granting server (TGS).
The protocol goes something like this:
- New user
Aon the network with long term key shared with the authentication server- Sends a
TGSrequest to the authentication serverS. - If
Sdoes have a key withA, \(K_{\mathtt{AS}}\), it generates a key \(K_{\mathtt{A,TGS}}\) and sends back two messages.- A message containing \(K_{\mathtt{A,TGS}}\) encrypted with \(K_{\mathtt{AS}}\) to be read by
A. - Another message encrypted with
SandTGSshared key containing \(K_{\mathtt{A,TGS}}\) to be read byTGS.
- A message containing \(K_{\mathtt{A,TGS}}\) encrypted with \(K_{\mathtt{AS}}\) to be read by
- Therefore,
Anow has a key to communicate with theTGSand a unreadable ticket-granting ticket thatTGSwill decrypt and use to communicate withA.
- Sends a
- User
Awants to communicate with userBAsends a request toTGSencrypted with \(K_{\mathtt{A,TGS}}\) to communicate withB.- If
Bis known toTGS, it sends back a message encrypted with \(K_{\mathtt{A,TGS}}\) containing a generated session key \(K_{\mathtt{AB}}\) and another message containing the same key but encrypted with \(K_{\mathtt{B,TGS}}\). Aforwards the message encrypted with \(K_{\mathtt{B,TGS}}\) toBand may begin communicating securely withB.
This is an interesting protocol, which doesn’t use Public key encryption at all. It also uses only a key per device on the network, which is a lot less than a key per pair of devices.
Some of its drawbacks include the fact that its a single point of failure system, because every user relies on a central entity to communicate. It the TGS gets compromised or is taken down, communication is not possible anymore.