
CS 461: Introduction to Computer Security Spring 2007
Problem Set 3 Due Tuesday, Mar 13
1. Needham-Schroeder
Below are several variation of the Needham-Schroeder algorithm. For each variation, state whether the
protocol is secure; if it is, present an argument why it is so, if it is not, demonstrate an attack. (Note:
exclude from consideration attacks that assume Eve is able to get the session key from past sessions.)
(a)
Alice โCathy : Alice||Bob||r1
Cathy โAlice : {Alice||Bob||r1||ks||{Alice||ks||r1}kB}kA
Alice โBob : {Alice||ks||r1}kB||{r1}ks
Bob โAlice : {r1+ 1}ks
(b)
Alice โCathy : Alice||Bob||r1
Cathy โAlice : {Bob||ks||r1}kA||{Alice||ks}kB
Alice โBob : {Alice||ks}kB
Bob โAlice : {r2}ks
Alice โBob : {r2+ 1}ks
1