























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!
























Outline Authentication
Lecture 18
Michael J. Fischer Department of Computer ScienceYale University
March 29, 2010
Outline Authentication
(^1) Authentication While Preventing Impersonation Challenge-response authentication protocols Feige-Fiat-Shamir Authentication Protocol
A fundamental problem with all of the password authentication schemes discussed so far is that Alice reveals her secret to Bob every time she authenticates herself. This is fine when Alice trusts Bob but not otherwise. After authenticating herself once to Bob, then Bob can masquerade as Alice and impersonate her to others.
When neither Alice nor Bob trust each other, there are two requirements that must be met: (^1) Bob wants to make sure that an impostor cannot successfully masquerade as Alice. (^2) Alice wants to make sure that her secret remains secure. At first sight these seem contradictory, but there are ways for Alice to prove her identity to Bob without compromising her secret.
In a challenge-response protocol, Bob presents Alice with a challenge that only the true Alice (or someone knowing Alice’s secret) can answer. Alice answers the challenge and sends her answer to Bob, who verifies that it is correct. Bob learns the response to his challenge but Alice never reveals her secret. If the protocol is properly designed, it will be hard for Bob to determine Alice’s secret, even if he chooses the challenges with that end in mind.
A challenge-response protocol can be built from a digital signature scheme (SA, VA). (The same protocol can also be implemented using a symmetric cryptosystem with shared key k.) Alice Bob
We explore some ways that Alice might limit Bob’s ability to carry out a chosen plaintext attack. Instead of letting Bob choose the string r for Alice to sign, r is constructed from two parts, r 1 and r 2. r 1 is chosen by Alice; r 2 is chosen by Bob. Alice chooses first. Alice Bob
The idea is that neither party should be able to control r. Unfortunately, that idea does not work here because Bob gets r 1 before choosing r 2. Instead of choosing r 2 randomly, a cheating Bob can choose r 2 = r ⊕ r 1 , where r is the string that he wants Alice to sign. Thus, try 1 is no more secure against chosen plaintext attack than the original protocol.
Now Alice has complete control over r. No matter how Bob chooses r 2 , Alice choice of a random string r 1 ensures that r is also random. This thwarts Bob’s chosen plaintext attack since r is completely random. Thus, Alice only signs random messages.
Unfortunately, try 2 is totally insecure against active eavesdroppers. Why?
Unfortunately, try 2 is totally insecure against active eavesdroppers. Why? Suppose Mallory listens to a legitimate execution of the protocol between Alice and Bob. From this, he easily acquires a valid signed message (r 0 , s 0 ). How does this help Mallory? Mallory sends r 1 = r 0 ⊕ r 2 in step 2 and s = s 0 in step 4. Bob computes r = r 1 ⊕ r 2 = r 0 in step 3, so his verification in step 4 succeeds. Thus, Mallory can successfully impersonate Alice to Bob.
Possible improvements to both protocols. (^1) Let r = r 1 · r 2 (concatenation). (^2) Let r = h(r 1 · r 2 ), where h is a cryptographic hash function. In both cases, neither party now has full control over r. This weakens Bob’s ability to launch a chosen plaintext attack if Alice chooses first. This weakens Mallory’s ability to impersonate Alice if Bob chooses first.
In all of the challenge-response protocols above, Alice releases some partial information about her secret by producing signatures that Bob could not compute by himself. The Feige-Fiat-Shamir protocol allows Alice to prove knowledge of her secret without revealing any information about the secret itself. Such protocols are called zero knowledge, which we will discuss in subsequent lectures.
Alice authenticates herself by successfully completing several rounds of a protocol that requires knowledge of a secret s. In a single round, protocol, Bob has at least a 50% chance of catching an impostor Mallory. By repeating the protocol t times, the error probability (that is, the probability that Bob fails to catch Mallory) drops to 1/ 2 t^. This can be made acceptably low by choosing t to be large enough. For example, if t = 20, then Mallory has only one chance in a million of successfully impersonating Alice.