Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Opening Diebold Source, the Hard Way

Posted by kdawson on Sat Oct 21, 2006 03:09 PM
from the no-longer-obscure dept.
Doc Ruby writes to tell us about an article in the Baltimore (MD) Sun, reporting that someone sent a package to a former legislator containing what appears to be Diebold source code. From the article: "Diebold Election Systems Inc. expressed alarm and state election officials contacted the FBI yesterday after a former legislator received an anonymous package containing what appears to be the computer code that ran Maryland's polls in 2004... The availability of the code — the written instructions that tell the machines what to do — is important because some computer scientists worry that the machines are vulnerable to malicious and virtually undetectable vote-switching software. An examination of the instructions would enable technology experts to identify flaws, but Diebold says the code is proprietary and does not allow public scrutiny of it." Read on for more of Doc Ruby's comments and questions.

Maryland's primary elections last month were ruined by procedural and tech problems. Maryland used Diebold machines, even though its Republican governor "lost faith" in them as early as February this year, with months to do something about it before Maryland relied on them in their elections.

The Diebold code was secret, and was used in 2002 even though illegally uncertified — even by private analysts under nondisclosure. Now that it's being "opened by force," the first concern from Diebold, the government, and the media is that it could be further exploited by crackers. What if the voting software were open from the beginning, so its security relied only on hard secrets (like passwords and keys), not mere obscurity, which can be destroyed by "leaks" like the one reported by the Sun? The system's reliability would be known, and probably more secure after thorough public review. How much damage does secret source code employed in public service have to cause before we require it to be opened before we buy it, before we base our government on it?
+ -
story

Related Stories

