59
J. Alex Halderman University of Michigan Internet Voting: What Could Go Wrong?

Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

J. Alex HaldermanUniversity of Michigan

Internet Voting:

What Could Go Wrong?

Page 2: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Integrity Ballot Secrecy

Voting as a Security Problem?

No Trusted Parties

Page 3: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Electronic Voting in Practice?

Page 4: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 5: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Diebold AccuVote-TS

Page 6: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 7: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 8: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 9: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

IndianEVM

Page 10: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 11: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Sequoia AVC Edge

Page 12: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 13: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Today, >70% of American votersget to see a physical record of their vote.

Page 14: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Internet Voting?

Page 15: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

ResultsA: 1000B: 999

Denial of Service

Insider Attacks

Remote Intrusion

State-Sponsored Attacks

Server-side Threats

Page 16: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Credential Theft

Imposter Sites

Malware

Client-side Threats

Page 17: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Case Study

Washington, D.C. (2010)

Page 18: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 19: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 20: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 21: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 22: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 23: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 24: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 25: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Recruit

Page 26: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 27: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

ballot.pdf /tmp/49d5.pdf

Page 28: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

ballot.xyz /tmp/49d5.xyz

Page 29: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

ballot.$(sleep 5) /tmp/49d5.$(sleep 5)“ ”

Page 30: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Surveil

Page 31: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 32: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 33: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 34: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 35: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 36: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 37: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 38: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 39: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Attack!

Steal database passwords, keys, etc.

Replace all existing votes with ours

Page 40: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 41: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Attack!

Steal database passwords, keys, etc.

Replace all existing votes with ours

Replace any new votes

Back door to reveal new votes

Clear logs

“Calling card”

Page 42: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 43: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Case Study

New South Wales, Australia (March 2015)

Page 44: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

New South WalesMost populous Australian state

2011 System by Everyone Counts

2015 system by Scytl

Available to self-certified absenteesTelephone, Internet, and poll site.

Largest ever Internet-based election:>280,000 online votes (out of 4.6M)

“People’s vote is completely secret. It’s fully encrypted and safeguarded, it can’t be tampered with …”

Page 45: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Vanessa Teague

Page 46: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 47: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 48: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Privacy….?

Page 49: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 50: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

March 2015

iVote Opens

Election DayiVote Closes

Alex Arrives in Melbourne

Page 51: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 52: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is
Page 53: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

FREAK and Logjam Attacks

Logjam discovered by team including AH in early March. Not public until May 20 (responsible disclosure).

We had a TLS 0-day affecting every browser!

Page 54: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Malicious Network

ivote.piwikpro.com

ivote.nsw.gov.au

Attacking

Malware runs in iVote app’s origin

Page 55: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Defeating Verification?

Apart from telephone-based cast-as-intended verification, no meaningful verifiability

Verification is easily sidestepped

Verification is a critical fail-safe mechanism. If you need to rely on it, your security has already failed.

Page 56: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

March 2015

iVote Opens

Election DayiVote Closes

Alex Arrives in Melbourne

First FREAKPatches Available

We Disclose Vuln via AU-CERT

Briefly Offline to Correct Ballot66,000 votes cast while vulnerable

(closest margin was only 3177 votes)

››› May 20 First browsers patch Logjam …››› May 20 First Logjam Patches Available

Logjam Discovered(Not Public)

iVote Patched;First Media Story

Page 57: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

The Future?

California Online Voting Ballot Initiates (2016)

Page 58: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

Securing online elections requires solving some of the most challenging open problems in computer security.

Commodity tools and frameworks are too fragile and complex. Small mistakes are inevitable and have dire consequences.

History gives voters good reason to be skeptical. Even a perfectly engineered system needs to earn their trust.

My take: Decades, if ever, until Internet voting can be adequately secured, and not without fundamental advances.

Internet Voting Takeaways

Page 59: Internet Voting: What Could Go Wrong? - USENIX...Telephone, Internet, and poll site. Largest ever Internet-based election: >280,000 online votes (out of 4.6M) “People’s vote is

J. Alex HaldermanUniversity of Michigan

Internet Voting:

What Could Go Wrong?

https://jhalderm.com