Construct a protocol that securely achieves functionality

Assignment Help Computer Network Security
Reference no: EM133327160

Problem 1. To formalize the security of a protocol, it is essential to first specify the functionality of that protocol. The functionality specifies ideal-world behavior. Write out functionalities for each of the following tasks (an example functionality presented in Figure 1):

1. Compute set intersection, where each party's input is a set.

2. Voting. You choose parameters of the voting problem.

Hint: The tasks are not formally specified; choose your own formalization. The goal of this problem is to practice notation and to get used to formalizing intuitive notions.

Problem 2. Sometimes it is not clear whether a certain behavior is an "attack" against a protocol. Our definition of security roughly states that a protocol is insecure if there is an adversarial behavior that is possible in the real world, but that same behavior is impossible in the ideal world.

For each of the following, consider a semi-honest adversary that successfully carries out the described behavior as part of a real-world protocol Specify whether this behavior indicates that the real-world protocol is insecure (yes or no). If the procotol is insecure, give a brief explanation.

1. Alice holds x and Bob holds y, where x, y ∈ {0, ..., N - 1}. They wish to compute:

(x + y) mod N

A semi-honest adversary corrupts Alice and learns Bob's input in its entirety.

2. Alice holds x and Bob holds y, where x, y ∈ {0, ..., 7}. They wish to compute:

1   if x<y 0
0  otherwise

A semi-honest adversary corrupts Alice and learns the most significant bit of y (assume y is written as a three bit value, e.g. 4 = 1002).

3. Alice holds x and Bob holds y, where x, y ∈ (0, ..., 7}. They wish to compute:

1   if x < y
0  otherwise

A semi-honest adversary corrupts Alice and learns the least significant bit of is (assume y is written as a three bit value, e.g. 4 = 1002).

