Auditability and Verifiability of Elecons Ronald L....

42
Auditability and Verifiability of Elec4ons Ronald L. Rivest MIT UC Davis December 1, 2016

Transcript of Auditability and Verifiability of Elecons Ronald L....

Page 1: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

AuditabilityandVerifiabilityofElec4ons

RonaldL.RivestMIT

UCDavisDecember1,2016

Page 2: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Havewemadeprogresssince2000?

Hanging chads (2000) >>> Voting Machines at Risk (2015)

Page 3: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Nov.2016–WhoReallyWon?

HillaryorDonald?

Page 4: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Evidence-BasedElec4ons Anelec4onshouldnotonlyfindoutwhowon,butshouldalsoprovideconvincingevidencethatthewinnerreallywon. (Stark&Wagner2012)NO:“TrustmeandmysoEware”YES:“Mistakeswillbemade.Findandfixthem.”YES:“Trustbutverify.”

Page 5: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Outline

•  SecurityRequirements•  SoTwareIndependence•  Audi4ngofPaperBallots•  CryptographicVo4ngSchemes(E2E)•  Remote(Internet?)Vo4ng???

Page 6: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

SecurityRequirements

Page 7: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

SecurityRequirements

•  Onlyeligiblevotersmayvote,andeacheligiblevotervotesatmostonce.

•  Eachcastvoteissecret,evenifvoterwishesotherwise!--Novote-selling!--Noreceiptshowinghowyouvoted!

•  Finaloutcomeisverifiablycorrect.•  No``trustedpar4es’’–allaresuspect!Vendors,voters,elec4onofficials,candidates,spouses,otherna4on-states,…

Page 8: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

SoTwareIndependence

(Rivest&Wack,2006)

Page 9: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

AndWhoDoYouHopeYouVotedFor?

Page 10: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

SoTwareIndependence

•  SoTwareisnottobetrusted!•  Avo4ngsystemissoEwareindependentifanundetectederrorintheso4warecannotcauseanundetectablechangeintheelec7onoutcome.

•  StronglysoEware-independentifitispossibletocorrectanysuchoutcomeerror

•  Example:Paperballots(withhandrecount)

Page 11: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

PaperBallots

Page 12: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

1893–“Australian”PaperBallot

Page 13: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Whatisusednow?

(VerifiedVo4ng)DRE=DirectRecordingbyElectronicsVVPAT=VoterVerifiedPaperAuditTrail

Page 14: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Elec4onProcess(paperballots)

•  Printballots;setup•  Vote•  Ini4alcount(byscanners);ini4al(“reported”)outcome

•  Sta4s4calaudit(byhand)ofpaperballotstoconfirm/disprovereportedoutcome

Page 15: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Audi4ngofPaperBallots

Page 16: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Twoaudi4ngparadigms •  Ballot-pollingaudits:Allyouhavearethecastpaperballots.(Like``exitpoll’’ofballots…)

•  Comparisonaudits:Usesbothpaperandelectronicrecords(“castvoterecords’’–CVRs)PaperballotgivenanIDwhenscanned;CVRhassameID.AuditcomparespaperballottoitsCVR.

Page 17: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Generalauditstructure

1.  Drawanini4alrandomsampleofballots.2.  Interpretthembyhand.3.  Stopifreportedoutcomeisnowconfirmed

todesiredconfidencelevel.4.  Ifallballotshavenowbeenexamined,you

havedoneafullrecount,andaredone.Otherwiseincreasesamplesize;returnto2.

CastVotes

Sample

Page 18: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Bravoaudit[LSY12]

