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

  How the companycan go online

How the company(luton) can go online, steps in which they should take before going online, security threat and have a disaster recovery plan.

  What are some of the considerations and issues

Discuss key management techniques. What are some of the considerations and issues? Give at least two examples of key management techniques.

  Where do the spams come from

Do you know what email clients the spammers use to generate their spams?

  Describe the three principles of ip security

Describe 'The Three Principles of IP Security'. Cite references as well as a detailed explanation for the same. Explain how you would as an employee of a company practice those principles

  Understanding project priorities and scheduling issues

hat general suggestions would you give for helping to promote common understanding of project priorities and critical scheduling issues,

  Explain security model of class using cnss model

suppose that the security model is required for protection of your class. Using CNSS model, examine each of the cells and write a short statement.

  Computer security for your company

Present a brief summary of the arguments for and against outsourcing computer security for your company. Select two firms that offer computer security outsourcing services, and compare them and their services. Include several pros and cons of each

  Wat issues need to be considered when planning an

common data formats are critical to being able to exchange data quickly and smoothly. establishing the standards for

  Identify and prioritize it security controls

Using the case study and NIST SP 800-53, Identify and prioritize IT Security controls that should be implemented. Discuss any applicable US Government regulations/standards that apply to this organization

  Discuss specific malware and social engineer

Explain your method of attack and operation within reasonable parameters of the law. Discuss specific malware, social engineer, or any other type of attacks you would deploy to achieve your desired goals.

  Evaluate computer forensic analysis procedures and

computer crime and forensic analysisprovide two examples to distinguish the difference between what is considered a

  How can we determine sle if there no percentage given

How can we determine SLE if there no percentage given? Which method is easier for determining the SLE: - a percentage of value lost or cost per incident

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