Hacker News

Bounty Hunt Announced on Swiss eVoting System(onlinevote-pit.ch)

173 pointstzmudzin posted 6 months ago56 Comments
lolc said 6 months ago:

The central issue with electronic voting is that it's opaque to observers. You can't guarantee vote privacy and monitor the counting process at the same time in electronics. I find that problem alone should mean no electronic voting should be used at scale.

Further, vote privacy is threatened at the client side. The fact that they specifically exclude client vulnerabilities is telling: "... known and accepted characteristics of the system will however not be accepted. Such “issues” include: Any operation compromising the vote privacy on the client-side (e.g. browser extension);" They even met "issues" in quotes, even tough these are a common attack vector. They are real and dangerous.

It's common in Switzerland to vote by mail, so there's the possibility that people get pressured into voting in a certain way by their relatives. But the scale is very different when people must expose their voting preferences to a machine they already know watches them.

Mirioron said 6 months ago:

I agree about the risk of client-side vulnerabilities. Another state-level actor could easily abuse this to influence an election.

On the counting side though, I don't fully agree. Paper voting sees some enormous mistakes. Whether they are intentional or not, but it has happened before where an entire town's votes for a candidate missed a zero. No election observers or people sent from either party noticed it until a volunteer pointed it out. Electronic voting isn't going to make such mistakes and I believe that if the process is handled well, then the secrecy of the vote shouldn't be an issue from the server side.

But again, there's nothing you can do about the client side attack vector.

sametmax said 6 months ago:

In your example it worked: a volunteer pointed it out. The volunteer probably would not have been able to with e-vote.

Who has the skill to be able to assess such a system ? And among those, who has the time ?

I've been a programmer for 15 years and I'm pretty sure I would not be able to look at such a system and feel confident there is no error. And definitly not in the reasonable time period required for voting.

paulhilbert said 6 months ago:

This exactly - complete recountability and the fact that there actually are independent volunteers recounting are the only assurances of a transparent, legitimate voting system. Black boxes (and computer systems by their nature are black boxes) introduced into this system will always void its transparency.

godelski said 6 months ago:

> In your example it worked: a volunteer pointed it out. The volunteer probably would not have been able to with e-vote.

I believe the parent's example was to show that it was missed by the system that was intended to catch it. That the catch in itself was a fluke, lucky.

It should bring into question "How many times have we missed and not caught it?" not "Well it worked this time, it must always work." In fact, we can only recognize cases if we catch them. Therefore it is confirmation bias to use this example as a "proof of it working". It can only serve as an example of "We have caught failures in the system" and suggest that we should be wary of others existing (neither proving nor disproving fault in the system).

sametmax said 6 months ago:

We can't know how many, but we know it's possible. For e-vote, i'm not sure it's possible. Hell, i can't tell with certainty my own laptop is clean.

lolc said 6 months ago:

While I agree that voting with paper ballots is prone to errors, I argue the errors are of the type that can be detected by observation. Manipulation at scale takes many conspirators and can be detected just by watching the process. You know you can't trust a vote when the watchers complain they couldn't monitor the ballot boxes at all time.

In electronic voting, you just have to trust the machine to do it right. There are multiple layers of manipulation available that are hard to detect. Sure, the bar is higher, but so are the opportunities for doctoring by the involved actors. What are the watchers to do? They simply can't watch the ballot box when it's inside a machine where no single human can fully understand its machinations.

Klathmon said 6 months ago:

To expand on this, "verification" or "observation" of paper voting can be done by just about anyone. Young or old, natives or transplants, left or right, comp sci majors or the high school dropout, just about anyone can count along and watch a box to make sure nobody is stuffing tons of ballots in there. That's what makes it so powerful. If you think some conspiracy is happening by "the other side", you can go down and watch for yourself, or you can gather a hundred other people to watch with you.

iguy said 6 months ago:

Exactly. The goal isn't just to minimise the number of errors, it's to minimise the estimated number of errors among the most conspiracy-prone 10% of your fellow citizens. The validity of the vote is something which resides in their heads.