[+] Your Rights Online: Diebold Disks May Have Been For Testers 182 comments
opencity writes "The Washington Post reports on the two Diebold source disks that were anonymously sent to a Maryland election official this past week. Further investigation has lead individuals involved to believe the disks came from a security check demanded by the Maryland legislature sometime in 2003." From the article: "Critics of electronic voting said the most recent incident in Maryland casts doubt on Lamone's claim that Maryland has the nation's most secure voting system. "There now may be numerous copies of the Diebold software floating around in unauthorized hands," said Linda Schade, co-founder of TrueVoteMD, which has pressed for a system that provides a verifiable paper record of each vote."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Closed source? (Score:5, Insightful)

    by insomniac8400 (590226) on Saturday October 21 2006, @03:17PM (#16530173)
    I think the closed source parking garage was a perfect example why the government shouldn't let a private company control government assets or processes.
  • With all the vulnerabilities in voting machines, it amazes me that the states do not mandate paper trails. Someone wouldn't even need access to the source code to start changing votes. For example, in this report from ABC News on October 1st [go.com], they discuss a method to almost invisibly manipulate both votes recorded and logs, all with only a couple minutes access to a voting machine.

    Here's an excerpt:
    In a paper last month, "Security Analysis of the Diebold AccuVote-TS Voting Machine," (available at http://itpolicy.princeton.edu/voting/ [princeton.edu]) Princeton computer professor Edward W. Felten and two graduate students Ariel J. Feldman and J. Alex Halderman discussed a common Diebold machine. They showed that anyone who gets access to the machine and its memory card for literally a minute or two could easily install the group's invisible vote-stealing software on the machine. (Poll workers and others have unsupervised access for much longer periods.) Changing all logs, counters, and associated records to reflect the bogus vote count that it generates, the software installed by the infected memory card (similar to a floppy disk) would be undetectable. In fact, the software would delete itself at the end of Election Day.
    • by StarfishOne (756076) on Saturday October 21 2006, @03:36PM (#16530345)
      Besides taking the effort to install invisible vote-stealing software, one can just open the MS Access database and edit the values: http://www.scoop.co.nz/stories/HL0307/S00065.htm#v otes [scoop.co.nz]
    • by Anonymous Coward on Saturday October 21 2006, @04:08PM (#16530587)
      FUCK A PAPER TRAIL. We need PAPER ELECTIONS. Just that simple. Can paper elections be rigged? Of course they can. Can they be rigged as easily, as invisibly, as completely as digital elections? Hell no. What's mind boggling is that there's even a debate here. Get rid of digital voting machines. Hell, get rid of ANALOG voting machines. Piece of paper, ink pen, padlocked metal box. That's how sane people run elections. The notion of there being anything worth debating here is nothing but complete bullshit.
      • by frdmfghtr (603968) on Saturday October 21 2006, @05:18PM (#16531159)
        FUCK A PAPER TRAIL. We need PAPER ELECTIONS. Just that simple. Can paper elections be rigged? Of course they can. Can they be rigged as easily, as invisibly, as completely as digital elections? Hell no. What's mind boggling is that there's even a debate here. Get rid of digital voting machines. Hell, get rid of ANALOG voting machines. Piece of paper, ink pen, padlocked metal box. That's how sane people run elections. The notion of there being anything worth debating here is nothing but complete bullshit.


        I have to agree--it has been proven that we, as a technologically advanced society, cannot reliably run an election using any sort of machine to count the ballots. I mean, when a machine counts more votes in a precinct than there are registered voters, that should be a big red flag lit up with a bright spotlight saying (no, SCREAMING) "Hey, something is all screwed up here, better take a look!" I wonder how many "irregularities" like this DON'T get caught.

        I will still support the use of some form of digital voting machine to print these paper ballots with the voter's choice marked, so that the ballots are marked in a consistent fashion and help prevent spoiled ballots (two candidates marked for the same position for example) but to count them, you need people, and only people.

        A rep from each candidate's election campaign to monitor the count and an official counter are what you need. Go ahead and use a spreadsheet to total up the counts if you like, since building a spreadsheet that can add two numbers is still something we can do reliably, but the official count for a precinct is done by hand.
      • The difference is that the Princeton team wrote a vote-switching virus which would spread itself through the smart cards used to tabulate votes. Thus, one infection could -- in time -- spread to any arbitrary number of machines without the knowledge of poll workers (or voters).

        That outcome is obviously not possible with manual election rigging.
      • by lawpoop (604919) on Saturday October 21 2006, @04:44PM (#16530909) Homepage Journal
        The problem with electronic voting hacks is that a single person can change entire elections, in very little time, without leaving any evidence at all.

        With paper ballots, you have to come up with a lot of other ballots if you want to stuff the ballot. That takes time, material, and co-conspirators. If you want to destroy ballots, you have to take them out of the box and get rid of them. You might shred, burn, bury them, or throw them in a river. That takes time, and leaves evidence and possibly witnesses. If you want to destroy enough ballots to change an election, you will probably also need co-conspirators, and will need to avoid witnesses.

        So anything you do to change a paper election will take a lot of time, resources, and manpower, where as an electronic theft of an entire election is almost instantaneous, with no witness and no evidence *.

        * Aside from exit polling.
  • by benhocking (724439) <benjaminhocking@yahoo . c om> on Saturday October 21 2006, @03:19PM (#16530199) Homepage Journal
    What if the voting software were open from the beginning, so its security relied only on hard secrets (like passwords and keys), not mere obscurity, which can be destroyed by "leaks" like the one reported by the Sun?
    Of course, passwords and keys can also be destroyed by leaks. The important distinction is that - if you're aware of the leak - it's much easier to assign a new password/key than to fix the software.
  • Due diligence (Score:5, Insightful)

    by turbofisk (602472) on Saturday October 21 2006, @03:21PM (#16530221)
    One would think that the state would require the sourcecode for due diligence...
  • by khasim (1285) <brandioch.conner@gmail.com> on Saturday October 21 2006, @03:21PM (#16530225)
    #1. Flaws in the code that could be exploited by anyone who knew them. The classic "security via obscurity". This is just plain stupid.

    #2. Trade Secrets would be revealed. So Diebold has some ingenious work in the system that it does not want revealed.

    #3. Stolen code would be revealed. So Diebold illegally incorporated code from someone else in their product and doesn't want anyone to see it.

    #4. Legal code re-use. So Diebold uses the same code on their ATM's as their voting machines and they worry that anyone with access to the voting code could POSSIBLY find a flaw in the ATM systems.

    Anyone have any other possibilities?
    • by CosmeticLobotamy (155360) on Saturday October 21 2006, @03:45PM (#16530421)
      #5. They're just selling cheap-ass computers running a crappy piece of software at a hideous mark-up, and they don't want to have to compete with 50 other companies selling the same cheap-ass computers running the same crappy software, or software just different enough not to violate their copyright.
  • Program complexity (Score:5, Insightful)

    by NJVil (154697) on Saturday October 21 2006, @03:26PM (#16530255)
    Apart from a layer of security, just how complex does the software have to be?

    (Clear all variables)
    Enter selections
    Hit accept/enter
    Accumulate values for all selections
    Clear screen
    (Repeat)
    Export at end of election

    Why the hell does something of this level of incomplexity even need to be closed source?
  • by LuminaireX (949185) on Saturday October 21 2006, @03:35PM (#16530335)
    How long before we can download it on Bittorrent?
  • Cracker or insider? (Score:5, Interesting)

    by WindBourne (631190) on Saturday October 21 2006, @03:38PM (#16530361) Journal
    If this is an insider, then I have to guess that it is somebody who is concerned about some piece of the code. Otherwise, I would guess that it is a cracker who was able to break through the famous Windows security at diebold and grab the source.
  • On a related note (Score:5, Interesting)

    by value_added (719364) on Saturday October 21 2006, @03:40PM (#16530381)
    I saw on Lou Dobbs [cnn.com] yesterday a piece that showed election officials rushing out to hire grad students to help out with the coming election. The reasoning was that widespread failures (mechanical, networking, software, etc.) were expected and election officials and staffers unanimously considered themselves as both unprepared and unable to deal with anticipated problems. A quick search for election jobs [monster.com] seems to validate the story.
  • What's in the code? (Score:5, Interesting)

    by HangingChad (677530) on Saturday October 21 2006, @03:40PM (#16530385) Homepage

    Or maybe they're worried that the code contains evidence of tampering with election results? Otherwise it's just code. Just because it's public doesn't mean Diebold loses their copyright.

    But if that code contains evidence of treason...which is what tampering with election results would be...then anyone involved deserves to be stood up against the nearest wall and shot. Then leave the bodies as a permanent reminder to anyone else thinking about ballot stuffing.

    The real question is if the results were rigged, what's that do to the Bush presidency? It would seem to invalidate the '04 election. That means anything he's done while in office should be voided and Kerry should be allowed to serve out the rest of his term. It gets really interesting to consider that the deciding vote on the Supreme Court would be one of those invalidated actions.

    • by Sven Tuerpe (265795) <sven.gaos@org> on Saturday October 21 2006, @05:09PM (#16531095) Homepage
      Or maybe they're worried that the code contains evidence of tampering with election results?

      My favorite conspiracy theory at this point is this:

      If you were in a position to tamper with election results by manipulating the code of voting machines, what would be the most obvious cover-up?

      Exactly. You would make sure that a clean version of the code "leaks", which shows no evidence of any tampering whatsoever.

  • Wave your rights.. (Score:5, Insightful)

    by msimm (580077) on Saturday October 21 2006, @03:50PM (#16530465) Homepage
    Voting is public. How can a company legally be allowed *not* to disclose the mechanics of a system built to be used in public elections. What .. we should just assume we can trust the democratic system in the hands of big business? Every programmer? Every engineer? They might as well just hire a bunch of staff that go house to house promise to vote for us.

    There are lots of things that you should be able to keep secret, but not how my voting system works. We might as well do away with it altogether.
  • by erroneus (253617) on Saturday October 21 2006, @04:34PM (#16530809) Homepage
    Who are the people, other than DieBold, that support DieBold's secrecy? Who are the people who would like to preserve things as they are rather than fix the problems that the rest of the interested public is concerned about?

    I think that when we can publically identify who these people are, we can either have a proper public debate on the topic or we can put the matter to rest by exposing the corruption that has been going on.
    • by N3Roaster (888781) <nealw AT acm DOT org> on Saturday October 21 2006, @04:00PM (#16530529) Homepage Journal
      It's true that with open source, someone could potentially find a flaw, not tell anybody about it, and then exploit that flaw to manipulate an election. Why would someone do that? Obviously to advance an agenda, either by getting a win for a particular candidate who supports that agenda (so you'd want to manipulate the votes in a sneaky way) or if your agenda is getting rid of these voting machines, producing results that are clearly absurd (landslide victory for the Stallman write in campaign). I think the former is more subversive and likely to have financial support either from the candidates themselves or organizations supporting those candidates. Given this, it is reasonable to assume that if you are going to fix the vote for the win, your opponent will too, which means you need to either escalate the fraud operation, increasing the risk such fraud will be exposed, or you need to prevent your opponent from taking advantage of the flaws by having them patched and using that labor you saved by not escalating to instead get out the vote.

      I might also be way off in this analysis, but I think having the code open to public scrutiny and the hardware securely locked down (any potential tampering should be evident) would be the way to go if computers are used at all.
    • by mabhatter654 (561290) on Saturday October 21 2006, @04:27PM (#16530747)
      the whole issue revolves around that issue. The machines sit in closets for 6 months then are drug out for an election. Diebold is supposed to be installing and using certified software, but they can't even do that right. The issues started because Maryland election officials were catching Diebold personel putting patches on without the proper paperwork... and they got VERY upset, wanting to know what they were doing. Even the company refused to cooperate... private software and doing their job and all.

      That's what's so screwed up about all this, even Diebold employees weren't following their own companies rules and election offical rules (remember they are the customer). Several Diebold run elections have had outcomes highly suspect... and Diebold is answering concerns with contept for the customers and citizens instead of openness and cooperation.

        • by ip_fired (730445) on Saturday October 21 2006, @04:34PM (#16530815) Homepage
          These machines exist more than the 30 seconds that you'll be using one. Someone who is dedicated could get their hands on one (through old fashioned thievery) and then have the months you mentioned probing for exploits. Then they still just need 30 seconds to exploit it. The point is, now I have to place *my* trust in this machine, without knowing how it tallies everything.

          Keeping the source code hidden doesn't stop people from finding exploits, but allowing the source code to be open allows the public to see how their vote will be tallied (well, those who have programming knowledge, but I would be more likely to trust it several groups did a code audit and signed off on it).
    • Re:Hopefully (Score:5, Insightful)

      by megaditto (982598) on Saturday October 21 2006, @04:47PM (#16530919)
      Don't be caught by this bullshit bait.

      What we need is legal access to the actual code (+source, compiler, bootstrap process) running on the machines, not an illegal access to a piece of code someone chose to 'leak'.

      And more importantly, we need voter-verified paper trail.
    • by daigu (111684) on Saturday October 21 2006, @05:12PM (#16531117) Journal
      The elections in the U.S. are different from third world countries. Elections in the U.S. are by and large, worse [prospect.org]. The U.S. has never been concerned about the integrity of elections, much less anything that could be described as free or fair by a third party observer.