hws/hw02.tex
author Christian Urban <urbanc@in.tum.de>
Sat, 21 Jan 2017 00:37:20 +0000
changeset 510 51267a687b85
parent 479 f76074ed6c9e
child 545 0697622fb181
permissions -rw-r--r--
updated test
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\documentclass{article}
384
3a7c08f2bf5d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 372
diff changeset
     2
\usepackage{../style}
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
\begin{document}
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
19
Christian Urban <urbanc@in.tum.de>
parents: 16
diff changeset
     6
\section*{Homework 2}
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
384
3a7c08f2bf5d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 372
diff changeset
     8
\HEADER
3a7c08f2bf5d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 372
diff changeset
     9
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
\begin{enumerate}
459
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    11
\item Another question for thinking like an attacker: Imagine
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    12
      you have at home a broadband contract with TalkTalk. You
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    13
      do not like their service and want to switch to Virgin,
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    14
      say. The procedure between the Internet providers is
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    15
      that you contact Virgin and set up a new contract and
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    16
      they will automatically inform TalkTalk to terminate the
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    17
      old contract. TalkTalk will then send you a letter to
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    18
      confirm that you want to terminate. If they do not hear
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    19
      from you, they will proceed with terminating the
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    20
      contract and will request any outstanding cancellation
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    21
      fees. Virgin on the other hand sends you a new router
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    22
      and paperwork about the new contract. Obviously this way
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    23
      of doing things is meant to make switching as convenient
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    24
      as possible. Still can you imagine situations in which
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    25
      this way of switching providers can cause you a lot of
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    26
      headaches? For this consider that TalkTalk needs
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    27
      approximately 14 days to reconnect you and might ask for
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    28
      reconnection fees.
514485146641 updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 389
diff changeset
    29
384
3a7c08f2bf5d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 372
diff changeset
    30
\item Often problems in e-voting are due to difficulties with
3a7c08f2bf5d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 372
diff changeset
    31
      authentication. Keep this in mind for what could go
3a7c08f2bf5d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 372
diff changeset
    32
      wrong with the following discount offered by an
3a7c08f2bf5d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 372
diff changeset
    33
      insurance company: John Hancock Insurance is partnering
3a7c08f2bf5d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 372
diff changeset
    34
      with Vitality, which you might know as one of those
372
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    35
      work-related wellness programmes. The programme is
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    36
      available in 30 US states. If you sign up for this, John
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    37
      Hancock will send you a free Fitbit monitor. That's a
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    38
      tiny, pill-shaped device that some people wear in
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    39
      sleek-looking bracelets to track how far they walk/run,
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    40
      the calories burned, and the quality of sleep. That
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    41
      means the insurance company would know exactly when a
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    42
      customer does a sit-up, how far she runs -- or when he
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    43
      or she has skipped the gym for a few days. For `good'
384
3a7c08f2bf5d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 372
diff changeset
    44
      customers there will be a discount in their premiums.
372
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    45
      Why is this a problem?
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    46
486153025d71 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 239
diff changeset
    47
466
ddf7315450c9 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 465
diff changeset
    48
\item Voice voting is the method of casting a vote in the `open air'
ddf7315450c9 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 465
diff changeset
    49
  for everyone present to hear. Which of the following security
ddf7315450c9 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 465
diff changeset
    50
  requirements do paper ballots satisfy \textbf{better} than voice
ddf7315450c9 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 465
diff changeset
    51
  voting? Check all that apply and give a brief explanation for your
479
f76074ed6c9e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 466
diff changeset
    52
  decision in each case.
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
109
b71ce151aba8 added new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    54
\begin{itemize}
185
f10d905e947f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 109
diff changeset
    55
\item[$\Box$] Integrity
f10d905e947f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 109
diff changeset
    56
\item[$\Box$] Enfranchisement
f10d905e947f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 109
diff changeset
    57
\item[$\Box$] Ballot secrecy
f10d905e947f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 109
diff changeset
    58
\item[$\Box$] Voter authentication
f10d905e947f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 109
diff changeset
    59
\item[$\Box$] Availability
109
b71ce151aba8 added new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    60
\end{itemize}
b71ce151aba8 added new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    61
239
0db764174afb updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
    62
\item Explain how an attacker can use chain voting in order to
0db764174afb updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
    63
  influence the outcome of a poll using paper ballots.
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
239
0db764174afb updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
    65
\item Which of the following mechanisms help with defending against
0db764174afb updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
    66
  chain voting? Check all that apply. Give a brief reason for each
0db764174afb updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
    67
  defence that mitigates chain voting attacks.
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
109
b71ce151aba8 added new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    69
\begin{itemize}
185
f10d905e947f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 109
diff changeset
    70
\item[$\Box$] Using a glass ballot box to make it clear there are no
f10d905e947f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 109
diff changeset
    71
  ballots in the box before the start of the election.
109
b71ce151aba8 added new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    72
\item[$\Box$] Distributing ballots publicly before the election.
b71ce151aba8 added new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    73
\item[$\Box$] Checking that a voter's ID (drivers license, passport) matches the voter.
239
0db764174afb updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
    74
\item[$\Box$] Each ballot has a unique ID. When a voter is given a
0db764174afb updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
    75
  ballot, the ID is recorded. When the voter submits his or her
0db764174afb updated home works
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
    76
  ballot, this ID is checked against the record.
109
b71ce151aba8 added new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    77
\end{itemize}
b71ce151aba8 added new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    78
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    79
\item In the Estonian general election, votes can be cast via Internet
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    80
  some time before the election day. These votes cast via Internet can
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    81
  be changed an unlimited amount of times, the last vote is
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    82
  tabulated. You can even change your vote on the polling day in
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    83
  person. Which security requirement does this procedure address?
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    84
479
f76074ed6c9e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 466
diff changeset
    85
\item Paper ballots boxes need to be guarded on the voting day, but
466
ddf7315450c9 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 465
diff changeset
    86
  can be unguarded the rest of the year. Why do pure electronic voting
ddf7315450c9 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 465
diff changeset
    87
  machines need to be guarded the whole year?
ddf7315450c9 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 465
diff changeset
    88
  
ddf7315450c9 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 465
diff changeset
    89
109
b71ce151aba8 added new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    90
\item What is the main difference between online banking and e-voting? 
b71ce151aba8 added new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    91
(Hint: Why is the latter so hard to get secure?)
b71ce151aba8 added new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    92
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    93
\item Imagine, hypothetically, you have a perfectly secure Internet
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    94
  voting system, by which I mean nobody can tamper with or steal votes
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    95
  between your browser and the central server responsible for vote
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    96
  tallying. What can still go wrong with such a perfectly secure
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    97
  voting system, which is prevented in traditional elections with
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 185
diff changeset
    98
  paper-based ballots?
465
76f9457b8f51 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 459
diff changeset
    99
76f9457b8f51 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 459
diff changeset
   100
\item \POSTSCRIPT
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   101
\end{enumerate}
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
\end{document}
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
%%% Local Variables: 
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
%%% mode: latex
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
%%% TeX-master: t
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
%%% End: