Docsity

Network and Systems Security Midterm Exam Fall 2006, Exams of Cybersecurity

Toggle sidebar
bg1
CS 772/872
Network and Systems Security
Fall 2006
Midterm Exam
Time 2 & 1/2 hours
Open Book & Notes
Name:
Login:
Each Question is 10 points
Question 1:
Dr. Wahab uses the crypto program to encrypt all his files. Not only that but he use the same key
for encrypting all his files.
Assume that you got hold of one of his plain files and the corresponding cipher file.
Describe how you can find his key?
Question 2:
Briefly describe how UNIX implements:
1. Authentication.
2. Authorization.
Question 3:
The traditional combination lock (T) requires three turns between 1 and 40. Assume that you
have the option of buying new combination locks (N) and (C) such that:
(N) Requires seven turns between numbers 0 and 9.
pf3

Partial preview of the text

Download Network and Systems Security Midterm Exam Fall 2006 and more Exams Cybersecurity in PDF only on Docsity!

CS 772/

Network and Systems Security

Fall 2006

Midterm Exam

Time 2 & 1/2 hours

Open Book & Notes

Name:

Login:

Each Question is 10 points

Question 1:

Dr. Wahab uses the crypto program to encrypt all his files. Not only that but he use the same key for encrypting all his files. Assume that you got hold of one of his plain files and the corresponding cipher file. Describe how you can find his key?

Question 2:

Briefly describe how UNIX implements:

  1. Authentication.
  2. Authorization.

Question 3:

The traditional combination lock (T) requires three turns between 1 and 40. Assume that you have the option of buying new combination locks (N) and (C) such that: (N) Requires seven turns between numbers 0 and 9.

(C) Requires five turns between charters A and Z. Which lock (T, N or C) is more secure? Explain?

Question 4:

Assume we have the following encryption scheme: (C) Caesar-based cipher : Divide the string into 8 bits long blocks and replace each block with another block K positions away with wrap around. (M) Monoalphabetic-based cipher : Arbitrary map one 8 bits block with another block. Which encryption scheme ( C or M ) is more secure? Explain?

Question 5:

In this question, we will use the following notations:

  • P and V are the P ublic and its corresponding pri V ate keys.
  • K is a symmetric K ey.
  • M is a M essage and C is the corresponding cipher
  • K {M} : message M is encrypted with K.
  • K [M] : message M is decrypted with K.
  • {M} P : message M is encrypted/verified with P.
  • [M] V : message M is decrypted/signed with V.
  • H(M): the hash of message M. Assume that Bob and Alice agree on a shared secret K and eA / dA are the public/private key pair of Alice. Bob may authenticate himself to Alice using any of the following methods:
  1. Bob sends Alice: C = K{K}
  2. **Bob sends Alice: C= {K }eA
  3. Bob sends Alice: C = H(K)** In each method, describe what Alice should do when she receives C in order to authenticate Bob. **1.

3.**

Question 6: