handouts/ho02.tex
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 21 Oct 2015 13:31:56 +0100
changeset 415 56bc53ba7c5b
parent 404 4e3bc09748f7
child 443 67d7d239c617
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     1
\documentclass{article}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
\usepackage{../style}
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
     3
\usepackage{../langs}
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     4
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     5
\begin{document}
404
4e3bc09748f7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 386
diff changeset
     6
\fnote{\copyright{} Christian Urban, 2014, 2015}
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     7
415
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
     8
%https://www.usenix.org/sites/default/files/conference/protected-files/jets15_slides_epstein.pdf
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
     9
%
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
    10
%Jeremy Epstein, SRI International
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
    11
%
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
    12
%In April 2015, the  US  Commonwealth of Virginia decertified the Advanced Voting
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
    13
%Solutions (AVS) WinVote voting machine, after concluding that it was insecure.
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
    14
%This talk presents the results of Virginia's analysis of the WinVote, and
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
    15
%explores how we got to the point where a voting machine using an unpatched
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
    16
%version of Windows XP from 2004, using hardwired  WEP  keys and administrator
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
    17
%passwords, could be used for over a decade in most of Virginia.
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
    18
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
    19
56bc53ba7c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 404
diff changeset
    20
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    21
\section*{Handout 2 (E-Voting)}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    22
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    23
In security engineering, there are many counter-intuitive
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    24
phenomena: for example I am happy (more or less) to use online
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    25
banking every day, where if something goes wrong, I can
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    26
potentially lose a lot of money, but I am staunchly against
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
    27
