


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!



This homework has two parts: one part with a set of theory questions and a programming part. Programming can be done in either C or Java. Submissions should include the annotated source code. Programs that do not compile will get a low grade. Make sure your programs do not crash when given bad input, but rather produce a useful warning or error message and take the appropriate action (recover or quit).
The compressed files (either tar or zip) will be submitted using email to [email protected].
A compressed (zip or tar, and gzipped) file named {your last name}- hw3.tgz or {your last name}-hw3.zip containing a subdirectory for each problem, named p1, p2, etc. Each subdirectory should contain:
required.
Please make sure that you send me a single compressed file with all the documents and code. The compressed file should not exceed 1MB.
In this problem you will learn to use Snort, a popular intrusion detection system.
Read the Snort user’s manual and FAQ at http://www.snort.org/docs Command-line switches that you should pay particular attention to include the following:
-r tf Read and process tcpdump file
-l ld Log to directory
Snort will fail without these arguments, unless you have root privileges on your machine. Use the traffic dump file, hw3.dmp (described below) as the argument to the -r switch and a directory of your choosing for -l.
Detect an intrusion
Download hw3.dmp from the course website. This file contains a tcpdump listing of all the traffic (some interesting, some not so interesting) to and from nefeli.cs.columbia.edu.
Your goal is to determine what attacks , if any, this machine made or sustained during the duration of the traffic recording.
After making sure that you have created an appropriate log directory (see above!), run Snort on an appropriately defined set of snort.conf files to detect the following: