







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Part 3 Protocols 1
Part 3 Protocols 2
In Greek mythology, Kerberos is 3-headed dog that guards entrance to Hades o “Wouldn’t it make more sense to guard the exit?”
In security, Kerberos is an authentication system based on symmetric key crypto o Originated at MIT o Based on work by Needham and Schroeder o Relies on a trusted third party (TTP)
Part 3 Protocols 4
Kerberos Key Distribution Center or KDC
o Acts as a TTP o TTP must not be compromised! o KDC shares symmetric key KA with Alice, key KB with Bob, key KC with Carol, etc. o Master key KKDC known only to KDC o KDC enables authentication and session keys o Keys for confidentiality and integrity o In practice, the crypto algorithm used is DES
Part 3 Protocols 5
KDC issues a ticket containing info needed to access a network resource
KDC also issues ticket-granting tickets or TGTs that are used to obtain tickets
Each TGT contains
o Session key o User’s ID o Expiration time
Every TGT is encrypted with KKDC
o TGT can only be read by the KDC
Part 3 Protocols 7
Alice
Alice’s
Alice wants
password
a TGT E(SA,TGT,KA)
KDC
Key KA derived from Alice’s password KDC creates session key SA Workstation decrypts SA, TGT, forgets KA TGT = E(“Alice”,SA, KKDC)
Computer
Part 3 Protocols 8
Alice
Talk to Bob
I want to talk to Bob REQUEST REPLY KDC REQUEST = (TGT, authenticator) where authenticator = E(timestamp,SA) REPLY = E(“Bob”,KAB,ticket to Bob, SA) ticket to Bob = E(“Alice”,KAB,KB) KDC gets SA from TGT to verify timestamp
Computer
Part 3 Protocols 10
Session key SA used for authentication
Can also be used for confidentiality/integrity
Timestamps used for mutual authentication
Recall that timestamps reduce number of messages o Acts like a nonce that is known to both sides o Note: time is a security-critical parameter!
Part 3 Protocols 11
When Alice logs in, KDC sends E(SA,TGT,KA) where TGT = E(“Alice”,SA,KKDC) Q: Why is TGT encrypted with KA? A: Extra work and no added security!
In Alice’s Kerberized login to Bob, why can Alice remain anonymous?
Why is “ticket to Bob” sent to Alice?
Where is replay prevention in Kerberos?
Part 3 Protocols 13
In Kerberos, KA = h(Alice’s password)
Could instead generate random KA and o Compute Kh = h(Alice’s password) o And workstation stores E(KA, Kh)
Then KA need not change (on workstation or KDC) when Alice changes her password
But E(KA, Kh) subject to password guessing
This alternative approach is often used in applications (but not in Kerberos)