Docsity

Assignment for Network Security | CS 6262, Assignments of Cryptography and System Security

Toggle sidebar
bg1
Page 1
CS 6262 Homework 1
This homework has two parts. Please work individually.
The completed homework is due by 5:00 p.m. Atlanta local time on Thursday, August 30.
Students submitting solutions after the due date but before 5:00 p.m. Atlanta local time
on Saturday, September 1 will have their score scaled by 0.7. No solutions will be
accepted after 5:00 p.m. on September 1.
Solutions should be submitted to t-square. Submit typed responses to Part 1 as inline text.
Submit a tarball or zip file for Part 2 as an attachment. In the event of difficulty
submitting material to t-square, immediately email your solutions to both Parts 1 and 2 to
Maria.
Part 1 (Written exercises)
1. (7 points) Classify each of the following as a violation of confidentiality, of
integrity, of availability, of authenticity, or of some combination of those.
a. John finds a copy of his course’s midterm exam in the copy room the day before
the exam, and he uses it to prepare his answers ahead-of-time.
b. Using an axe, Vinod cuts the power cord to the coke machine in the hallway.
c. Carol changes the amount of Angelo's check from $100 to $1000.
d. Gina forges Roger's signature on a deed.
e. Rhonda registers the domain name "AddisonWesley.com" and refuses to let the
publishing house buy or use that domain name.
f. Jonah obtains Peter's credit card number, and has the credit card company
cancel the card while Peter is overseas and carrying no cash.
g. Henry spoofs Julie's email address and sends a nasty letter to her boss. She gets
fired.
2. (7 points) Identify mechanisms to implement the following. State what policy or
policies the mechanisms might be enforcing.
a. A password changing program will reject passwords shorter than 5 characters
long or that are found in the dictionary.
b. Only students in a Computer Science class will be given accounts on the
department's computer system.
c. The login program will disallow logins of any students who enter their
passwords incorrectly 3 times.
d. The permissions of the file containing Carol's homework will prevent Robert
from cheating and copying it.
e. When World Wide Web traffic climbs to over 80% of the network's capacity,
systems will disallow any further communications to or from Web servers.
f. Annie, a system analyst, will be able to detect a student using a program to scan
her system for vulnerabilities.
g. A program used to submit homework will turn itself off just after the due date.
pf2

Partial preview of the text

Download Assignment for Network Security | CS 6262 and more Assignments Cryptography and System Security in PDF only on Docsity!

Page 1

CS 6262 Homework 1

This homework has two parts. Please work individually. The completed homework is due by 5:00 p.m. Atlanta local time on Thursday, August 30. Students submitting solutions after the due date but before 5:00 p.m. Atlanta local time on Saturday, September 1 will have their score scaled by 0.7. No solutions will be accepted after 5:00 p.m. on September 1. Solutions should be submitted to t-square. Submit typed responses to Part 1 as inline text. Submit a tarball or zip file for Part 2 as an attachment. In the event of difficulty submitting material to t-square, immediately email your solutions to both Parts 1 and 2 to Maria.

Part 1 (Written exercises)

  1. (7 points) Classify each of the following as a violation of confidentiality, of integrity, of availability, of authenticity, or of some combination of those. a. John finds a copy of his course’s midterm exam in the copy room the day before the exam, and he uses it to prepare his answers ahead-of-time. b. Using an axe, Vinod cuts the power cord to the coke machine in the hallway. c. Carol changes the amount of Angelo's check from $100 to $1000. d. Gina forges Roger's signature on a deed. e. Rhonda registers the domain name "AddisonWesley.com" and refuses to let the publishing house buy or use that domain name. f. Jonah obtains Peter's credit card number, and has the credit card company cancel the card while Peter is overseas and carrying no cash. g. Henry spoofs Julie's email address and sends a nasty letter to her boss. She gets fired.
  2. (7 points) Identify mechanisms to implement the following. State what policy or policies the mechanisms might be enforcing. a. A password changing program will reject passwords shorter than 5 characters long or that are found in the dictionary. b. Only students in a Computer Science class will be given accounts on the department's computer system. c. The login program will disallow logins of any students who enter their passwords incorrectly 3 times. d. The permissions of the file containing Carol's homework will prevent Robert from cheating and copying it. e. When World Wide Web traffic climbs to over 80% of the network's capacity, systems will disallow any further communications to or from Web servers. f. Annie, a system analyst, will be able to detect a student using a program to scan her system for vulnerabilities. g. A program used to submit homework will turn itself off just after the due date.

Page 2

  1. (6 points) Give an example of a situation in which each of the following is true: a. Prevention is more important than detection and recovery. b. Detection is more important than prevention and recovery. c. Recovery is more important than prevention and detection.
  2. (10 points) A respected computer scientist has said that no computer can ever be made perfectly secure. Why might she say this?

Part 2 (Programming exercise)

Telnet and ftp are network protocols that transmit data unencrypted. As a result, an attacker able to eavesdrop on network communication can reconstruct the information sent during telnet and ftp sessions. You are such an attacker. Write a program to reassemble telnet and ftp sessions. For each session that you identify, your program should display on stdout the command/response between the client and the server. You may implement this however you like; however, modifying the source code of the open source tool tcpdump to record the payload of TCP packets of telnet and ftp sessions may be a particularly useful way to proceed. If you wish to write your program in a language other than C, C++, or Java, then Maria must OK your desired language before you submit a solution. A tcpdump trace of sample telnet and ftp sessions is available in t-square as a homework attachment titled tfsession.bin. We will use this data as the input to your program during our testing. (70 points) Submit your solution to Part 2 as a tarball or zip file attachment. The tarball should contain:

  • compilable source code of your solution, and
  • a text file called readme.txt describing everything we need to know to compile and test your solution.