Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Hardware Hacking Security Build Hardware Politics

Contest To Hack Brazilian Voting Machines 101

An anonymous reader writes "Brazilian elections went electronic many years ago, with very fast results but a few complaints from losers, of course. Next month, 10 teams that accepted the challenge will have access to hardware and software (Google translation; original in Portuguese) for the amount of time they requested (from one hour to four days). Some will try to break the vote's secrecy and some will try to throw in malicious code to change the entered votes without leaving traces."
This discussion has been archived. No new comments can be posted.

Contest To Hack Brazilian Voting Machines

Comments Filter:
  • Hack the judges (Score:5, Insightful)

    by noidentity ( 188756 ) on Saturday October 31, 2009 @12:32AM (#29932177)
    The simplest way to win this is to hack the judging process so that your team is announced the winner, with a false claim that you hacked one of the machines.
  • Re:First prize (Score:2, Insightful)

    by Anonymous Coward on Saturday October 31, 2009 @12:42AM (#29932215)

    winners will be executed

    We are in Brazil not in the USA.

  • by Anonymous Coward on Saturday October 31, 2009 @12:55AM (#29932265)

    Seriously one of the ten teams who figured they could hack a 'brazilian' voting machines in 'one hour', kudos.

  • by Ihmhi ( 1206036 ) <i_have_mental_health_issues@yahoo.com> on Saturday October 31, 2009 @01:10AM (#29932315)

    If it was that foolproof, it would be difficult for the people in power to tamper with it if they ever wanted to.

  • by wizardforce ( 1005805 ) on Saturday October 31, 2009 @01:14AM (#29932329) Journal

    The simplist explanation is that corruption is the problem not the technical aspects of these voting machines. These errors wouldn't be tolerated with ATM machines because the public seems to care a lot more if their bank account is fraked with but not so much their vote for some reason... That's the only real way to clean up the corruption; get the public to put real pressure on the entities involved in the voting process.

  • by buchner.johannes ( 1139593 ) on Saturday October 31, 2009 @01:35AM (#29932401) Homepage Journal

    Verifiability. And that is almost impossible if you don't provide a printout. All the solutions that provide a printout could succeed though, for example Bingo voting [bingovoting.de] or Punchscan [punchscan.org].
    So far companies such as Diebold sell "we know this is 100% secure, trust us" and that seems to be what sufficed for the people choosing a product. Cost, loss of democracy and provable security haven't been a criterion it seems.

  • Re:Hack the judges (Score:3, Insightful)

    by T Murphy ( 1054674 ) on Saturday October 31, 2009 @01:56AM (#29932463) Journal
    Any voting system will have risk due to human judges- this test will hopefully prove that electronic voting (on Brazilian machines) has no additional openings. If this works for Brazil, American companies have no excuse not to let us do the same to their machines (not that it will likely happen anyways). In any case this sounds great and I wish more governments would do things like this to prove trustworthiness rather than expect everyone to trust the government baselessly.
  • by TheLink ( 130905 ) on Saturday October 31, 2009 @01:58AM (#29932471) Journal

    Actually the puzzling thing to me is why is electronic voting so "popular". Why do the people in charge keep promoting it?

    Most electronic voting systems are bad at a very important requirement:

    Convincing the loser (and enough of his supporters) that he lost.

    The system doesn't just have to work correctly, it has to be accepted as working correctly (enough).

    With various fancy cryptography and systems it is possible to have an electronic system that is anonymous, verifiable and reasonably secure (see: http://www.youtube.com/watch?v=ZDnShu5V99s [youtube.com] for ideas on how this could be done), but as far as I can tell, they're not going for such systems.

    So why not just stick with paper ballots in a process where almost everything is done in the open? That way the eventual loser's representatives, 3rd party observers, various other people can observe every count of each vote. It's simple enough to understand. While postal votes can still be used to rig stuff, most electronic voting systems are also vulnerable to that same problem.

    That paper based system may take a bit more time, but it scales reasonably well - the more voters there are, the more volunteers there should be for counting. I'm assuming that it's not a case where too many of the citizens either can't count or are too lazy to do so.

  • Re:Hack the judges (Score:2, Insightful)

    by noidentity ( 188756 ) on Saturday October 31, 2009 @02:08AM (#29932497)
    No, my point was that you don't have to hack any voting machines (the apparent activity involved in this contest). You just need to hack the people managing it so that they announce you as the winner, and describe how you (fictitiously) hacked a voting machine.
  • by TubeSteak ( 669689 ) on Saturday October 31, 2009 @02:14AM (#29932519) Journal

    These errors wouldn't be tolerated with ATM machines because the public seems to care a lot more if their bank account is fraked with but not so much their vote for some reason...

    [Citation Needed]

    Are you thinking of the same ATMs that I am?
    Many ATMs are Windows running on commodity hardware.
    I've seen a few whose entire functionality is a java applet sitting on the desktop.

    I can't dispute your assertion that "the public seems to care,"
    but I will dispute your claim that "these errors wouldn't be tolerated".
    I dispute the claim because we don't know.
    ATM mfgs & banks don't report to anyone.

    There are no statistics to prove or disprove the security of ATMs.
    There are no standards for coding ATM software (like there is for airlines).
    But, from the SNAFUs that have become public, a good working theory should assume that the code is crap.

    Feel free to replace "ATM" with "Voting Machine" and almost everything I've said still applies.
    Except for the standards part, but IIRC there was recent news showing that the mfgs violate that anyways.

    P.S. Lol @ ATM machine

  • by TubeSteak ( 669689 ) on Saturday October 31, 2009 @02:21AM (#29932529) Journal

    Actually the puzzling thing to me is why is electronic voting so "popular". Why do the people in charge keep promoting it?

    Here are the problems that e-voting solves:
    Handicap accessibility
    ballot complexity
    hanging chads/questionable pencil marks

    Electronic voting in its current form resolves these problems.
    Unfortunately, in its current form, it introduces serious problems in verifying the vote.

  • by Beryllium Sphere(tm) ( 193358 ) on Saturday October 31, 2009 @02:27AM (#29932559) Journal

    What if the machines "pass" this contest?

    A real attack would likely involve more than a few days of effort, and might well have access to inside information not available to the red teams in the contest.

    If nobody breaks in, that will prove very little about the security of the machines.

  • by SeaFox ( 739806 ) on Saturday October 31, 2009 @02:34AM (#29932581)

    I like this idea. Voting systems corporations claim their solution is accurate and secure, let them put their money where their mouth is and let people try and crack it. If their machine's security depends on nobody being allowed to even try then it's all theater.

  • by wizardforce ( 1005805 ) on Saturday October 31, 2009 @02:40AM (#29932595) Journal

    Most of the problems with ATMs that I've heard of involve hacking into the system, and utilising social engineering attacks. Electronic voting machines have had problems that go far beyong those:
    *social engineering attacks
    *weak physical security to the point of being able to access the machines' innards with a hotel key
    *federally illegal code used on sequoia voting machines leaked to the public
    *errors in tabulating votes sometimes in the thousands
    There are more but I think I've already made my point. The string of failures and bafflingly simple errors in basic security of these voting machines leads one to wonder just how much corruption has overridden technical prowess in the making of these machines. They can do it right, there is just a huge incentive not to.

  • by Anonymous Coward on Saturday October 31, 2009 @04:30AM (#29932883)

    It's interesting to see that true care for democracy can rise in some developing countries while it keeps fading in other, richer ones where the political model tends to oligarchy backed by pre-orwellian laws.

  • by Ceriel Nosforit ( 682174 ) on Saturday October 31, 2009 @04:50AM (#29932925)

    And you couldn't say that there is a much more worthy target for both white and grey hats. From crashing computer networks, hacking goes on to secure the logical foundation of democracy; voting.

    With some luck they will devestate the voting machines and companies, and create public uproar in the process. Civilization progresses when people care.

  • by fgouget ( 925644 ) on Saturday October 31, 2009 @05:06AM (#29932979)

    I like this idea. Voting systems corporations claim their solution is accurate and secure, let them put their money where their mouth is and let people try and crack it.

    All it will prove is that these machines are hard to hack for outsiders. But the number one threat is that of insiders; mainly the government in place (who has most to lose in an election) and corrupt programmers at the company making the voting computers.

  • by seifried ( 12921 ) on Saturday October 31, 2009 @05:08AM (#29932989) Homepage
    I don't care if you have a provably correct system (in the sense of a formal mathematical proof AND a code audit AND a hardware audit) because I cannot verify that that is the system I am indeed interacting with! On the other hand with paper and pencil I can easily verify that my vote was recorded correctly (did I make an X in the circle I wanted? .. yup.) and I can also EASILY verify that the vote is counted correctly (anyone is legally allowed to watch the count including people not affiliated with political parties, referred to as Electoral observation [elections.ca]).
  • by Anonymous Coward on Saturday October 31, 2009 @05:10AM (#29932997)

    Shush. Making the system appear secure is the point of the contest. Not finding a flaw does not mean there is no flaw, or we would all ship flawless systems. The purpose of hacking contests is therefore marketing and marketing alone.

  • by mpe ( 36238 ) on Saturday October 31, 2009 @05:17AM (#29933021)
    Actually the puzzling thing to me is why is electronic voting so "popular". Why do the people in charge keep promoting it?

    Most likely it's simply an issue of "follow the money".

    So whyion not just stick with paper ballots in a process where almost everything is done in the open? That way the eventual loser's representatives, 3rd party observers, various other people can observe every count of each vote. It's simple enough to understand. While postal votes can still be used to rig stuff, most electronic voting systems are also vulnerable to that same problem.

    One thing to also remember is that changing the mechanics of the polling process does nothing to address voter intimidation, gerrymandering, conflicts of interests between people running the election and candidates, differing nomination/campaigning rules for different candidates, etc. Many of which are actually far bigger problems...

    That paper based system may take a bit more time,

    Such systems are generally quick enough for political systems where the results of the election take effect within hours/days. In places such as the USA elected people may not actually start for weeks/months after the election. What is the situation in Brazil?
  • by fgouget ( 925644 ) on Saturday October 31, 2009 @05:36AM (#29933073)

    write a simple app that writes the vote to a flat text file,

    Thus writing the votes sequentially. If you independently record the order in which people vote (audio recorder in your pocket), then you can pretty easily know how each of them voted. See, you've failed at preserving voter privacy already. Preserving it requires randomizing the order of the votes in some way, which is not very practical with a flat text file.

    pretends to then read the recorded result back to the voter for them to confirm,

    Fixed that for you. What's written in the file does not have to match what's recorded in the file and the voter will never be able to prove anything. The software you wrote may not be the one that's used during the elections either. And again it's unlikely you'll be able to prove anything.

    and store a hash of the result separately. encrypt all the drives, lock down the hardware in each location with steel boxes and armed guards if needed.

    All this protects is the result. You need to prevent tampering of the software and yet make it possible to update it to integrate fixes (unless you claim to be able to produce bug-free software in your first attempt). You also need to make it possible to change the ballot definitions obviously (unless you plan on your system being used only once and then thrown away), and yet prevent non authorized parties (including election employees) from hacking them.

    encrypt all the drives,

    Encryption is to prevent unauthorized parties from reading the disk. What you really want is signing of all the executable code by a trusted authority so you can detect any tampering. The problem is finding a trusted authority: it obviously cannot be the government in place, not the voting computer manufacturer either, a random bloke taken off the streets? (who picks him?)

    Yet another problem is that none of this lets the voter verify the voting machine in front of him has not been hacked on election day.

    transport the results out of the voting location with the votes and hash separately and count then use the hash to verify that the count wasn't tampered with in transit etc.

    All election officials have to do is prepare matching votes and hashes in advance of the election and substitute them for the real ones during transport, or in the secure storage room to which the public does not have access. Lesson: as soon as something leaves the polling place, and thus escapes the surveillance of the public, you can assume it has been corrupted.

  • by mpe ( 36238 ) on Saturday October 31, 2009 @05:42AM (#29933095)
    Can't speak to Brazil specifically, but the "popularity" of electronic voting, or more correctly, the push to use electronic voting systems to deal with the problems of manual methods, can be summed in two words: hanging chad.

    Thing is that the "hanging chad" issue is related to a mechanical, quite possibly in parts electronic, system anyway. Using Hollerith cards as ballot papers can only be described as a "hack" in the first place. If anything the underlaying problem is too much (inappropriate) technology being used to vote.

    Those two words, in turn, gave rise to another infamous two words: Bush v. Gore.

    How would electronic voting machines have dealt with the conflict of interests issue of Jeb Bush not reclusing himself?
  • by fgouget ( 925644 ) on Saturday October 31, 2009 @05:43AM (#29933097)

    These errors wouldn't be tolerated with ATM machines because the public seems to care a lot more if their bank account is fraked with but not so much their vote for some reason...

    When an ATM machine makes a mistake they very quickly see the result of it on their bank statement. So yes, they then get upset.

    When a voting machine makes a mistake, someone still gets elected with no one the wiser (unless the error was huge like more votes than voters). So since nobody knows the machines made a mistake (or were hacked) nobody cares or is upset.

  • by HungryHobo ( 1314109 ) on Saturday October 31, 2009 @06:47AM (#29933269)

    what boggle my mind that slot machines are constructed to be more secure and more easily auditable(to make sure the settings conform to regulations) than voting machines.

  • by TheRaven64 ( 641858 ) on Saturday October 31, 2009 @09:53AM (#29934115) Journal

    Exactly. I have a PhD in computer science and a lot of experience debugging other peoples' code. If you gave me the source code to an electronic voting system, I could not be more than 50% sure that I had found all of the potential ways of exploiting it. Even if I do manage to convince myself that it is bug free, which might be possible if it were developed using formal methods, then I still have no way of verifying that the software that I audited is the software I am using to vote. More than 99% of the population is likely to be less able to audit the code.

    We don't use electronic (or mechanical) voting here, we use a pen and paper. I can look at the paper and validate that it has the mark next to the candidate that I wanted. I can then put it in a box. If I want, I can volunteer to watch the box and see that no one removes ballots from it before it is counted. I can then watch, or even participate in, the counting. The number of votes counted is then published and I can check the totals match for the constituency. Anyone with basic numeracy can validate this mechanism. Most people don't choose to, but each of the candidates will nominate people that they trust to do so and they can select these people from the entire population, not just from some technical priesthood.

  • by jsveiga ( 465473 ) on Saturday October 31, 2009 @11:03AM (#29934661)

    - You OUGHT to vote if you are a Brazilian citizen between 18 and 70, and is not illiterate. You get in a lot of trouble if you don't.
    - You don't register for avery election; you have a "voting ID" valid for every public election.
    - You have to vote in a specific designated place (noted in your "voting ID"), generally the closest voting section from the address you provided when getting your "voting ID". If you are away, you have to justify the absence (preferably on a mail office, at the election day)
    - Election happens in one day, throughout the country (there may be 2-phase elections, for example for mayor, governor or president, when in the 1st phase the winner does not get more than 50% of the votes - oh, yes, we DIRECTLY vote for president - every citizen's vote has the same "weight").
    - Although the voting machine is electronic, when you get to the voting section there are PAPER books with all voters for that section listed, and your ID is checked against that. You sign the book and get a "receipt" detached from it (you have to prove you voted, as it is a legal obligation).

    Soo, the electoral authority "knows" how many votes should appear in the results. Generally we do not have Disney characters, dead people, etc. voting, nor people voting in several electoral sections.

    As far as I can remember, results have matched the pre-election polls (from multiple sources) quite well. Generally people know in advance what the result will be from each city or even city area, and that can be seen in real time as the electronic counting unfolds at election night (yes, we generally get most results in the night of the election day). I can't recall results being seriously contested by the losing parties (we have MANY parties).

    Results are manipulated by "social engineering": Sending buses/boats to collect people from remote locations for voting in "exchange" for voting, trading dental treatment promises, money, death threats, etc. Illegal too, but easier and more difficult to trace than manipulating after the votes were cast.

    I trust that there are so many crooks in politics in my country that if a party found a way to manipulate the results after elections, there would be so many me-too-or-else-I'll-tell that it would spread like a wildfire and the results would be awkward enough to be laughable. It is a self-regulating system. If a hacker found a way to manipulate the results, he would not stop at selling the method to one single candidate. I believe the same applies for other voting methods (except the ones which allow Mickey Mouse to register, of course) - it is not the system itself that prevents fraud, but the fact that fraud works both ways, and that the result is not a complete surprise.

    In recent international elections you can see in the news that if the results do not match what the population though it would be, it is noticed at once, and people get to the streets (sometimes there wasn't even a fraud, it's just that some people won't accept the losing). It hasn't happened here so far, so we still trust the way it's been done.

The key elements in human thinking are not numbers but labels of fuzzy sets. -- L. Zadeh

Working...