4. Alice holds x and Bob holds y, where x, y ∈ {0, 1}n. They wish to compute the inner product of those strings modulo 2:
(n-1

(∑i=0n-1xi.yi)mod 2

A semi-honest adversary corrupts Alice and learns whether the y string has a majority of Os or a majority of ls. Assume that it is odd.

5. Alice and Bob each hold a string: Alice's string k is used as an encryption key, and Bob's string at is plaintext. Parties wish to compute Enc(k, x) and deliver the output to both parties. Assume the encryption scheme is correct. I.e., the following holds:

Dec(k, Enc(k, x)) = x

A semi-honest adversary corrupts Alice and learns Bob's input in its entirety. Hint: You might be concerned that I didn't define security of the encryption scheme. Does it matter?

Problem 3. Suppose Alice has an input x ∈ {0, 2, 4, ..., 8} and Bob has an input y ∈ {1, 3, 5, ..., 9}. Here is a protocol that computes the function max(x, y):
• If Bob has input y = 9, he announces "yes" and both parties output 9 and halt. Otherwise he announces "no" and the protocol continues.
• If Alice has input x = 8, she announces "yes" and both parties output 8 and halt. Otherwise, she announces "no" and the protocol continues.
• If Bob has input y = 7, he announces "yes" and both parties output 7 and halt. Otherwise he announces "no" and the protocol continues.
• If Alice has input x = 6, she announces "yes" and both parties output 6 and halt. Otherwise, she announces "no" and the protocol continues.
• The protocol continues until some party says "yes", at which point the output is determined and the protocol is finished.

Construct simulators that demonstrate this protocol is secure against a semi-honest adversary.

Problem 4. Consider Problem 3, modified as follows: Alice has an input at x ∈ {0,1, ..., 9} and Bob has an input y ∈ {0,1, ..., 9}. The protocol is amended as follows:

• If Bob has input is y = 9, he announces "yes" and both parties output 9 and halt. Otherwise he announces "no" and the protocol continues.
• If Alice has input x = 9, she announces "yes" and both parties output 9 and halt. Otherwise, she announces "no" and the protocol continues.
• If Bob has input y = 8, he announces "yes" and both parties output 8 and halt. Otherwise he announces "no" and the protocol continues.
• The protocol continues until some party says "yes", at which point the output is determined and the protocol is finished.

Is the modified protocol still secure in the semi-honest model? If so, prove security; if not, explain the vulnerability.

Problem 5. We often assume that in 2PC, each party outputs the same value. Let's instead consider the case where the ideal functionality delivers separate outputs to each party.

Suppose there are two functions fA and fB and that in the ideal world, the functionality receives x from Alice and y from Bob, then delivers only fA(x, y) to Alice and only fB(x, y) to Bob.

1. Give an example IA and fB where it is demonstrably insecure (i.e., less secure than the ideal world described above) if in the real world both parties learn fA(x, y) and fB(x, y). Hint: there are extremely simple choices of IA and fB that meet the criteria.

2. Suppose we have access to a semi-honest secure protocol that computes any function f (x, y) and delivers this output to both Alice and Bob.

(a) Formalize a new protocol that uses the above protocol as a black-box. This new protocol should deliver fA(x, y) to Alice and fB(x,y) to Bob.

(b) Prove your new protocol secure in the semi-honest model by constructing simulators. You may assume that x, y, fA(x, y), and fB(x, y) are each n-bit strings.

Problem 6. Some MPC techniques can be made very efficient when there are many parties and few corruptions. For instance, in class we discussed Oblivious Transfer (OT). With few corruptions, we can implement OT very efficiently. In this problem, consider the following setting:
• The adversary is semi-honest.
• There are three parties.
• There is an honest majority. I.e., the adversary corrupts at most one party. Consider the following "assisted OT" functionality:

PARAMETERS:
1. Let P0, P1, P2 be three parties.
2. The sender P0 inputs two secrets x0, x1 ∈ {0. 1}n
3. The receiver P1 inputs a selection bit s ∈ {0, 1}.
4. The helper P2 inputs ⊥.

FUNCTIONALITY:
1. P0 outputs ⊥.
2. P1 outputs xs.
3. P2 outputs ⊥.

1. Construct a protocol that securely achieves the above functionality in the considered setting. Your protocol should require no cryptographic assumptions (e.g., you do not need to assume something like DDH) and the total number of transmitted bits should be 0(n), independent of a security parameter.

2. Construct simulators for each party that demonstrate your protocol is secure.

Reference no: EM133327160

Questions Cloud

Us history civil war homefront and reconstruction : What was the Port Royal experiment? What was the different opinions of people with regard to African Americans during this time?
What does the author mean by engaging black trans visibility : What does the author mean by engaging Black trans visibility and how visibility often comes at a cost? What is the paradoxical notion of hyper-visibility?
What did the social workers say was difficult or challenging : What did the social workers say was difficult or challenging about their job? What did the social workers say was rewarding or best about their job?
Distinguish different elements of the civil rights movement : Explain the news coverage on the Watts Riots. How was the event used to distinguish different elements of the civil rights movement?
Construct a protocol that securely achieves functionality : Compute set intersection, where each party's input is a set - Prove your new protocol secure in the semi-honest model by constructing simulators
What theory would you choose as the underpinning framework : What theory would you choose as the underpinning framework of our correctional system? Why did you pick that theory? Provide at least five empirical research
How private insurers can improve police accountability : Which of the factors of the Rule of Law Index influenced your selection? Important: explain your choice. What are your rights upon being detained
Distinctions between and real and the ideal : The purpose of this assignment is to discuss gender and the distinctions between and "Real" and the "Ideal",
The draft riot mystery : The New York City Draft Riots was a situation at the confluence of many different historical forces during the middle of the Civil War.

Reviews

len3327160

1/31/2023 9:35:49 PM

I have a crypto assignment, more specifically about secure multi party communications. I need this assignment done using latex and need the latex code as well. Also here is a link regarding a paper that might help

Write a Review

Computer Network Security Questions & Answers

  An overview of wireless lan security - term paper

Computer Science or Information Technology deals with Wireless LAN Security. Wireless LAN Security is gaining importance in the recent times. This report talks about how vulnerable are wireless LAN networks without any security measures and also talk..

  Computer networks and security against hackers

This case study about a company named Magna International, a Canada based global supplier of automotive components, modules and systems. Along with the company analysis have been made in this assignment.

  New attack models

The Internet evolution is and is very fast and the Internet exposes the connected computers to attacks and the subsequent losses are in rise.

  Islamic Calligraphy

Islamic calligraphy or Arabic calligraphy is a primary form of art for Islamic visual expression and creativity.

  A comprehensive study about web-based email implementation

Conduct a comprehensive study about web-based email implementation in gmail. Optionally, you may use sniffer like wireshark or your choice to analyze the communication traffic.

  Retention policy and litigation hold notices

The purpose of this project is to provide you with an opportunity to create a document retention policy. You will also learn how to serve a litigation hold notice for an educational institute.

  Tools to enhance password protection

A report on Tools to enhance Password Protection.

  Analyse security procedures

Analyse security procedures

  Write a report on denial of service

Write a report on DENIAL OF SERVICE (DoS).

  Phising email

Phising email It is multipart, what are the two parts? The HTML part, is it inviting the recepient to click somewhere? What is the email proporting to do when the link is clicked?

  Express the shannon-hartley capacity theorem

Express the Shannon-Hartley capacity theorem in terms of where is the Energy/bit and is the psd of white noise.

  Modern symmetric encryption schemes

Pseudo-random generators, pseudo-random functions and pseudo-random permutations

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