Docsity

Security in Computing: CIS-3360 Exam Questions - Prof. Ratan Guha, Study notes of Cybersecurity

Toggle sidebar
bg1
CIS โ€“ 3360
Security in Computing
Grade total = 2%
Total points = 70
Due Date = October 25 (Wednesday), 2006
Question 1 (5 + 5 + 5 = 15 points)
Consider sending a large file of F bits from Host A to Host B. There are two links (and
one router) between A and B, and the links are uncongested (that is, no queuing delays).
Host A segments the file into segments of S bits each and adds 40 bits of header to each
segments, forming frames of L = 40 + S bits. Each Link has a transmission rate of N bps.
There is no propagation delay. Router R always processes a frame of size L after it
receives it for L/2N seconds.
Host A --------------- R --------------- Host B
(i) When does the first frame arrive at Host B after Host A starts sending the
frame at time T?
(ii) Assume that the router R can send, receive and process simultaneously and A
sends frames continuously (one after another), when will the second frame
arrive at Host B?
(iii) When will the file transfer be completed?
Question 2 (10+10 = 20 points)
Consider the following message sent by A to B
(a) A โ†’ B: EK[M]
(b) A โ†’ B: EKUb[M]
A and B shares the secret key K.
(i) Who can send the message EK[M] to B?
(ii) Can A deny sending the message to B?
(iii) Can B alter the message M to N and say that it received the message M from A?
(iv) Does this transfer provide confidentiality?
Justify your answer for each question.
Question 3 (5+5 = 10 points)- Consider an application that transmits data at a steady rate
(for example, the sender generates an N-bit unit of data every k time units, where k is
small and fixed). Also, when such an application starts, it will continue running for a
relatively long period of time. Answer the following questions, briefly justifying your
answer:
pf2

Partial preview of the text

Download Security in Computing: CIS-3360 Exam Questions - Prof. Ratan Guha and more Study notes Cybersecurity in PDF only on Docsity!

CIS โ€“ 3360

Security in Computing Grade total = 2% Total points = 70 Due Date = October 25 (Wednesday), 2006 Question 1 (5 + 5 + 5 = 15 points) Consider sending a large file of F bits from Host A to Host B. There are two links (and one router) between A and B, and the links are uncongested (that is, no queuing delays). Host A segments the file into segments of S bits each and adds 40 bits of header to each segments, forming frames of L = 40 + S bits. Each Link has a transmission rate of N bps. There is no propagation delay. Router R always processes a frame of size L after it receives it for L/2N seconds. Host A --------------- R --------------- Host B (i) When does the first frame arrive at Host B after Host A starts sending the frame at time T? (ii) Assume that the router R can send, receive and process simultaneously and A sends frames continuously (one after another), when will the second frame arrive at Host B? (iii) When will the file transfer be completed? Question 2 (10+10 = 20 points) Consider the following message sent by A to B (a) A โ†’ B: EK[M] (b) A โ†’ B: EKUb[M] A and B shares the secret key K. (i) Who can send the message EK[M] to B? (ii) Can A deny sending the message to B? (iii) Can B alter the message M to N and say that it received the message M from A? (iv) Does this transfer provide confidentiality? Justify your answer for each question. Question 3 (5+5 = 10 points)- Consider an application that transmits data at a steady rate (for example, the sender generates an N-bit unit of data every k time units, where k is small and fixed). Also, when such an application starts, it will continue running for a relatively long period of time. Answer the following questions, briefly justifying your answer:

i. Would a packet-switched network or a circuit-switched network be more appropriate for this application? Why? ii. Suppose that a packet-switched network is used and the only traffic in this network comes from such applications as described above. Furthermore, assume that the sum of the application data rates is less than the capacities of each and every link. Is some form of congestion control needed? Why? Question 4 (5 points) - What is the purpose of the S-boxes in DES? Question 5 (5 points) - What is Cryptanalysis? Question 6 (5 points) - In an RSA system, the public key of a given user is e = 31, n =

  1. What is the private key for this user? Question 7 (5 +5 = 10 points) - Consider an environment where conspiracy theories rule. The environment is such that a client A can trust another client B with a secret but cannot trust client C with the same secret. How many different secrets are required if: a) There are four clients in the whole environment. b) There are N clients in the environment. Hint: For two clients, we need only one secret. For three clients A, B, and C, we need 3 secrets (one between A-B, one between A-C, and one between B-C).