




























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!





























Part 3 Protocols 1
Part 3 Protocols 2
application
transport
network
link
physical
User
NIC
IPSec
Part 3 Protocols 4
o Mutual authentication o Establish shared symmetric key
encryption and/or integrity of IP packets
Part 3 Protocols 5
Part 3 Protocols 7
o Public key encryption (original version) o Public key encryption (improved version) o Public key signature o Symmetric key
o Main mode o Aggressive mode
Part 3 Protocols 8
o Public key signatures (main and aggressive modes) o Symmetric key (main and aggressive modes) o Public key encryption (main and aggressive)
o Always know your own private key o May not (initially) know other side’s public key
Part 3 Protocols 10
IKE Phase 1: Digital Signature
(Main Mode)
CP = crypto proposed, CS = crypto selected
IC = initiator “cookie”, RC = responder “cookie”
K = h(IC,RC,gab^ mod p,RA,RB)
SKEYID = h(RA, RB, gab^ mod p)
proofA = [h(SKEYID,ga,gb,IC,RC,CP,“Alice”)]Alice
Alice Bob
IC,RC, ga^ mod p, RA
IC,RC, E(“Alice”, proofA, K)
IC,RC, gb^ mod p, RB
IC,RC, E(“Bob”, proofB, K)
Part 3 Protocols 11
IKE Phase 1: Public Key
Signature (Aggressive Mode)
o Not trying to protect identities o Cannot negotiate g or p
Alice Bob
IC, “Alice”, ga^ mod p, RA, CP
IC,RC, “Bob”, RB, gb^ mod p, CS, proofB
IC,RC, proofA
Part 3 Protocols 13
IKE Phase 1: Symmetric Key
(Main Mode)
Same as signature mode except o KAB = symmetric key shared in advance o K = h(IC,RC,gab^ mod p,RA,RB,KAB) o SKEYID = h(K, gab^ mod p) o proofA = h(SKEYID,ga,gb,IC,RC,CP,“Alice”)
Alice Bob
IC,RC, ga^ mod p, RA
IC,RC, E(“Alice”, proofA, K)
IC,RC, gb^ mod p, RB
IC,RC, E(“Bob”, proofB, K)
Part 3 Protocols 14
o Alice sends her ID in message 5 o Alice’s ID encrypted with K o To find K Bob must know KAB o To get KAB Bob must know he’s talking to Alice!
Part 3 Protocols 16
IKE Phase 1: Public Key
Encryption (Main Mode)
CP = crypto proposed, CS = crypto selected
IC = initiator “cookie”, RC = responder “cookie”
K = h(IC,RC,gab^ mod p,RA,RB)
SKEYID = h(RA, RB, gab^ mod p)
proofA = h(SKEYID,ga,gb,IC,RC,CP,“Alice”)
Alice Bob
IC,RC, ga^ mod p, {RA}Bob, {“Alice”}Bob
IC,RC, E(proofA, K)
IC,RC, gb^ mod p, {RB}Alice, {“Bob”}Alice
IC,RC, E(proofB, K)
Part 3 Protocols 17
IKE Phase 1: Public Key
Encryption (Aggressive Mode)
o The only aggressive mode to hide identities o Then why have main mode?
Alice Bob
IC, CP, ga^ mod p, {“Alice”}Bob, {RA}Bob IC,RC, CS, gb^ mod p, {“Bob”}Alice, {RB}Alice, proofB
IC,RC, proofA
Part 3 Protocols 19
Trudy as Alice
Trudy as Bob
IC,RC, CS, gb^ mod p, {“Bob”}Alice, {RB}Alice, proofB
IC,RC, proofA
IC, CP, ga^ mod p, {“Alice”}Bob, {RA}Bob
Part 3 Protocols 20
o Plausible deniability: Alice and Bob can deny that any conversation took place!
o If Alice makes a purchase from Bob, she could later repudiate it (unless she had signed)