















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Lecture Slides of Computer and Network Security which includes Authorization, Social Security Number, Trouble with Passwords, Cryptographic Keys, Dictionary Attack, Bad Passwords, Password Experiment, Random Characters etc. Key important points are: Timestamps, Authentication Protocols, Security Protocols, Critical Parameter, Public Key Authentication, Sign and Encrypt, Authentication Systems, Trusted Intermediaries, Key Distribution Center
Typology: Slides
1 / 23
This page cannot be seen from the preview
Don't miss anything!
















Part 3 Protocols 1
Part 3 Protocols 2
o Like a nonce that both sides know in advance
Part 3 Protocols 4
Bob
“I’m Alice”, [{T,K}Bob]Alice
[{T +1,K}Alice]Bob
Alice
Part 3 Protocols 5
Bob
“I’m Trudy”, [{T,K}Bob]Trudy
[{T +1,K}Trudy]Bob
Trudy
Part 3 Protocols 7
Bob
“I’m Alice”, [{T,K}Bob]Alice
[{T +1}Alice]Bob
Alice
Key Distribution Center (KDC) Needham-Schroeder Otway-Rees
Part 3 Protocols 8
Part 3 Protocols 10
Part 3 Protocols 11
o Even though he gains no info about the secret
o Bob can verify that Alice knows the secret to an arbitrarily high probability
Part 3 Protocols 13
Bob: “Alice come out on S side”
Alice (quietly): “Open sarsparilla”
If Alice does not know secret…
If Bob repeats this n times, then Alice (who does not know secret) can only fool Bob with probability 1/2n
…then Alice could come out from the correct side with probability 1/
P
Q
R S
Part 3 Protocols 14
o Can we achieve same effect without a cave?
Part 3 Protocols 16
Public: Modulus N and v = S^2 mod N Alice selects random r Suppose Bob chooses e = Bob must verify that y^2 = xv mod N Alice must know S in this case
Alice secret S random r
Bob
x = r^2 mod N
e = 1
y = rS mod N
Part 3 Protocols 17
Public: Modulus N and v = S^2 mod N Alice selects random r Suppose Bob chooses e = 0 Bob must verify that y^2 = x mod N Alice does not need to know S in this case!
Alice secret S random r
Bob
x = r^2 mod N
e = 0
y = r mod N
Part 3 Protocols 19
o Public: v = S^2 o Alice to Bob: x = r^2 and y = rSe o Bob verifies y^2 = xve^ mod N
o If Trudy expects e = 0, she can send x = r^2 in msg 1 and y = r in msg 3 (i.e., follow protocol) o If Trudy expects Bob to send e = 1, she can send x = r^2 v^1 in msg 1 and y = r in msg 3
Part 3 Protocols 20
o If e = 0, Alice sends r in message 3 o If e = 1, Alice sends rS in message 3 o Anyone can find S given both r and rS