Skip to content

Commit

Permalink
Lab 2 questions
Browse files Browse the repository at this point in the history
  • Loading branch information
gdanezis committed Jan 26, 2017
1 parent 7553e34 commit 8b36f0c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Lab02Mix/Lab02Code.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,3 +315,15 @@ def analyze_trace(trace, target_number_of_friends, target=0):

return []

## TASK Q1 (Question 1): The mix packet format you worked on uses AES-CTR with an IV set to all zeros.
# Explain whether this is a security concern and justify your answer.

""" TODO: Your answer HERE """


## TASK Q2 (Question 2): What assumptions does your implementation of the Statistical Disclosure Attack
# makes about the distribution of traffic from non-target senders to receivers? Is
# the correctness of the result returned dependent on this background distribution?

""" TODO: Your answer HERE """

4 changes: 4 additions & 0 deletions Lab02Mix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,7 @@ where the `client_public_key` is an EC point, the expected Hmac is an Hmac of th
- Do study the function `generate_trace` that simulates a very simple anonymity system. It provides a good guide as to the types of data in the trace and their meaning, as well as a model you analysis can be based on.

- Remember the insight from the Statistical Disclosure Attack: anonymity systems provide imperfect privacy. This is mainly due to the fact that when a target is sending its small number of contacts are more likely to be receiving than other users. You will need to turn this insight into an algorithm that finds those contacts.

## TASK Q1 and Q2 -- Answer the questions with reference to the code you wrote.

- Please include these as part of the Code file submitted, as a multi-line string, where the `TODO` indicates.

0 comments on commit 8b36f0c

Please sign in to comment.