





















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!






















David Wagner University of California, Berkeley
A, B, C, S: names of legitimate parties. (Short for: Alice, Bob, client, server.)
M : name of a malicious attacker. (Short for: Mallet.)
Do note:
k is a key; k−^1 is its inverse. For symmetric cryptosystems, k = k−^1 ; for public-key cryptos the public key and k−^1 the corresponding private key.
TA is a timestamp chosen by A. NA is an unpredictable random nonce (a “challenge”) chosen
What does the following notation mean?
Key exchange between A, B, with the aid of an online certifica
Can you spot the flaw?
Look closely:
The key kAB isn’t bound to the names of the endpoints A, B.
Therefore, B can extract the quantity [kAB, TA]K− 1 A
and use it
in a new connection to C, like this:
3 ′. B → C : certA, certC, {[kAB, TA]K− 1 A
As a result, C mistakenly concludes he is speaking with A.
Key exchange with mutual authentication:
}kAB
Can you spot the flaw?
Look closely:
}kAB
Alice will sign anything with her private key.
Fix: replace [NB]K− 1 A
with [A, B, NA, NB]K− 1 A
}kAB
Moral: Don’t let yourself be used as a signing oracle. Add randomness—and bind names—before signing.
Credits: Abadi
A is cellphone handset, B is a base station.
, {data}k
where k = f (KAB, NB) is the voice privacy key.
Can you spot the weakness?
Look again:
Example: Proving yourself by sending a password.
Attacker M intercepts Alice’s encrypted password: