Docsity

EECS 690 Cryptography and Info Security Homework 2, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
EECS 690 Cryptography and Info Security
Homework 2
Handout date: March 1st, 2006
Due before class on Mar. 13th, 2006
1. (10 points) Suppose that the protocol of Question 3 of Homework 1 is modified so
that Step 5 now consists of: T Æ B: EBT (A, RB)
Also assume that Mallory has a machine to which Alice logs on using the same protocol.
Show how Mallory could illegally gain access to Alice's account on Bob's machine (give
the full details of how this is done).
Hints: Mallory tries to log on as "Alice" at the same time as Alice is trying to log on to
Mallory's machine. The attack would not be possible if, in steps 3 and 4 of the protocol,
EAT (RB) were replaced by EAT (B, RB).
This is an attack very similar to the chess problem. Remember the example the lady just
regenerates the plays between two chess masters?
2. (15 points) The following protocol for mutual authentication (using public key crypto)
between Alice, Bob, Mallory, and some other users assumes that they already have each
other's key certificates (from a trusted certificate authority). So the public keys are real.
(1) A Æ B: EB-pub (A, RA)
where RA is a random number generated by A and EB-pub (*) denotes encryption
with Bob's public key.
(2) B Æ A: EA-pub (RA, RB)
where RB is a random number generated by B.
(3) A Æ B: EB-pub (RB)
Show how Mallory could trick Bob into thinking he is Alice (give the full details
of how this is done).
Hint. Mallory does so as Alice engages in the protocol with him (i.e., he is Mallory to
her). The attack is also similar to the chess problem.
3. (15 points) A group of n people (assume they are numbered 1,2,..., n) want to jointly,
and randomly, choose a leader. That is, ideally everyone should have the same
probability of being chosen (even if a person is not popular at all, that person's
probability should be l/n). Design a solution to achieve this goal. A good start point is the
mental poker protocol. The requirement is that even if some of the parties collude and
try to control the result (the worst condition is n-1 people against one), they should
not succeed. Make sure you give a proof that everyone has probability l/n of being leader.
Also discuss how your solution is resistant to collusion, including the case when n - 1
people collude against one person. You do not need to consider the case when all n of
them collude (in that case they do not need a protocol of the kind considered here).

Partial preview of the text

Download EECS 690 Cryptography and Info Security Homework 2 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

EECS 690 Cryptography and Info Security Homework 2 Handout date: March 1st^ , 2006 Due before class on Mar. 13th^ , 2006

  1. (10 points) Suppose that the protocol of Question 3 of Homework 1 is modified so that Step 5 now consists of: T Æ B: EBT (A, RB )

Also assume that Mallory has a machine to which Alice logs on using the same protocol. Show how Mallory could illegally gain access to Alice's account on Bob's machine (give the full details of how this is done).

Hints: Mallory tries to log on as "Alice" at the same time as Alice is trying to log on to Mallory's machine. The attack would not be possible if, in steps 3 and 4 of the protocol, EAT (RB ) were replaced by EAT (B, R B ). This is an attack very similar to the chess problem. Remember the example the lady just regenerates the plays between two chess masters?

  1. (15 points) The following protocol for mutual authentication (using public key crypto) between Alice, Bob, Mallory, and some other users assumes that they already have each other's key certificates (from a trusted certificate authority). So the public keys are real.

(1) A Æ B: E B-pub (A, RA) where RA is a random number generated by A and E B-pub (*) denotes encryption with Bob's public key. (2) B Æ A: E A-pub (RA, RB ) where RB is a random number generated by B. (3) A Æ B: E B-pub (RB )

Show how Mallory could trick Bob into thinking he is Alice (give the full details of how this is done). Hint. Mallory does so as Alice engages in the protocol with him (i.e., he is Mallory to her). The attack is also similar to the chess problem.

  1. (15 points) A group of n people (assume they are numbered 1,2,..., n) want to jointly, and randomly, choose a leader. That is, ideally everyone should have the same probability of being chosen (even if a person is not popular at all, that person's probability should be l/n). Design a solution to achieve this goal. A good start point is the mental poker protocol. The requirement is that even if some of the parties collude and try to control the result (the worst condition is n-1 people against one), they should not succeed. Make sure you give a proof that everyone has probability l/n of being leader. Also discuss how your solution is resistant to collusion, including the case when n - 1 people collude against one person. You do not need to consider the case when all n of them collude (in that case they do not need a protocol of the kind considered here).