Kerberos
Kerberos
Kerberos
Authentication Application
Authentication Protocol
Users wish to access services on servers.
used to convince each others identity and to
exchange session keys.
Require the user to prove his identity for each
service invoked
Require that servers prove their identity to clients
Provide security in a distributed architecture
consisting of dedicated user workstations
(clients), and distributed or centralized servers.
may be one-way or mutual.
Security Concerns
key concerns are
1. Confidentiality:-encrypt identification and
session key info.
2. Timestamp:- to prevent replay attacks.
by using sequence numbers
3
Kerberos
Authen-
Tication
Service
Gurukul
Desktop
USER Computer
Ticket
Granting
XYZ Service Service
Key
“I’d like to be allowed Distribution
to get tickets from the Center
Ticket Granting Server,
please.
Authen-
Tication
Service
UID
Gurukul
UID&PW Desktop
USER Computer
Ticket
Granting
XYZ Service Service
“Okay. I locked this box with
your secret password. If you
can unlock it, you can use its Key
contents to access my Ticket Distribution
Granting Service.” Center
Authen-
Tication
Service
Gurukul
Desktop
USER Computer
Ticket
Granting
XYZ Service Service
Key
Distribution
Center
Authen-
Tication
TGT Service
ord Gurukul
My Passw
Desktop
USER Computer
TGT
Because Gurukul was able to open the box
(decrypt a message) from the Authentication
Service, he/she is now the owner of a “Ticket-
Granting Ticket”.
A Kerberos Realm
Setof managed nodes that share the same Kerberos
database
To improve the performance
To over come failure issues due too single AS & TGS
Multiple Kerberi
Kerberos server in each realm shares a secret key
with one another
There must be trust between the servers
i.e. each server are registered with one another
Does not scale well
Kerberos Version 4
Pc=password of client
c + ID v
1- ID c+P
- Tic ket
2
3- I
D c +T
icke
t
Ticket=Ekv[IDc,ADc,IDv]
Henric Johnson 20
Strategies and Countermoves
What opponents of 4 can do
Wait for long-lived ticket-granting
tickets and then reuse
Capture service-granting tickets and
then use remaining time
Antitheft of ticket-granting tickets
AS provides both client with a secret,
securely
Done by sending a session key