Unit IV Kerberos
Unit IV Kerberos
Application
Authentication
Authentication means verifying identity and then we have send the message to the
receiver
Before starting the communication, sender should authenticated by the receiver and
receiver should be authenticated by the sender
Introduction to Kerberos
Provides
strong security on physically insecure network
3
Kerberos is a computer network authentication
protocol
Authentication server- Each user registers with AS and chooses a identity and
password. The AS has database with these identities and passwords. The AS verifies
the user, issues a session key to be used between user and TGS, and sends tickets
for the TGS.
Ticket granting server- The ticket granting server issues a ticket for real server.
It also provides the session key between user and server. Ticket contains the
user’s ID and network address and the server’s ID.
Ticket tgs =E(Ktgs [KC ,tgs || IDC || ADC || IDtgs || TS2 || Lifetime2 ])
AS responds with a message, encrypted with a key derived from the user’s password (KC),
that contains the ticket.
The encrypted message also contains a copy of the session key, KC ,tgs , where subscripts
indicate that this session key is shared between client and ticket granting server.
This session key is inside the message encrypted with KC , only the user’s can read it.
The same session key is included in the ticket, which can be read only by TGS.
The message is encrypted with the session key shared between TGS and C and includes
a session key to be shared between C and server, Identity of server, Ticket and
timestamp. The ticket includes same session key
If mutual authentication is required, the server returns the timestamp from the
Authenticator, incremented by 1, and encrypted in the session key.
Finally, at the conclusion of this process, the client and server share a secret key.
The Key can be used to encrypt future messages between the two.