visarga said 6 months ago:

It is possible to create an encrypted log of all votes, each vote encrypted with a different key. Voters would receive a decryption key printed on a slip of paper at the voting booth. Later on they could check to see if their vote was correctly counted.

im3w1l said 6 months ago:

There are two cases. Either you can prove to other people what you voted for. And then they can extort you. Or you can't and then you how can you prove you were cheated? And if we think one more step, hostile government can start rumors of distortions and no one can know.

There is an out. If no single person can prove their vote but people in aggregate can.

howard941 said 6 months ago:

Can this procedure confirm that the machine properly recorded my preferences, reported them to the central tabulator, and that the tabulator included my ballot choices in the final counts?

frosted-flakes said 6 months ago:

That's why you have paper ballots with dumb electronic counters, as Ontario (Canada) did in its last provincial election. The ballot is a full letter size piece of paper that is fed through the counting machine while the voter watches, into a standard ballot box that can easily be recounted.

Taylor_OD said 6 months ago:

Maybe I'm incredibly naive but if we can build safe financial trading platforms then why cant we build safe electronic voting platforms? It seems like someone would have as much motivation to steal money as they would to change votes if it was possible.

jfk13 said 6 months ago:

I'd guess that a lot of that "safety" depends on the audibility of what happens on financial trading platforms. If someone manipulates them, this can be discovered (and the manipulator punished) precisely because there's a trail recording exactly who did what.

If a voting platform has such a trail, what becomes of ballot secrecy? And if it doesn't, how will the process be reliably audited?

I'm sure a simple, transparent, and bullet-proof blockchain solution is just around the corner. /s

shaki-dora said 6 months ago:

Voting needs not only to be safe. It needs to be safe in a way that even old people, or those with zero knowledge of technology, do not belief conspiracy theories about how their vote is being stolen.

bubblethink said 6 months ago:

>The central issue with electronic voting is that it's opaque to observers.

There was this interesting talk years ago. https://www.youtube.com/watch?v=ZDnShu5V99s

Does anyone in the space have a more up to date reference on where things are at ?

imw said 6 months ago:

While I agree with your point about client-side vulnerability, I think the central issue you highlight has reached a tipping point. The use of zero-knowledge arguments of knowledge, such as the zk-snark, allows for anonymous, but still verifiable voting systems. These could be decentralized (via blockchain or similar), or built according to a more traditional architecture, but I do think that such a tool would represent a genuine advancement in voting systems.

lolc said 6 months ago:

The problem is that very few people can follow how a zero-knowledge protocol works. We'd all have to trust a small set of people to do it right. And then we'd have to trust the people implementing it to do it right. Then we'd have to trust the people who provision the devices it runs on to do it right. But then we'd have to trust the devices themselves too. All the people who worked on the devices must be trusted. In the end it means we can't know there was no manipulation.

Contrast this with a box where you can watch the pieces of paper as they are put inside. And as they are taken out again. As long as you can watch the box, you can can verify the process.

vowelless said 6 months ago:

> The central issue with electronic voting is that it's opaque to observers.

The central issue with electronic voting is that it is centralized.

nairboon said 6 months ago:

This program is a failure for the get go.

> Scalable manipulation of votes that is undetectable by voters and trusted auditors;

Such a bug would be a complete worst-case failure and if you report it, it would net you up to 50'000 CHF. This is a ridiculously low amount for such a critical infrastructure. The expected black market value of such a vulnerability is way way higher. Just to give you a frame of reference, in Switzerland we have 4 national votes a year and depending on the topic, affected interest groups and parties spend between 3 to 6 Mio CHF per vote for ads and influence. Now do the math yourself, whats the expected value of a vulnerability "undetectable by voters and trusted auditors" in a 10-20 Mio/y market (just at the national level) for influence?

spuz said 6 months ago:

But you only need one honest hacker amongst all those who discover the same vulnerability to claim the bounty. There are plenty of hackers and pen-testers out there who do legitimate work and have no interest in breaking the law. The bounty only needs to be as high as the market rate for their work.

Still the 150,000 CHF maximum bounty is way too low. Even though the system has already been pen-tested, there could still be dozens of undetectable vote manipulation bugs out there and they should not reduce the incentive of finding them by capping the payouts.

nairboon said 6 months ago:

Yes, but even if some bounties are paid out, what guarantee do we have that this one honest white hat did his work? And remember this is not an usual bug bounty for some company, where the failure mode is some lost revenue due to hacking. This could become ultra critical infrastructure, since in Switzerland we do not only elect the politician but we decide on any policy and law if it is of sufficient interest. In the absolute worst case a rigged electronic vote could enable laws bordering human rights violations or even laws to abolish some people's right to vote. So the failure mode here is complete loss of democratic control.

mal-2k said 6 months ago:

That's not a particular problem for e-voting. I don't see a concrete reason why there should be an enhanced risk for manipulation just because you transmit your vote via the internet instead of sending it by letter or visiting the polling station. I rather see an opportunity for the voter to verify that the vote has been correctly carried depending on the implementation of the e-voting system. But for that I still need a closer look into the details of this system (which I will do as it concern myself).

At the moment I see the project quite positive. For example in Germany they used a closed sourced software called "PC Wahl" and the ccc had quite some difficulties to get the source code. And when they got it the catastrophe just began. The software included such funny things like a 1 byte (sic!) hash as checksum. Then it had a weird encryption created by the guy who coded the software, which wouldn't even met 80's standards. Also the software was distributed via a cheap, hosted web server with the login credentials "test" "test" (sic!) and there wasn't any signatures for the updates nor for the transmitted results. To see the hole catastrophe you can watch "PC Wahl Hack" with Linus Neumann. It's quite funny especially when you hear that the software company (from that one guy who coded it since the 90s) was sold for about 1 Mio. €.

yholio said 6 months ago:

> whats the expected value of a vulnerability "undetectable by voters and trusted auditors" in a 10-20 Mio/y market

You might be low balling it yourself. The influence market has a limited value because players who would want to influence towards outlandish outcomes (ex. a union with Russia, declaring war to Germany or simply self-destruction via civil war) know they are wasting their money since their desired outcome is essentially impossible to achieve.

A system where you can enforce a change of leadership in a OECD country with 700 billion GDP is worth at least billions, if not tens of billions. You could recover most of your costs simply by influencing government purchasing for 4 years, and get any politically desired outcomes for free.

TheSpiceIsLife said 6 months ago:

I am from a far far away land.

Would you mind explaining what Mio means in this context.

PetitPrince said 6 months ago:

Mio == million

TheSpiceIsLife said 6 months ago:

There are, what, 6 million or so voting age people in Switzerland.

6 million x 3 to 6 million CHF = I’m confused.

1 CHF = about 1 USD?

36,000,000,000,000 CHF four times a year. M

I know I’m very tired. Did I miss something?

jobigoud said 6 months ago:

They mean "3 to 6 M per vote" as in per election, not per citizen.

nairboon said 6 months ago:

Exactly, on any of the 4 voting days a year, there can be multiple issues/proposition/topics and for the important ones of those, we see budgets in the millions

TheSpiceIsLife said 6 months ago:

Oh dear. Talk about fatigue decontextualised misinterpretation.

Thanks for clearing that up.

said 6 months ago:
jwandborg said 6 months ago:

I'm not sure the maximum is 50000 CHF. They present it as "Minimum compensation: Between 30000-50000 CHF" which is a bit ambiguous.

sschueller said 6 months ago:

Stop trying to fix something that isn't broken.

The paper ballot and manual counting here is Switzerland works and needs no fixing.

mittermayr said 6 months ago:

So did a pair of feet, but the car made things a whole lot easier eventually. Humanity is only here for a bit, I feel we owe it to ourselves to keep innovating, regardless of whether or not all of our innovations turn out to be great.

ataturk said 6 months ago:

The oligarchy can't disenfranchise you as easily, though.

Look at how screwed up the US is where liberal states import massive amounts of illegal immigrants and then launder them into voters by giving them driver's licenses. And when they're not running the tables with illegal immigration, they're doing it via gerrymandering (census counts legal and illegal alike), disavowing Voter ID laws as "Racist"--when every other thing we do requires an ID that is never accused of being racist, mind you.

And then there's the vote "counting" itself.

I think if Americans knew the full scale of fraud around voting there would be a real revolution.

runeks said 6 months ago:

> An amount of CHF 150'000.- is available for compensations.

Seems to me like this is the wrong approach. Essentially, they’re saying they they have no idea how much they can pay per bug.

A sensible approach would be to insure bug bounties, at least up to the amount that a black hat could profit from compromising the system.

janekm said 6 months ago:

Good luck getting a legislature to sign off on an unlimited bug bounty budget though...

heartbreak said 6 months ago:

An insurance policy would suffice.

consp said 6 months ago:

Good luck insuring this. I'm pretty sure the insurance premium will be the same as the actual cost.

Thorrez said 6 months ago:

They have a table below that with amounts listed for different types of bugs.

I'm guessing the 150'000 means they'll stop paying for new bugs once they've reached that amount.

born2discover said 6 months ago:

What it means is that they only have a budget of 150k CHF for all of the compensations they have to pay out. So if there are 4 bugs that would amount to 50k per bug, then only first 3 would get compensated and the rest would not.

Source: [1] -> Q&A regarding the public intrusion test -> Is the federal government allowed to pay for hacker attacks?

[1]: https://www.bk.admin.ch/bk/en/home/politische-rechte/e-votin...

StreakyCobra said 6 months ago:

Not exactly related to this e-voting system, but more generally there will probably be a federal popular initiative for a moratorium on e-voting in Switzerland [1,2]. It is possible (for Swiss citizens) to support the collection of signatures by registering here [3].

[1] https://www.admin.ch/gov/en/start/documentation/events.event...

[2] http://e-voting-moratorium.ch/

[3] https://evoting-moratorium.wecollect.ch/

born2discover said 6 months ago:

Oh, that is great to know, thank you!

chirau said 6 months ago:

username checks out

atemerev said 6 months ago:

First of all, great news! I live in Switzerland, and this is really good to hear.

To those who think that 150’000 Fr. compensation is too low — think of the prestige! Hacking the Swiss voting system, the only direct democracy in the world! No amount of money is equal to that.

nostrebored said 6 months ago:

Right, because extolling political capital from one of the centers of global banking is definitely not more valuable than a CV blurb

atemerev said 6 months ago:

The Swiss are actually ready to shut down the e-voting system for good. This is the final “military excercise” test; if it will be able to stand the combined power of the finest hackers of the planet (which is doubtful), it might survive. But I don’t think so. This is a suicide letter for the system. At the very least, it will be DDoSed out of existence.

TulliusCicero said 6 months ago:

There's lots of direct democracy at sub-national levels in various countries.

folli said 6 months ago:

This is still my favorite take on the eVoting topic: https://xkcd.com/2030/

TulliusCicero said 6 months ago:

Reminds me of developers' attitudes towards software patents (similarly, near-universal consensus that they're a terrible idea).

mfsch said 6 months ago:

For a bit more background: The online newspaper Republik recently published a piece about this project and some of the problems with the company Scytl providing the system. They provide an English translation of that article:


beefhash said 6 months ago:

After Geneva made their system available as free software (AGPLv3), I can't help but feel a tiny bit disappointed about the restrictive terms for the release of the source code.

sosodev said 6 months ago:

Why is arbitrary code execution worth so little? Isn't that usually considered the worst bug somebody could find?

mithr said 6 months ago:

The way I read it, if you can leverage arbitrary code execution to manipulate votes, then you can claim one of the higher-paying categories... but if you can execute code, but can't figure out how to use that to actually affect votes, they don't care as much.

I can't say I'm 100% sure that's the best strategy, but I think it makes at least some sense.