•  Ballot-pollingaudit•  Risk-limi(ngaudit:providesguaranteethatchanceofaccepQngincorrectoutcomeisatmostgivenrisklimit(e.g.α=0.05).

•  Usesreportedmargin-of-victoryasinput(e.g.accumulateproductofA/2orB/2whereA,Barereportedfrac4onsofvotesforAlice,Bob.

•  Canneedlesslydoafullrecountifreportedmargin-of-victoryiswrong…

Page 19: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

DiffSumaudit[R15]

•  Nodependenceonreportedmargin-of-victory.•  Fortwo-candidaterace,stopswhen(a–b)2>(a+b)�log10(n)wherea,b=numberofvotesforAlice,Bobn=totalnumberofvotescast

•  Risklimit α determinedempirically;forthcomingworkgiveswaytomakethisapproachworkwithrigorousbounds.

Page 20: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Othersocialchoicefunc4ons

Page 21: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Socialchoicefunc4ons

•  Notallelec4onsareplurality•  Someelec4onsareranked-choice:ballotgivesvoter’spreferences:A>C>D>B

•  Aspecified``socialchoicefunc4on’’mapscollec4onsofballotstooutcomes.

•  Example:IRV(InstantRunoffVo4ng)–Keepelimina4ngcandidatewithfewestfirst-choicevotesun4lsomecandidatehasamajorityoffirst-choicevotes.(SanFranciscousesIRV.)

Page 22: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Black-boxaudits

•  “Black-boxaudits”onlyneedto– drawrandomsamples– derivevariantsamplesofarandomsample– applythesocialchoicefunc4onina“black-box”mannertosomesamples,todeterminethewinnersofthosesamples.

•  Black-boxauditsthusapplytoanyvoQngsystem(anysocialchoicefuncQon)!

•  Threeexamples:Bayesian,Bootstrap,andT-pileaudits.

Page 23: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Bayesianaudit[RS12]•  ``Inverse’’ofsamplingisPolya’sUrn:

•  Placesampleinurn.Drawoneballotoutatrandom,puttwocopiesback.Rinseandrepeat.

•  ThissamplesBayesianposteriordistribu4onforcollec4onofcastvotes.

•  Canthusmeasure“Probabilitythatreportedoutcomeiscorrect”givensample.Stopif>1–α.

CastVotes

Sample

Drawsample Polya’sUrn

Page 24: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Bootstrapaudit[RS15]

•  CreatefromgivensampleT(e.g.100)“variantsamples”(e.g.bysubsamplingwithreplacement)

•  Stopauditifsampleandallvariantshavesameoutcomeasreportedoutcome.

CastVotes

Sample

Drawsample

VariantSample

VariantSample

VariantSample

Page 25: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

T-pileaudit•  “Deal”sampleinround-

robinmannerintoT(e.g.T=7)disjointpiles.

•  Stopauditifsampleandallpileshavesameoutcomeasreportedoutcome.

•  Provablyrisk-limi4ngunderreasonableassump4onthatmostlikelysampleoutcomeiscorrectone.

•  Butnotasefficientasgeneralbootstrapaudit…

CastVotes

Sample

Drawsample

Pile1 Pile2 PileT

Page 26: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

ComparisonAudits

•  Moreefficient(1/margin-of-victory)sinceyouarees4ma4ngerrorrateinCVRs(near0)ratherthanvotesharesofcandidates(near½)

•  Typicalauditmayonlyneedtoauditafewdozensofballots

•  Bayesianauditcandocomparisonaudits•  Othermethods:SOBA[BJLLS11]

Page 27: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

End-to-endVerifiableVo4ng

Page 28: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

End-to-EndVerifiableVo4ng•  Provides“end-to-end”integrity;votesare

– “castasintended”(verifiedbyvoter)– “collectedascast”(verifiedbyvoterorproxy)– “countedascollected”(verifiedbyanyone)

•  Paperballotshaveonlyfirstproperty;onceballotiscast,integritydependson“chainofcustody”ofballots.

•  End-to-endsystemsprovidesoTwareindependence,verifiablechainofcustody,andverifiabletally.

Page 29: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

PublicBulle4nBoard(PBB)

•  E2Esystemshave“publicbulleQnboard”pos4ngelec4oninforma4on(includingencryp4onsofballots).

•  PBBposts“evidence”thatreportedwinneriscorrect.

PublicBulle(nBoard:<Elec4on>SystemPKparametersVoter/Votepairs:“Abe_Smith”,E(voteAbe_Smith)

“Ben_Jones”,E(voteBen_Jones)…ReportedwinnerProofofcorrectness</Elec4on>

Page 30: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Ballotsareencrypted

•  Votergivencopyofherencryptedballotas“receipt”

•  Howcansheverifythatencryp4onwasdonecorrectly?Wasvote“verifiablycastasintended?”– Answer:votercanarbitrarilydecideeithertocastencryptedvote,ortoauditencryp4onbyaskingfordecryp4onparameters.(Benaloh)

Page 31: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Votercanconfirmchainofcustody

•  VoternamesandreceiptspostedonPBB•  Voterchecks“collectedascast”byverifyingthathername/receiptispostedonPBB

•  Ifitismissing,shecancrediblycomplainifherreceiptis``authen4c’’ (e.g.hardtoforge).

•  EnoughcrediblecomplaintsèRe-runelec4on!

Page 32: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Anyonecanverifytally

•  Systempublishesfinaltally(reportedoutcome)andNIZKproofthatreportedoutcomeiscorrect.

•  Decryp4ngindividualballotsnotnecessarywithhomomorphictallying:E(v1)E(v2)=E(v1+v2)Productofciphertextsisciphertextforsum.Onlyproductofallvotesneedstobedecrypted.

•  Anothercommonapproachbasedonmixnets.

Page 33: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

E2Edeploymentsinrealelec4ons

•  Scantegrity(Chaum;TakomaPark,MD;2009&2011)

•  Wombat(Rosen;3elec4onsinIsrael;2011&2012)

•  PrêtàVoter(Ryan;NewSouthWales,Australia;2014)

•  StarVote(Aus4n,Texas)(DeBeauvoir;inprogress…)

Page 34: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Hybridpaper+electronic

•  Somesystems(likeScantegrity,Wombat,andStarVote)havebothapaperballotANDanelectronicE2Esubsystem.

•  Canauditpaperballotsasusual.•  CanauditelectronicrecordsonPBBasusualforE2Esystem.(Thatis,votercanverifyhervoteisthere,andanyonecanverifytally.)

Page 35: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Scantegrityconfirma4oncodes

Invisiblecodessolves“receiptauthen4city”problem:voteronlygetscodesforcandidatesshevotedfor.

Page 36: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Wombatvo4ng

•  PrintedballothasplaintextchoiceandQRcodeequivalent.

•  VotercastspaperballotintoballotboxandhasQRcodescannedforPBB.

•  TakesQRcodereceipthometolookuponPBB.

Page 37: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

WhencanIvoteontheInternet?(oronmyphone?)

h�p://voteinyourpajamas.org/

Page 38: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

•  U.S.VoteFounda4on2015ReportonInternetVo4ng:–  E2EnecessaryforIV–  But:E2Eshouldfirstbewell-establishedandunderstoodforin-personvo4ng,and

–  E2EnotsufficientforIV:manyproblemsremain:

•  Malware•  DDOSa�acks•  Authen4ca4on•  MITMa�acks•  Zero-daya�acksonservers•  Coercion&vote-selling•  …

Page 39: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

HeliosVo4ng(Adida)

•  PrototypeE2Einternetvo4ngsystemh�ps://vote.heliosvo4ng.org/

•  Useshomomorphictallying•  Usedbysomeprofessionalsocie4es…•  Noprotec4onagainstmalware,DDOS,coercion,etc…

•  Notsuitableforrealpoli4calelec4ons!

Page 40: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Challenges/OpenProblems

•  Proofsofrisk-limi4ngcharacterforBootstrapaudits

•  Developtheoryforprecinct-levelaudits•  Be�erE2Edisputeresolu4on•  Goodmul4-channelremotevo4ngmethods(mail+phone?)

•  Be�erwaystoexplainauditstonon-technicalfolks(sta4s4cs;crypto;assump4ons…)

Page 41: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Conclusions

•  Elec4onintegrityremainsahardproblemandagoodresearcharea.

•  Internetvo4ngis(orshouldbe)alongwaysoff(20years?)

•  End-to-endverifiablevo4ngmethods(especiallyhybridmethodswithpaperballots)arethewaytogo.

Page 42: Auditability and Verifiability of Elecons Ronald L. Rivestpeople.csail.mit.edu/rivest/pubs/Riv16t.slides.pdf• No dependence on reported margin-of-victory. • For two-candidate

Thanksforyoura�en4on!

TheEnd