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

  Expected time to find user passwords by dictionary attack

Suppose 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?

  Controls to detect or prevent salami attacks

List three controls that could be applied to detect or prevent salami attacks. Modularity can have a negative as well as a positive effect. A program that is overmodularized performs its operations in very small modules.

  Discussion on training

This issue of training is specific to each company, so there is no one size fits all plan. I do believe in training staff just before a new system is deployed,

  Termination of a project

As a assignment manager, you are asked to facilitate a lessons learned session as part of the assignment termination process.

  Cyber terrorism & information warfare

Risk Management, IT Related Risks, Radio Frequency Identification (RFID), Easy listing of special programs,  Social Engineering

  Why one-time password system more secure authentication

Why is one-time password system considered more secure than the basic authentication system? Give at least two reasons.

  Determine public values transmitted for message

Alice and Bob select the numbers 6 and 10 privately. What will be public values they transmit and what would be final secret computed?

  Symmetric encryption algorithms

block cipher and a stream cipher, Caesar cipher, cryptanalytic attacks, mono alphabetic cipher and a poly alphabetic cipher, Mix Columns, Add Round key, PGP services, traffic padding, contrast link and end-to-end encryption

  Implementation phase of a project

Assume you are in implementation phase of a assignment and your customer indicates they require a specific change to the project that changes the scope of the deliverables.

  Using cbc mode of operation what are consequences

Using CBC mode of operation what are the consequences of decrypting the cipher text if it has an error in the first bit of the first block C?

  Explain security strategy for a corporate wan

Prescribe a security strategy for a corporate WAN. Be sure to include methods to combat both technical and nontechnical attacks. C

  How many other messages expected to generate same hash value

A 1,048,576-bit message is used to generate 10-bit hash. One average, how many other messages could be expected to generate same hash value?

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