Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Network & Security Expert

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.

Computer Network & Security, Computer Science

  • Category:- Computer Network & Security
  • Reference No.:- M91972145

Have any Question?


Related Questions in Computer Network & Security

Sip encodingwhy does the session initiation protocol sip

SIP, ENCODING Why does the session initiation protocol SIP allow the sender and receiver to choose two different multimedia encoding schemes? Describe a scenario where it makes sense to use different protocols for sender ...

Rsa internet securitywhy is rsa believed to be hard to

RSA, Internet security Why is RSA believed to be hard to break? I. E. The complexity of what computational problem leads to the belief that it is secure? RSA can be used to authenticate messages by concatenateing to the ...

1srin response to nmap -n -sn localhost what kind of

1. SR In response to "nmap -n -sn localhost": What kind of information did the nmap scan results show you, specifically? 2. FIB What does the "-sn" option do in nmap? ping scan -disable port scan 3. SR How does the "-sn" ...

Overviewthis assignment has three major aims- to help

Overview This assignment has three major aims: - To help students gain good understanding of theoretical and practical material. - To encourage students to use content analysis summaries to prepare for tests, examination ...

From the product designed expanded as follows1 from your

From the product designed expanded as follows. 1. From your list of possible responses to the threat, choose one that you will focus on in this product. Create the requirements for your product by completely identifying ...

What is the difference between a positive economic

What is the difference between a positive economic statement and a normative one.

True or false1 tcp ensures error free transmission2 the

TRUE or FALSE 1. TCP ensures error free transmission. 2. The process that initiates the communication is the server. 3. A host can serve as both server and client in a P2P network. 4. Audio and video applications cannot ...

Assignment1 consider a tcp connection between host a and

Assignment 1, Consider a TCP connection between Host A and Host B. Suppose that the TCP segments traveling from Host A to Host B have source port number 10526 and destination port number 80. What are the source and desti ...

There are standards in network communication through which

There are standards in network communication through which data is transferred from one system to another. Discuss why these standards are important. Do you think it would be easier to purchase different equipment and so ...

Americans purchase a lot of coffee grown in brazil and

Americans purchase a lot of coffee grown in Brazil and elsewhere in Latin America. It would seem that in order to avoid the huge transportation costs of bringing coffee here and to provide jobs for Americans, we should g ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As