using electronic voting (let's call it e-voting for short).
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    28
E-voting is an idea that is nowadays often promoted in order
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    29
to counter low turnouts in elections\footnote{In my last local
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    30
election where I was eligible to vote only 48\% of the
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    31
population have cast their ballot. I was, I shamefully admit,
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    32
one of the non-voters.} and generally sounds like a good idea.
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    33
Right? Voting from the comfort of your own home, or on your
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    34
mobile on the go, what could possibly go wrong? Even the UK's
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    35
head of the Electoral Commission, Jenny Watson, argued in 2014
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    36
in a Guardian article that the UK should have e-voting. Her
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    37
plausible argument is that 76\% of pensioners in the UK vote
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    38
(in a general election?), but only 44\% of the under-25s. For
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    39
which constituency politicians might therefore make more
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    40
favourable (short-term) decisions is clear. So being not yet
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    41
pensioner, I should be in favour of e-voting, no?
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    42
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    43
Well, it turns out there are many things that can go wrong
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    44
with e-voting, as I like to argue in this handout. E-voting in
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    45
a ``secure way'' seems to be one of the things in computer
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    46
science that are still very much unsolved. It is not on the
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    47
scale of Turing's halting problem, which is proved that it can
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    48
never be solved in general, but more in the category of being
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    49
unsolvable with current technology. This is not just my
195
78309f29a58f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 194
diff changeset
    50
opinion, but also shared by many security researchers amongst
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    51
them Alex Halderman, who is the world-expert on this subject
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
    52
and from whose Coursera course on Securing Digital Democracy I
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
    53
have most of my information and inspiration. It is also a
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    54
controversial topic in many countries:
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    55
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    56
\begin{itemize}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    57
\item The Netherlands between 1997--2006 had electronic voting
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    58
      machines, but ``hacktivists'' had found they can be
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    59
      hacked to change votes and also emitted radio signals
386
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
    60
      revealing how you voted. Now e-voting has been abandoned
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
    61
      in the Netherlands.
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    62
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    63
\item Germany conducted pilot studies with e-voting, but in
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    64
      2007 a law suit has reached the highest court and it
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    65
      rejected e-voting on the grounds of not being
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    66
      understandable by the general public.
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    67
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    68
\item UK used optical scan voting systems in a few trail
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    69
      polls, but to my knowledge does not use any e-voting in
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    70
      elections.
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    71
      
357
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
    72
\item The US used mechanical machines since the 1930s, later punch
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
    73
  cards, now DREs and optical scan voting machines.  But there is a
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
    74
  lot of evidence that DREs and optical scan voting machines are not
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
    75
  as secure as they should be. Some states experimented with Internet
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
    76
  voting, but all experiments have been security failures. One
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
    77
  exceptional election happened just after hurrican Sandy in 2012 when
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
    78
  some states allowed emergency electronic voting. Voters downloaded
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
    79
  paper ballots and emailed them back to election officials.
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    80
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    81
\item Estonia used since 2007 the Internet for national
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    82
      elections. There were earlier pilot studies for voting
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    83
      via Internet in other countries.
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    84
328
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
    85
\item The Australian parliament ruled in 2014 that e-voting is
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
    86
      highly vulnerable to hacking and will not use it any time
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
    87
      soon. That is because it is still not as secret and 
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
    88
      secure as paper ballots, the parliamentary committee 
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
    89
      in charge concluded.
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
    90
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    91
\item India uses e-voting devices since at least 2003. They
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
    92
      use ``keep-it-simple'' machines produced by a
386
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
    93
      government owned company. There was some trouble for
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
    94
      an Indian researcher after he and an international 
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
    95
      team of hackers showed that the devices are not 
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
    96
      as secure as the government claimed.
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    97
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    98
\item South Africa used software for its tallying in the 1993
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
    99
      elections (when Nelson Mandela was elected) and found
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   100
      that the tallying software was rigged, but they were
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   101
      able to tally manually. 
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   102
\end{itemize}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   103
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   104
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   105
The reason that e-voting is such a hard problem is that we
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   106
have requirements about the voting process that conflict with
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   107
each other. The five main requirements for voting in general
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   108
are:
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   109
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   110
\begin{itemize}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   111
\item {\bf Integrity} 
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   112
  \begin{itemize}
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   113
  \item By this we mean that the outcome of the vote matches
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   114
        with the voters' intend. Note that it does not say
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   115
        that every vote should be counted as cast. This might
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   116
        be surprising, but even counting paper ballots will
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   117
        always have an error rate: people after several hours
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   118
        looking at ballots will inevitably miscount votes. But
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   119
        what should be ensured is that the error rate does not
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   120
        change the outcome of the election. Of course if
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   121
        elections continue to be on knives edges we need to
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   122
        strive for rather small error rates. 
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   123
          
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   124
  \item There might be gigantic sums at stake and need to be
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   125
        defended against. The problem with this is that if
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   126
        the incentives are great and enough resources are
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   127
        available, then maybe it is feasible to mount a DoS
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   128
        attack against the voting server and by bringing the
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   129
        system to its knees, change the outcome of an
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   130
        election. Not to mention to hack the complete
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   131
        system with malware and change votes undetectably.                
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   132
  \end{itemize}
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   133
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   134
\item {\bf Ballot Secrecy}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   135
  \begin{itemize}
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   136
  \item Nobody can find out how you voted. This is to avoid
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   137
        that voters can be coerced to vote in a certain way
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   138
        (for example by relatives, employers etc).
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   139
         
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   140
     \item (Stronger) Even if you try, you cannot prove how
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   141
           you voted. The reason for this is that you want to
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   142
           avoid vote coercion, but also vote selling. That
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   143
           this can be a problem is proved by the fact that
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   144
           some jokers in the recent Scottish referendum tried
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   145
           to make money out of their vote. \end{itemize}
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   146
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   147
\item {\bf Voter Authentication}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   148
  \begin{itemize}
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   149
  \item Only authorised voters can vote up to the permitted
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   150
        number of votes (in order to avoid the ``vote early,
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   151
        vote often'').
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   152
  \end{itemize}
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   153
  
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   154
\item {\bf Enfranchisement}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   155
  \begin{itemize}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   156
  \item Authorised voters should have the opportunity to vote.
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   157
        This can, for example, be a problem if you make the
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   158
        authorisation dependent on an ID card, say a driving
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   159
        license. Then everybody who does not have a license
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   160
        cannot vote. While this sounds an innocent
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   161
        requirement, in fact some parts of the population for
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   162
        one reason or another just do not have driving
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   163
        licenses. They are now excluded. Also if you insist on
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   164
        paper ballots you have to have special provisions for
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   165
        blind people. Otherwise they too cannot vote.
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   166
 \end{itemize}
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   167
  
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   168
\item {\bf Availability}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   169
  \begin{itemize}
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   170
  \item The voting system should accept all authorised votes
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   171
        and produce results in a timely manner. If you move
195
78309f29a58f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 194
diff changeset
   172
        an election online, you have to guard against DoS 
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   173
        attacks for example.
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   174
   \end{itemize}
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   175
\end{itemize}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   176
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   177
\noindent While these requirements seem natural, the problem 
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   178
is that they often clash with each other. For example
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   179
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   180
\begin{center}
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   181
integrity vs.~ballot secrecy\\
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   182
authentication vs.~enfranchisement
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   183
\end{center}
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   184
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   185
\noindent If we had ballots with complete voter
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   186
identification, then we can improve integrity because we can
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   187
trace back the votes to the voters. This would be good when
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   188
verifying the results or when recounting. But such an
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   189
identification would violate ballot secrecy (you can prove to
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   190
somebody else how you voted). In contrast, if we remove all
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   191
identification for ensuring ballot secrecy, then we have to
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   192
ensure that no ``vote-stuffing'' occurs. Similarly, if we
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   193
improve authentication by requiring to be present at the
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   194
polling station with an ID card, then we exclude absentee
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   195
voting.
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   196
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   197
To tackle the problem of e-voting, we should first have a look
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   198
into the history of voting and how paper-based ballots
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   199
evolved. Because also good-old-fashioned paper ballot voting
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   200
is not entirely trivial and immune from being hacked. We know
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   201
for sure that elections were held in Athens as early as 600
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   202
BC, but might even date to the time of Mesopotamia and also in
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   203
India some kind of republics might have existed before the
386
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   204
Alexander the Great invaded them. Have a look at Wikipedia about
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   205
the history of democracy for more information. These elections
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   206
were mainly based on voting by show of hands. While this
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   207
method of voting satisfies many of the requirements stipulated
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   208
above, the main problem with hand voting is that it does not
195
78309f29a58f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 194
diff changeset
   209
guaranty ballot secrecy. As far as I know the old Greeks and
78309f29a58f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 194
diff changeset
   210
Romans did not perceive this as a problem, but the result was
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   211
that their elections favoured rich, famous people who had
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   212
enough resources to swing votes. Even using small coloured
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   213
stones, which were also used at that time, did not really
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   214
mitigate the problem with ballot secrecy. The problem of
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   215
authorisation was solved by friends or neighbours vouching for
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   216
you to prove you are eligible to vote (there were no ID cards
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   217
in ancient Greece and Rome).
190
4ee6812ab436 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 188
diff changeset
   218
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   219
Starting with the French Revolution and the US constitution,
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   220
people began to value a more egalitarian approach to voting
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   221
and electing officials. This was also the time where paper
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   222
ballots started to become the prevailing form of casting
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   223
votes. While more resistant against voter intimidation, paper
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   224
ballots need a number of security mechanisms to avoid fraud.
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   225
For example you need voting booths for being able to fill out
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   226
the ballot in secret. Also transparent ballot boxes are often
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   227
used in order to easily detect and prevent vote stuffing
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   228
(prefilling the ballot box with false votes). 
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   229
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   230
\begin{center}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 195
diff changeset
   231
\includegraphics[scale=2.5]{../pics/ballotbox.jpg}
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   232
\end{center}
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   233
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   234
\noindent Another security mechanism is to guard the ballot
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   235
box against any tampering during the election until counting.
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   236
The counting needs to be done by a team potentially involving
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   237
also independent observers. 
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   238
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   239
One interesting attack against completely anonymous paper
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   240
ballots is called \emph{chain vote attack}. It works if the
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   241
paper ballots are given out to each voter at the polling
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   242
station. Then an attacker can give the prefilled ballot to a
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   243
voter. The voter uses this prefilled ballot to cast the vote,
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   244
and then returns the empty ballot paper back to the attacker who now
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   245
compensates the voter. The blank ballot can be reused for the
386
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   246
next voter. I let you ponder why it is important for this
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   247
attack that the voter returns the empty ballot to the 
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   248
attacker.
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   249
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   250
To sum up, the point is that paper ballots have evolved over some time 
191
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   251
and no single best method has emerged for preventing fraud.
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   252
But the involved technology is well understood in order to
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   253
provide good enough security with paper ballots.
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   254
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   255
\subsection*{E-Voting}
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   256
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   257
If one is to replace paper ballots by some electronic
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   258
mechanism, one should always start from simple premise taken
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   259
from an Australian white paper about e-voting:
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   260
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   261
\begin{quote} \it ``Any electronic voting system should
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   262
provide at least the same security, privacy and transparency
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   263
as the system it replaces.''
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   264
\end{quote}
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   265
f675aa15b6d0 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 190
diff changeset
   266
\noindent Whenever people argue in favour of e-voting they
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   267
seem to be ignoring this basic premise.\bigskip
192
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   268
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   269
\noindent After the debacle of the Florida presidential
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   270
election in 2000, many voting pre\-cincts in the US used
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   271
Direct-Recording Electronic voting machines (DREs) or optical
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   272
scan machines. One popular model of DREs was sold by a
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   273
company called Diebold. In hindsight they were a complete
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   274
disaster: the products were inadequate and the company
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   275
incompetent. Direct recording meant that there was no paper
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   276
trail, the votes were directly recorded on memory cards. Thus
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   277
the voters had no visible assurance whether the votes were
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   278
correctly cast. Even if there is a printout provided;
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   279
it does not give any guaranty about what is recorded on
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   280
the memory card.
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   281
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   282
The machines behind these DREs were ``normal'' Windows
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   283
computers, which could be used for anything, for example for
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   284
changing votes. Why did nobody at Diebold think of that? I
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   285
have no idea. But that this was eventually done undetectably
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   286
is the result of the determination of ethical hackers like
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   287
Alex Halderman. His group thoroughly hacked Diebold's DREs
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   288
showing that election fraud with them is easily possible. They
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   289
even managed to write a virus that infected the whole system
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   290
by having only access to a single machine.
192
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   291
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   292
\begin{figure}[t]
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   293
\begin{center}
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   294
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 195
diff changeset
   295
\includegraphics[scale=0.45]{../pics/dre1.jpg}\; 
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 195
diff changeset
   296
\includegraphics[scale=0.40]{../pics/dre2.jpg}\smallskip\\
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 195
diff changeset
   297
\includegraphics[scale=0.5]{../pics/opticalscan.jpg} 
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   298
\end{tabular}
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   299
\end{center}
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   300
\caption{Direct-Recording Electronic voting machines above;
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   301
an optical scan machine below.\label{machines}}
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   302
\end{figure}
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   303
192
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   304
What made matters worse was that Diebold tried to hide their
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   305
incompetence and the inferiority of their products by
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   306
requiring that election counties must not give the machines up
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   307
for independent review. They also kept their source code
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   308
secret. This meant Halderman and his group had to obtain a
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   309
machine not through the official channels. They then had to
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   310
reverse engineer the source code in order to design their
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   311
attack. What all this showed is that a shady security design
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   312
is no match for a determined hacker. 
192
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   313
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   314
Apart from the obvious failings (for example no paper trail),
192
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   315
this story also told another side. While a paper ballot box
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   316
need to be kept secure from the beginning of the election
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   317
(when it needs to be ensured it is empty) until the end of the
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   318
day, electronic voting machines need to be kept secure the
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   319
whole year. The reason is of course that one cannot see
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   320
whether somebody has tampered with the program a computer is
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   321
running. Such a 24/7 security is costly and often even
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   322
impossible, because voting machines need to be
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   323
distributed---usually the day before the election---to the
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   324
polling stations. These are often schools where the voting
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   325
machines are kept unsecured overnight. The obvious solution of
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   326
putting seals on computers did not work: in the process of
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   327
getting these DREs discredited (involving court cases) it was
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   328
shown that seals can easily be circumvented. The moral of this
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   329
story is that election officials were incentivised with money
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   330
by the central government to obtain new voting equipment and
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   331
in the process fell prey to pariahs which sold them a
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   332
substandard product. Diebold was not the only pariah in this
386
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   333
area, but one of the more notorious ones.\footnote{An e-voting 
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   334
researcher recently made a connection between the VW-exhaust
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   335
scandal and e-voting: His argument is that it is very hard
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   336
to test whether a program works correctly in a hostile
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   337
environment. The program can often recognise when it is
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   338
tested and behave correctly, but in the ``real test'' can 
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   339
behave maliciously, just like the VW diesel engines.}
192
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   340
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   341
Optical scan machines are slightly better from a security
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   342
point of view but by no means good enough. Their main idea
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   343
is that the voter fills out a paper ballot, which is then 
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   344
scanned by a machine. At the very least the paper ballot can 
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   345
serve as a paper trail in cases an election result needs to
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   346
be recounted. But if one takes the paper ballots as the 
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   347
version that counts in the end, thereby using the optical 
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   348
scan machine only as a device to obtain quickly preliminary
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   349
results, then why not sticking with paper ballots in the 
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   350
first place?\bigskip 
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   351
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   352
\noindent An interesting solution for e-voting was designed in
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   353
India. Essentially they designed a bespoke voting device,
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   354
which could not be used for anything else. Having a bespoke
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   355
device is a good security engineering decision because it
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   356
makes the attack surface much smaller. If you have a
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   357
full-fledged computer behind your voting system, then you can
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   358
do everything a computer can do\ldots{}and that is a lot,
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   359
including a lot of abuse. What was bad about the devices in
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   360
India was that these machines did not have the important paper
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   361
trail: that means if an election was tampered with, nobody
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   362
would find out. Even if they had by their bespoke design a
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   363
very small attack surface, ethical hackers were still able to
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   364
tamper with them. The moral with Indian's voting machines is
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   365
that even if very good security design decisions are taken,
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   366
e-voting is very hard to get right.\bigskip 
192
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   367
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   368
2cb42412f3fd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 191
diff changeset
   369
\noindent This brings us to the case of Estonia, which held in
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   370
2007 the worlds first general election that used the Internet.
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   371
Again their solution made some good choices: for example voter
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   372
authentication is done via the Estonian ID card, which
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   373
contains a chip like on credit cards. They also made most of
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   374
their source code public for independent scrutiny. Of course
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   375
this openness means that people (hackers) will look at your
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   376
fingers and find code such as this snippet.
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   377
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   378
{\footnotesize\lstinputlisting[language=Python,numbers=none]
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   379
{../progs/estonia.py}}
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   380
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   381
\noindent If you want to have a look at their code it can be
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   382
downloaded from their github
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   383
repository.\footnote{\url{https://github.com/vvk-ehk/evalimine/}}
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   384
Also their system is designed such that Internet voting is
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   385
used before the election: votes can be changed an unlimited
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   386
amount of times; always the last vote is tabulated. You can
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   387
even change your vote on the polling day in person. This is an
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   388
important security mechanism guarding against vote coercion,
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   389
which of course is an important problem if you are allowed to
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   390
vote via Internet.
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   391
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   392
However, the weak spots in any Internet voting system are the
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   393
voters' computers and the central server. Unfortunately, their
386
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   394
system is designed such that they need to trust the integrity
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   395
of voters’ computers, central server components and also the
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   396
election staff. In 2014, a group of independent observers around
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   397
Alex Halderman were able to scrutinise the election process in
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   398
Estonia. They found many weaknesses, for example careless
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   399
handling of software updates on the servers. They also
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   400
simulated an election with the available software and were
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   401
able to covertly manipulate results by inserting malware on
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   402
the voters' computers. Overall, their recommendation is 
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   403
to abandon Internet voting and to go back to an entirely
195
78309f29a58f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 194
diff changeset
   404
paper-based voting process. In face of state-sponsored
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   405
cyber-crime (for example NSA), Internet voting cannot be made
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   406
secure with current technology. They have a small video
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   407
clip with their findings at
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   408
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   409
\begin{center}
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   410
\url{https://estoniaevoting.org}
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   411
\end{center}
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   412
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   413
\noindent This brings us to the question, what could be a
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   414
viable electronic voting process in
365
942205605c30 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 357
diff changeset
   415
\underline{\smash{\textbf{\emph{theory}}}} with current technology?
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   416
In the literature one can find proposals such as this one:
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   417
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   418
\begin{enumerate}
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   419
\item Alice prepares and audits some ballots, then casts an
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   420
      encrypted ballot, which requires her to authenticate to
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   421
      a server.
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   422
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   423
\item A bulletin board posts Alice's name and encrypted
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   424
      ballot. Anyone, including Alice, can check the bulletin
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   425
      board and find her encrypted vote posted. This is to
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   426
       make sure the vote was received by the server.
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   427
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   428
\item When the election closes, all votes are shuffled and the
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   429
      system produces a non-interactive proof of a correct
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   430
      shuffling---correct in the sense that one cannot determine
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   431
       anymore who has voted for what. This will require a 
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   432
       shuffling procedure based on zero-knowledge-proofs.
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   433
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   434
\item After a reasonable complaint period, let auditors
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   435
      check the shuffling, all shuffled ballots are decrypted,
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   436
      and the system provides a decryption proof for each
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   437
      decrypted ballot. Again this will need a 
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   438
      zero-knowledge-proof-type of method.
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   439
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   440
\item Perform a tally of the decrypted votes.
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   441
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   442
\item An auditor can download the entire (shuffled) election
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   443
      data and verify the shuffle, decryptions and tally.
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   444
\end{enumerate}
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   445
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   446
\noindent As you can see, the whole process is not trivial at
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   447
all and leaves out a number of crucial details (such as how to
227
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   448
best distribute public keys for encryption). It even depends
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   449
on a highly sophisticated process called
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   450
\emph{zero-knowledge-proofs}. They essentially allow one to
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   451
convince somebody else to know a secret without actually
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   452
revealing what the secret is. This is a kind of cryptographic
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   453
``magic'', like the Hellman-Diffie protocol which can be used
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   454
to establish a secret even if you can only exchange postcards
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   455
with your communication partner. We will look at
7807863c4196 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   456
zero-knowledge-proofs in a later lecture in more detail. 
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   457
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   458
The point of these theoretical/hot-air musings is to show that
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   459
such an e-voting procedure is far from convenient: it takes
325
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   460
much more time to allow, for example, scrutinising whether the
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   461
votes were cast correctly. Very likely it will also not pass
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   462
the benchmark of being understandable to Joe Average. This was
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   463
a standard, a high court ruled, that needs to be passed in the
48c6751f2173 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 287
diff changeset
   464
German election process. 
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   465
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   466
The overall conclusion is that an e-voting process involving
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   467
the Internet cannot be made secure with current technology.
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   468
Voting has just too high demands on integrity and ballot
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   469
secrecy. This is different from online banking where the whole
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   470
process is designed around authentication. If fraud occurs,
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   471
you try to identify who did what (somebody’s account got zero;
386
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   472
somewhere the money went). Even if there might be more
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   473
gigantic sums at stake in online banking than with voting, it
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   474
can be made reasonably secure and fraud-safe. That does not
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   475
mean there are no problems with online banking. But with
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   476
enough thought, they can usually be overcome with technology
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   477
we have currently. This is different with e-voting: even the
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   478
best have not come up with something workable yet.
193
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   479
a97b828bf87f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 192
diff changeset
   480
386
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   481
This conclusion does not imply that some special cases of
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   482
Internet voting cannot be made to work securely. Just in a
194
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   483
general election where stakes are very high, it does not work.
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   484
For example a good-enough and workable in-lecture online
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   485
voting system where students' votes are anonymous and students
386
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   486
cannot tamper with the outcome, I am sure, can be implemented
3c69029f4a1c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 369
diff changeset
   487
(see some of my MSc projects). 
287
0b9a16ddd625 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 276
diff changeset
   488
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   489
287
0b9a16ddd625 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 276
diff changeset
   490
\subsubsection*{Further Reading}
0b9a16ddd625 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 276
diff changeset
   491
0b9a16ddd625 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 276
diff changeset
   492
If you want to know more about e-voting, I recommend
194
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   493
the highly entertaining online course by Alex Halderman at
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   494
Coursera.
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   495
194
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   496
\begin{center}
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   497
\url{https://www.coursera.org/course/digitaldemocracy}
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   498
\end{center}
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   499
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   500
\noindent There is also an entertaining TEDtalk by Barbara
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   501
Simons called ``Why can I bank online but not vote online?''
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   502
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   503
\begin{center}
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   504
\url{https://www.youtube.com/watch?v=Wv3VuGZzdK8}
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   505
\end{center}
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   506
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   507
\noindent At the beginning she describes the complete break-in
5e7976fa8577 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 193
diff changeset
   508
by the group of Alex Halderman at the try-out voting at
328
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   509
Washington D.C. Halderman's amusing paper about this break in 
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   510
including pictures is at
276
d7109c6e721d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 227
diff changeset
   511
d7109c6e721d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 227
diff changeset
   512
\begin{center}
d7109c6e721d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 227
diff changeset
   513
\url{https://jhalderm.com/pub/papers/dcvoting-fc12.pdf}
d7109c6e721d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 227
diff changeset
   514
\end{center}
157
3a8fff66d62b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 156
diff changeset
   515
328
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   516
\noindent
357
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
   517
Another passionate plea to not use electronic voting is the youtube
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
   518
video
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
   519
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
   520
\begin{center}
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
   521
\url{https://www.youtube.com/watch?v=w3_0x6oaDmI}
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
   522
\end{center}
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
   523
5b91f5ad2772 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 328
diff changeset
   524
\noindent
328
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   525
Two researchers from Galois, Inc., present an interesting 
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   526
attack against home routers which silently alters pdf-based
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   527
voting ballots. This shows that the vote submission via
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   528
an unencrypted pdf-file is highly unsafe.
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   529
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   530
\begin{center}
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   531
\url{http://galois.com/wp-content/uploads/2014/11/technical-hack-a-pdf.pdf}
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   532
\end{center}
7ae9a893b76f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 325
diff changeset
   533
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   534
\end{document}
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   535
369
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   536
%unikernels for e-voting
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   537
Trust, trustworthiness, and the TCB
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   538
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   539
The notion of trust is important in security. It is also a source of
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   540
confusion, especially if people are sloppy in their terminology, and
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   541
do not distinguish between trust and trustworthiness.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   542
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   543
Depending on your point of view, trust can be something good and
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   544
desirable, or something bad and undesirable. Trust between parties is
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   545
good in that it enables easy interaction and good collaboration
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   546
between them. However, trust is bad in that trust in another party
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   547
means that party can do damage to you, if it turns out not to be
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   548
trustworthy. For example, if you give someone your bankcard and tell
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   549
them your PIN code, you trust them; this can be useful, for instance
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   550
if you want them to do some shopping for you, but is clearly also
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   551
potentially dangerous.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   552
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   553
Note that if a party is not trustworthy, then it may be so
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   554
unintentionally (because it is careless or, in the case of software,
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   555
riddled with security vulnerabilities) or intentionally (because it is
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   556
downright malicious).  When considering a system that is meant to meet
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   557
some security objectives, it is important to consider which parts of
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   558
that system are trusted in order to meet that objective. This called
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   559
the Trusted Computing Base or TCB.  Ideally, the TCB should be as
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   560
small as possible. The smaller the TCB, the less likely that it
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   561
contains security vulnerabilities. (Still, you should never under-
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   562
estimates people’s stupidity – or an attacker’s creativity – to
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   563
introduce security vulnerabilities in even the smallest piece of
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   564
software.) Also, the smaller the TCB, the less effort it takes to get
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   565
some confidence that it is trustworthy, for example, in the case of
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   566
software, by doing a code review or by performing some (penetration)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   567
testing.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   568
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 366
diff changeset
   569
156
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   570
%%% Local Variables: 
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   571
%%% mode: latex
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   572
%%% TeX-master: t
3b831b9dc616 added some initial handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   573
%%% End: