

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!


Spring 2008 – 22c:169 Computer Security Assignment 4 - due by Thursday, May 8
Problem 1: IPSec, which mode? (25 points) 1. IPSec has two modes, Transport and Tunnel. For each attack below, answer which mode(s) can defend against this attack, if any mode(s) can, or none of the above if not. Explain your answer, including where IPSec needs to be installed among sender, receiver, sender gateway, and receiver gateway in the Figure 1 below.
Figure 1: A sample configuration
Problem 1a (5 points) An attacker between gateways records packets in transit to find sender and receiver of certain flow.
Problem 1b (5 points) An attacker between gateways records packets in transit to find content of certain communication.
Problem 1c (5 points) An attacker in the same intranet as the sender records packets to find the receiver.
Problem 1d (5 points) An attacker in the same intranet as the sender impersonates the sender.
Problem 1d (5 points) An attacker in the same intranet as the receiver also receives the packets and find content of any communication coming to the receiver.
Problem 2: IPSec, which extension? (25 points) IPSec has two extensions to the original IP header, Authentication Header and Encapsulating Security Payload. For each attack above, explain which one defends against each attack, if any can, or none of the above if not. Explain your answer. (Write your answer separately as 2a, 2b, ... , 2d.)
Problem 3: Carol’s IKE (15 points) Carol decides to study IKE with the course slides, and read up to ”Almost-IKE” protocol on slide 17. Then she found out that B(Bob) needed to remember a secret value b for each connection, which leaves the defense against DoS attack not quite perfect despite using hashes. She changes the protocol as follows:
A → B : ga, A B computes b = hashKb(ga, A) B → A : gb, hashKb(gb, ga) and now B forgets b A → B : ga, gb, hashKb(gb, ga), EncK (sigA(ga, gb, B)) B computes b′^ = hashKb(ga, A), and computes gb
′ . If gb^ that A sent is the same as gb
′ , then B proceeds. B → A : gb, EncK (sigB (ga, gb, A))
Carol argues that this is as secure as the original protocol since the hashKb(ga, A) cannot be computed by anyone but Bob, as Kb is a secret. Would you agree with her or disagree? Explain your answer.
Problem 4: Dynamic Packet Filter (15 points) Read the document at http://www.cisco.com/univercd/cc/td/doc/product/iaabu/centri4/user/scf4ch3.htm. In the summary, they conclude Dynamic Packet Filter is more secure than circuit level but less secure than application layer filter. Explain why this is true with an example attack on a certain application (i.e. web browsing, mail client, FTP client, and so on), where dynamic packet filter will not catch this attack but application layer filter will.