BufferLab/AttackLab

Lab Assignment L3: The Attack Lab: Understanding Buffer Overflow Bugs (a.k.a. Buffer Lab)

Assigned: Oct. 23th, Due: Friday, Nov. 4th. 11:55 PM

Download the Technical Manual here

Introduction:

This assignment involves generating a total of five attacks on two programs having different security vulnerabilities. Outcomes you will gain from this lab include:

Get Your Files

You can obtain your files by pointing your Web browser at:

http://cs33.seas.ucla.edu:18213/

The server will build your files and return them to your browser in a tar file called targetk.tar, where k is the unique number of your target programs.

Note:

It takes a few seconds to build and download your target, so please be patient. Save the targetk.tar file in a (protected) Linux directory in which you plan to do your work. Then give the command:

linux> tar -xvf targetk.tar.

This will extract a directory targetk containing the files described below. You should only download one set of files. If for some reason you download multiple targets, choose one target to work on and delete the rest.

Warning:

If you expand your targetk.tar on a PC, by using a utility such as Winzip, or letting your browser do the extraction, you’ll risk resetting permission bits on the executable files. The files in targetk include:

In the following instructions, we will assume that you have copied the files to a protected local directory, and that you are executing the programs in that local directory.

Getting Started

Once you have the lab files, you can begin to attack. To get started, download the pdf linked below. It is a technical manual which is a guide to to help complete each section of the lab.

Download the Technical Manual here

Logistics

As usual, this is an individual project. You will generate attacks for target programs that are custom generated for you.

Handin

There is no explicit handin. The system will notify your instructor automatically about your progress as you work on it. You can keep track of how you are doing by looking at the class scoreboard at:

http://cs33.seas.ucla.edu:18213/scoreboard