Udp programs to establish a secure communication channel

Assignment Help Computer Network Security
Reference no: EM1381372

Task 1

Write (Java or C/C++) UDP programs allowing two parties to establish a secure communication channel. For simplicity, let us call the programs "Host" and "Client", which are executed by Alice and Bob, respectively.  Alice and Bob share a common password PW which contains 6 numeric characters. They want to establish a secure communication channel that can provide data confidentiality and integrity. They aim to achieve this goal via the following steps: (1) use the password to establish a shared session key; (2) use the shared key to secure the communication.

Step 1 is done via the following key exchange protocol:
1:  A -> B: EPW(KA)
2:  B -> A: EPW (KB)
Alice and Bob then compute the shared key as K = Hash(KA||KB). KA and KB are both 64-bit random binary strings, and || denotes string concatenation. Alice and Bob decide to use RC4 as the encryption function, and SHA-1 as the Hash function.

After establishing the session key, step 2 is achieved as follows:

1.  whenever Alice wants to send a message M to Bob, Alice first computes H = Hash(K||M), and then computes C = EK(M||H) and sends C to Bob.
2.  upon receiving a ciphertext C, Bob first runs the decryption algorithm to obtain M||H = DK(C). After that, Bob computes H' = Hash(K||M) and checks if H = H'. If the equation holds, then Bob accepts M; otherwise, Bob rejects the ciphertext.

3.  the same operations are performed when Bob sends a message to Alice.  

You need to write two programs: Host and Client. 

Task 2

Perform a security analysis for the key exchange protocol given in Task 1. Does the protocol provide the property of key authentication? Justify your answer.

Reference no: EM1381372

Questions Cloud

Influence on the market supply of labour : Use a graphical illustration to describe briefly what the influence on the market supply of labour
How can you assess if you are engaging in active listening : How can you assess if you are engaging in active listening? How does it feel when someone does not seem to be listening to you?
Carbohydrates oxidized to the mitochodria : Before this module evaluation you were very nervous. Consider a snack might help, you ate a big bowl of pasta and some bread a couple of hourse before you started this quiz.
What are the distinctions among procedural : What are the distinctions among procedural, interactional, and distributive justice? List ways in which you could increase each of these justice perceptions.
Udp programs to establish a secure communication channel : Write UDP programs allowing two parties to establish a secure communication channel and perform a security analysis for the key exchange protocol
Some companies have myspace pages where employees : Some companies have MySpace pages where employees can mingle and share ideas and information. Do you think this practice is a good idea? Why or why not?
Blood level of estrogen and progesterone : Birth control pills maintain a high blood level of estrogen and progesterone. Determine what is happening in the ovary when the blood level of estrogen is high?
What is the strategic competitive analysis : What is the strategic competitive analysis? What is the SWOT analysis? How does a company use the SWOT analysis to determine corporate competencies
Normal regulation of blood glucose via pancreatic hormones : Explain normal regulation of blood glucose through the pancreatic hormones. How is this altered with Diabetes?

Reviews

Write a Review

Computer Network Security Questions & Answers

  Describing security topology covers four primary areas

Security topology covers four primary areas of concern (design goals, security zones, technologies, and business requirements). Describe each area including key topics in each area. Discuss software threats.

  Question about systems analysis

The owners of a store are looking for a lighted sign that could be mounted outside the store. The lights in the sign should be turned on when the outdoor light level falls given below a level defined through the owners.

  Reasonable to compute rsa signature on long message

Would it be reasonable to compute an RSA signature on a long message by first finding what the message equals, mod n, and signing that?

  Question about communication

Communication is valuable; a main part of this is the ability to provide management the information they required, when they require it.

  Compute the entry in the rijndaels-box

Compute the entry in the RijndaelS-box

  Cost-of-use issues are of client-dominant local area network

What technology and cost-of-use issues are associated with a client-dominant local area network? Think about what happens as the network grows in size.

  Compute value of shared secret key

You have secretly picked value SA = 17. You begin session by sending Bob your computed value of TA. Bob responds by sending you value TB = 291. What is the value of your shared secret key?

  What is the value of shared secret key

You have secretly picked the value SA = 17. You begin the session by sending Bob your calculated value of TA. Bob responds by sending you the value TB = 291. What is the value of your shared secret key?

  Prepare a security checklist for new century

You decide to prepare a security checklist for New Century. Prepare a list of security issues that the firm should evaluate and monitor. Be sure to organize the items into categories that match the five security levels.

  Expected time to find all users passwords

Assume that eight more characters were added to the password and that the DES algorithm was changed so as to use all 16 password characters. What would be the expected time to find all users' passwords using a dictionary attack?

  Question about substitution ciphers

Think about two substitution ciphers. One adds a value of i to the ASCII code of the plain text character. The other adds a price of j to the plaintext character. All additions are modulo 256.

  Owasp top 10 web application security risks

Reflected XSS and Stored XSS attack, threat Modeling methodologies, Extended Stack Pointer (ESP) and the Extended Base Pointer (EBP), Canary-based defense to buffer overflow attacks in C language, admin.aspx, Index hijacking, cross-site request fo..

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