

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 (one way to get EKE augmented):
A stores password pw W and Wโ are two keys obtained from pw (e.g., different hashes)
B stores ( A, Wโ, TAโ) where TAโ = gW^ mod-p
Public g and p (prime)
choose rn a TA ga^ mod-p send [A, B, Wโ{TA}] receive msg extract TA from Wโ{TA} using Wโ choose rn b TB gb^ mod-p KB (TA)b^ mod-p KBโ (TAโ)b^ mod-p H hash( KB , KBโ ) send [B, A, Wโ{TB}, H] receive msg extract TB from Wโ{TB} using Wโ KA (TB)a^ mod-p KAโ (TB)W^ mod-p verify H = hash(KA , KAโ) to authenticate B Hโ hashโ(KA , KAโ ), where hashโ is another hash function send [A, B, Hโ] receive msg verify Hโ = hashโ(KB, KBโ) to authenticate A
A and B are mutually authenticated and share strong key K = gab^ mod p
A (pw, public g, p ) // Alice B (A: W, public g, p) // Bob
generate random a generate W from pw TA ga^ mod-p send [A, B, W{TA}] receive msg extract TA from W{TA} using W generate random b, challenge CB TB gb^ mod-p KB (TA)b^ mod-p send [B, A, TB, CB] receive msg KA (TB)a^ mod-p generate challenge CA send [A, B, KA{CB}, CA] receive msg decrypt KA{CB} with KB; if it equals CB then A authenticated send [B, A, KB{CA}] receive msg decrypt KB{CA} with KA; if it equals CA then B authenticated
Solution Attacker: receive msg 1; generate b, CB, TB; send msg 2; receive msg 3. Do following with W{TA}, b, TB, CB, K{CB} where K = gab^ mod-p : for cPw in dictionary do { cW key from cPw; cTA decrypt W{TA} using cW; cK (cTA)b^ mod-p; cCB decrypt K{CB} using cK; if cCB = CB then cPw equals pw }
Fix: have B send evidence of K in msg 2, for example: