Show how to use timestamps to prevent this attack

Assignment Help Computer Network Security
Reference no: EM131216168

Problem 1: Consider the following protocol. There exists a trusted server, T, that shares a secret key with any participant in the network. That is, for a participant A, A and T share a secret key KA. The protocol allows a participant A to send to another participant B, a secret message Al. In the following, to describe the protocol we use the notation A → B : M to denote the fact that A sends to B a message M. The protocol works as follows:

1. A generates a random key R and sends the following message to T, containing A's identity, the fact that it wants to communicate with B and the value R encrypted with the key A shares with T:

A → T : A, B, E(KA, R).

2. T decrypts the last field of the message with the key shared with A, obtains R, encrypts it with the key T shares with the intended destination, B and sends the result to A:

T → A : E(KB, R).

3. A uses the key R generated in the first step to encrypt the intended message Al and sends the encrypted value, along with the value received in step 2 from T, to B:

A → B : E(R, M), E(KB, R).

4. B uses its secret key KB to decrypt the second field of the received message and obtains R. It then uses R to decrypt the first field of the message, to obtain R.

The above protocol seems secure, as all messages travel over the wires in encrypted format. It has however a major flaw: in the first step of the protocol, T does not authenticate A.

Show how another participant C can exploit this problem, to capture messages from previous runs of the protocol and impersonate A with T in another round of the protocol.

Problem 2: Remember the Needham Schroeder protocol. The protocol has a weakness when an old session key K, shared by A and B is compromised. That is, assume the attacker M gets hold of an old session key K. M can then launch a successful attack All he has to do is to capture A's message to B in step 5:

EB(K, A).

Then, using knowledge of the old key K and the above message, M can contact B (in the Needham Schroeder protocol) and pretend to be A. Show how this can be done, through the sequence of steps of the attack.

Show how to use timestamps to prevent this attack.

Problem 3: Consider the following "Authentication and Key Exchange" protocol. Trent is a trusted third party, a public key authority that stores a database that maps each user of the system to the user's public key. For instance, Trent stores for Alice her public key pkA and for Bob, his public key pkB.

The protocol starts with Alice sending to Trent the following message:

A → T : Req, B, T1

where T1 is the current time of Alice. Trent replies with

T → A : ST(B, pkB, T1)

where ST(M) denotes the signature of Trent of a message M. The signature of T binds Bob to his public key pkB, stored by Trent. Simultaneously, Bob contacts Trent in a similar manner:

B → T : Req, A, T2

 where T2 is the current time of Bob. Trent replies with

T → B : ST(A, PkA, T2)

At this point, Alice and Bob engage in the following authentication protocol:

A → B : EB(A, N1)

where EB(M) denotes the encryption of message M with the public key of Bob. N1 is a random number generated by Alice. Bob decrypts this message using his private key, extracts N1, generates a random N2 and sends the following message to Alice:

B → A : EA(N1, N2)

EA(M) denotes the encryption of Al with the public key of Alice. Alice decrypts this message with her private key, recovers N1 and compares it against the value she initially generated. If the values do not match, she aborts the protocol. Otherwise, she extracts N2, then sends the following message to Bob:

A → B : EB(N2)

Bob decrypts this message with his private key and recovers N2. It compares N2 with the value he generated earlier. If they do not match, he aborts the protocol. Otherwise, A and B use a function of N1 and N2 to create a shared key.

Explain what is the purpose of the N1 and N2 random values.

Show that this protocol is vulnerable to a man-in-the-middle attack. Provide details of the attack. Hint Think of the attack for the Denning-Sacco solution studied in class.

Reference no: EM131216168

Questions Cloud

Find a transformation matrix : A three-dimensional vector random variable, X, has a covariance matrix.- Find a transformation matrix.
What do transients tell us about the features of a system : Under what conditions does the "burst response" b(t) describe the transient?
Discuss this character neurotic needs and trends : In addition to general life events, how has gender and culture influenced the character's neurotic needs and behaviors? How do these interpersonal orientations impact the way this character interacts with others and develops relationships?
Issues involved in the information systems security : Information Systems Security - ARUMSC2IIS Critically evaluate concepts, principals and practice in the area of information systems security - Demonstrate an in-depth understanding of a comprehensive risk management practice for ensuring secure inform..
Show how to use timestamps to prevent this attack : Then, using knowledge of the old key K and the above message, M can contact B (in the Needham Schroeder protocol) and pretend to be A. Show how this can be done, through the sequence of steps of the attack. Show how to use timestamps to prevent thi..
Find the pdf of the median of the sequence : Find the PDF of the median of the sequence. - Find the expected value of the median of the sequence. - Find the variance of the median of the sequence.
What physically interesting properties do they have : Where can GAUSSian pulses or GAUSSian oscillation pulses be used meaningfully in measurement technology? What physically interesting properties do they have?
Did leader act out of social interest or for personal gain : What was his/her goal and unique style of life that could be used to achieve this goal? What steps did this person take to overcome their perceived inferiority? Did this leader act out of social interest or for personal gain? What was the long-term..
What makes the noise signal so interesting as a test signal : Measure the correlation factor between two different noise signals and one and the same noise signal. What correlation factors do you anticipate and which do you measure? How does the correlation factor depend on the length of the noise signal? Wh..

Reviews

Write a Review

Computer Network Security Questions & Answers

  Analyze the characteristics of wireless lans

Analyze the characteristics of wireless LANs

  Depending on the size of the organization you are asked to

depending on the size of the organization small medium large you are asked to assist in developing a security

  Develop and ratify borderless cybersecurity policies

Establish international cybersecurity threat operation centers where international partnerships work together under the same roof to thwart cyberspace threats

  Write a research paper on network security

Write a research paper on Network Security. Explain the topic briefly, its history and similar "light stuff", where (or how) is it used.

  Network security structure

After looking at your network security structure there are various physical threats that we will focus on that could have a Hugh impact on your business intellectual property and availability.

  Implement client-server application to emulates ping utility

The goal of this assignment is to implement a client-server application which emulates the ping utility. It is also good practice because it implements the client-server architecture.

  Describe malicious things over a computer network

Suppose Ali and Jim are sending packets to each other over a computer network. Suppose Thomas positions himself in the network so he can capture all packets sent by Ali and send whatever he wants to Jim; he can also capture all the packets sent by..

  Provide a list of security activities or controls

List a security program in each level and provide a list of security activities or controls applied in these levels. Support your list with real world application data

  Explain the advantages of ipv6 when compared to ipv4

Explain the advantages of IPv6 when compared to IPv4

  Explain the major steps needed to preserve the integrity

Analyze the overall procedures for First Responder and Incident Handling, and ascertain the fundamental way in which such procedures relate to the scenario in this specific case.

  Compute the entry in the rijndaels-box

Compute the entry in the RijndaelS-box

  Case study discussing network intrusions

Research by finding an article or case study discussing ONE of the following computer crimes/incidents:

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd