Network Security (Spring 2007) Homework 5

This homework is due at the beginning of class on 4/19, 2007.

  1. Write a program with a buffer/stack overflow bug. Then design and implement an attack that exploits the bug. You need to submit the program and the attack code, with a description of how the program and the attack work. The program and the attack must run on a PC. The TA must be able to compile and run your program and then launch the attack.

  2. Write a program with a heap overflow bug. Then design an attack that exploits the bug. You need to submit the program and the attack code, with a description of how the program and the attack work. The program and the attack must run on a PC. The TA must be able to compile and run your program and then launch the attack.
Submission guidelines:

Submit by e-mailing the tar file to the TA with "CS6262 hw5" in the subject line.