Docsity

6 Problems Exam 1 - Computer Network and Security | CMSC 414, Exams of Cybersecurity

Partial preview of the text

Download 6 Problems Exam 1 - Computer Network and Security | CMSC 414 and more Exams Cybersecurity in PDF only on Docsity!

_____________________________________________________________________________________

Total points: 40. Total time: 75 minutes. 6 problems over 6 pages. No book, notes, or calculator

1. [14 points] Are n=187 and e=9 valid numbers for RSA. Explain. If you answer yes, obtain the corresponding d.

2. [6 points] Consider a sensor X that periodically sends a 64-octet measurement to a receiver Y. One day the administrator decides that X should encrypt the measurement data using DES in CBC mode. How many octets does X now send for each measurement? Explain your answer.

4. [4 points] In the authentication protocol below, pw is A's password and J is a key derived from pw. Can an attacker that can eavesdrop messages (but not intercept or spoof messages) obtain pw by off-line password guessing. If you answer no, explain briefly. If you answer yes, describe the attack.

A (has pw) B (has J)

send [conn] to B

generate random challenge R send [R] compute J from pw compute X ← encrypt(R) with key J send [X] to B compute Y ← decrypt(X) with key J if Y = R then A is authenticated

5. [4 points] In the authentication protocol below, pw is A's password, J is a key derived from pw, and L is a high-quality key (which A gets from B as shown below). Can an attacker that can eavesdrop messages (but not intercept or spoof messages) obtain pw by off- line password guessing. If you answer no, explain briefly. If you answer yes, describe the attack.

A (has pw) B (has J, L)

send [ conn ] to B

X ← encrypt(L) with key J generate random challenge R send [ X, R ] compute J from pw L′ ← decrypt(X) with key J Y′ ← encrypt(R) with key L′ send [ Y′ ] to B compute Y ← encrypt(R) with key L if Y′ = Y then A is authenticated