


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!



Solution A ⊕ R is not secure: eavesdropper who discovers it also discovers A. {R + A}A is secure. {R}R+A is secure. {A}A is not secure: it is the same for all sessions.
Solution Essentially, replace NC by KA{NA, “A”, “B”}
A (Alice) KDC B (Bob) 1 generate nonces NA send [ A, B, KA{NA, A, B} ] to B
2
generate nonce NB send [ KB{NB, KA{NA, A, B}, A, B} ] to KDC
3
invent session key KAB extract NA, NB
4 send KA{NA, KAB} to A 5 send KAB{anything recognizable} to B <-------- A and B establish data session key (eg, (KAB+1){R 1 ⊕R 2 } ----->
When the KDC extracts NA and NB (step 3), it ensures that B is making the request, that A made the request that B is forwarding inside B’s request, and that A and B want to talk to each other. The nonce NB in B’s ticket ensures that the ticket is freshly created by KDC. The nonce NA in A’s ticket ensures that the ticket is freshly created by KDC.
Solution Alice picks a session key K and sends a signed message containing K encrypted by Bob’s public key and a timestamp ts. Bob responds with the timestamp ts encrypted with K.
A (Alice) B (Bob)
Solution Protocol 11-18 (Needham-Schroeder): N 1 must be unpredictable (otherwise Trudy can impersonate the KDC by giving Alice an old ticket to Bob with a key that Trudy had stolen earlier).
Protocol 11-19 (Expanded Needham-Schroeder) and protocol 11-21 (Kerberos): N 1 must be unpredictable.
Protocol 11-20 (Otway-Rees): NC must be unpredictable (explained in text).
Solution PFS; escrow foilage against passive attacks; escrow foilage against active attacks (unless signature key is escrowed); no identity hiding.
Solution Have Alice send her name, her public encryption key certificate, and her DIffie-Hellman value encrypted with Bob’s public key. Bob replies encrypted with Alice’s public key.
Solution Variant where attacker only learn’s initiator identity Messages 1 and 2: Diffie-Hellman exchange. Msg 3: initiator sends its id and proof of knowledge of shared key, encrypted with the Diffie-Hellman key. Msg 4: target sends its id and proof of knowledge of the shared key encrypted with the Diffie-Hellman key.
Variant where attacker only learn’s target’s identity Msg 1: Diffie-Hellman number. Msg 2: (a) Diffie-Hellman number and (b) target’s id and proof of knowledge of shared key, encrypted with Diffie-Hellman key. Msg 3: initiator sends its id and proof of knowledge of shared key, encrypted with the Diffie-Hellman key.