5 ms·
I'm having a hard time understanding the way voting machines are created these days. Why are they complete operating systems? Why do they have ports? Why do the
by viraptor 11y ago
I'm having a hard time understanding the way voting machines are created these days. Why are they complete operating systems? Why do they have ports? Why do they look like they're overengineered in so many ways?
What's stopping the companies from producing a closed box with SoC+board connected to: N buttons, display, card reader/scanner, printer, wifi/ethernet. All you need is to take cards, register the result, add it to some continuously hashing database, print vote proofs, periodically upload data (again, public-key encrypted). If they need to be updated, allow only signed code. (ARM SoCs have secure-boot-like capabilities)
Am I missing something? Why do we get multiple iterations of machines with exposed ports, running XP, having hardcoded passwords, allowing admin access, having physical locks which can be opened without a key, etc. How can these things be created without at least one person saying "this shit is unacceptable"?
- rurounijones 11y agoMost of your questions can be answered "Because it is cheaper" and "Because certifying boards are useless"
- krapp 11y ago>Am I missing something? Probably - corruption involving the contracts, outsourced or incompetent engineers (chances are, the best and the brightest are working on things that actually turn a profit), and neither party really having a strong interest in a system they couldn't subvert if they wanted to.
- jaawn 11y agoHurray Capitalism?
- Gibbon1 11y agoI sort of chalk it up to the sort of stuff you get with hucksters that sell stuff to municipalities. The business is a little different than when some random person buys a phone, because while they are technically inept, there is a layer of brokers/buyers between the manufacturers and the stores. Those guys are smart and know their markets well. If you ever sold something into that market you need to produce a few thousand units, for those guys to beat on. And they have to be perfect, or they won't place orders. This doesn't exist for something like a voting machine. So think 'stuff thrown together as quickly and cheaply as possible' in order to land the contract. Quality will vary a lot.
- vinceguidry 11y agoFor most of the technology governments use, they are reliant on off-the-shelf hardware and software. Only the military has the budget to design solutions from scratch. Police equipment has traditionally been either ancient, or repurposed military hardware, only recently have budget blown up to where it's profitable for companies to design products specifically for police departments. The private sector literally doesn't have any use, at all, for voting machines. The problem they solve never arises in modern life. So there's no commercial solution available to repurpose. Add that to the fact that election boards are always hideously underfunded and understaffed, there's no one out there to hold the contractors' feet to the fire. Really, state and local election boards need to just go back to the older systems, but there's nobody making them do it, and you will sound like a Negative Nancy trying to take away all their fancy new kit. What really needs to happen is for POTUS to make it an issue. With one swipe of his pen he could issue an executive order to throw federal money at a new department whose job is to maintain a body of standards for electronic voting machines and mandate that all new machines have to adopt on a certain time table. They probably won't be secure, but it'll be the department's job to respond to reported vulnerabilities and ensure that they get fixed.
- BurningFrog 11y agoHow much would it cost to produce a decent secure voting machine design? No more than a few tens of millions, right? Maybe a few of the tech billionaires that read HN could pass around a hat and get this done? "Saved American democracy" would be a good legacy for anyone!
- ianlevesque 11y agoCongratulations you've rediscovered taxes and their purpose.
- jessaustin 11y agoWhat has paid for the devices under consideration in TFA? Why have those taxes not resulted in the usable machine described by GP?
- Maxious 11y agoWhy put in all that cost/effort when you can sell laptops with MS Access voting apps for the same price?
- viraptor 11y agoCan you? When we're talking about N machines per each voting point, even volume pricing of MS Access may be larger than a dedicated box. Of course the price of designing a dedicated box is non-zero. But if you can reduce the dedicated box spec to <=$100 and reduce the scope of any review (you're not reviewing the whole OS anymore), I'm not sure laptops would be cheaper.
- JoachimSchipper 11y agoFor small productions runs - and it's hard to sell more than a couple hundred voting machines locally - developing the product (NRE) typically dominates costs. Imagine that you have one developer who can do enough hardware, software, and documentation in a single man-year, and whose fully-loaded cost is $100 000 per year. Then just paying that developer will cost $1000 per box on a 100-box production run; paying a team of three such developers for two years would still cost nearly $700 per box on a 1000-box production run. (And those would need to be very productive developers; I'd expect a team of 10-20 people if you want to do the above in a year, once you include sales, staff, and specialists doing projects/consulting work for your company.)
- viraptor 11y agoBut that's general cost, not cost compared to current solutions. Hardware, software, documentation also had to be produced for any solution using XP embedded. (Probably shouldn't have continued using "laptops" idea from the parent post, since that's not really what's happening.)
- jsjohnst 11y agoKinda ancillary to your point, but if you think the developers who write stuff like this make $100k/year, you've lived in Silicon Valley or NYC for too long. These kinds of projects are typically done by someone making half that somewhere in middle America.
- drewcrawford 11y agoWhat you are missing is that the technical part is not the hard part. The hard part is all the rest of it. For example, here [0] is a link to the 200-page "volume 1" of the federal standards, merely one of a complex web of certifications that these things go through. One random paragraph is illustrative: Vote scanning and counting equipment for paper-based systems, and all DRE equipment, shall be able to withstand, without disruption of normal operation or loss of data, electrical fast transients of: a. +2 kV and −2 kV on External Power lines (both AC and DC) b. +1 kV and −1 kV on Input/Output lines(signal, data, and control lines) longer than 3 meters c. Repetition Rate for all transient pulses will be 100 kHz Now I am a software engineer, and quite frankly I have no idea whether these are large tolerances which would require specialized equipment to withstand or whether e.g. my laptop would sail through this kind of event. Nor do I have any idea how I would demonstrate compliance with these requirements to the satisfaction of a federal examiner. And that is what voting machines are. They are checkboxes on a specification. That means that you can buy them with confidence that somebody else's ass will be on the line when they turn out to be awful. The fact that they actually record votes is ancillary at best, the primary feature and the reason for buying them is that they tick the checkboxes. As to why they seem overpriced, the reason is that it costs a lot of money to have an engineer hook the thing up to his fancy oscillator and write you a report that yes, this machine complies with requirement 4.1.2.6.c, over and over again. [0] http://www.eac.gov/assets/1/Documents/VVSG.1.1.VOL.1.FINAL.pdf http://www.eac.gov/assets/1/Documents/VVSG.1.1.VOL.1.FINAL.p...
- nitrogen 11y agoVote scanning and counting equipment for paper-based systems, and all DRE equipment, shall be able to withstand, without disruption of normal operation or loss of data, electrical fast transients of: a. +2 kV and −2 kV on External Power lines (both AC and DC) b. +1 kV and −1 kV on Input/Output lines(signal, data, and control lines) longer than 3 meters c. Repetition Rate for all transient pulses will be 100 kHz That kind of testing is par for the course for electronics manufacturing at scale, though it does seem these requirements are quite stringent. The 100kHz repetition rate sounds odd though, and some of the other specs aren't completely clear. But regulatory testing of electronics is, in general, a solved problem, as are the mitigations for voltage surges.
- msravi 11y agoElectronic voting machines used in Indian elections are custom built for the purpose, and cost about $100. https://en.wikipedia.org/wiki/Indian_voting_machines https://en.wikipedia.org/wiki/Indian_voting_machines All it has is N buttons, accumulators to store presses of each button in non-volatile memory, and a seven-segment LED display to indicate status (ready-to-vote, vote cast, etc.). Vote counting is done offline by connecting to a controller. No wifi or any other remote-access capability. All that really needs to be done to create a paper trail is to add a printer. Not implying that they're completely secure, but any breach at least needs physical access to the box. And physical security of the machines is on the same level as those provided for traditional ballot boxes. Edit 1: The balloting unit does not even have a 7-segment display - just individual LEDs next to their buttons to provide feedback that the button has been pressed. Edit 2: More details on the internals of the EVM: https://jhalderm.com/pub/papers/evm-ccs10.pdf https://jhalderm.com/pub/papers/evm-ccs10.pdf
- codeN 11y agoIndian EVMs are not as secure as ballot boxes. It is dead simple to "inspect" a ballot box once received for any backdoor that might be there, but not the same for Indian EVMs, in fact there is an attack where the attacker can change a single IC, and make the machine remotely editable, or "distribute" votes, and that can be turned on and off. https://www.youtube.com/watch?v=apkSkb6Ak3I https://www.youtube.com/watch?v=apkSkb6Ak3I
- msravi 11y agoHow would you "inspect" a ballot box from which real votes have been discarded and which has been stuffed with fake votes? Once you have sufficient access to open a voting machine (electronic or otherwise) and change components, all bets are off.
- codeN 11y agoI was talking about inspection once it reaches the election agency. After that, till counting both are same, however the fact that they can be tampered with during manufacturing is what bothers me. Essentially the ballot boxes only require one trustable entity the election agency, the EVM requires two trustable entities the EVM manufacturer and the election agency.
- mtgx 11y agoI think the main party to blame here is Microsoft. They're pushing this "one-size fits all" solution into everything - from embedded systems to super-computers. To them it doesn't matter if Windows is "over-engineered" for a voting machine - it's just another license sold. If it were up to me no embedded system would ever use the same operating system that's on a billion PCs. That's just asking for trouble.
- pjc50 11y agoDefine "embedded system" here: a ban on kiosk PCs? Could you apply the same logic to Linux, which is on hundreds of millions of PCs and also embedded routers? Is the problem just proprietary software?
- mtgx 11y agoLinux is not an OS, it's a kernel. There are hundreds of different distros (the actual operating systems) with various degrees of security from being worse than Windows to having ultra-hardened kernels and user-spaces. So from this point of view, I think it's okay for "Linux" to be in multiple things at once, because it's really pretty far from a "single thing". The embedded versions of Windows seem to be more like 90% of the desktop version of Windows, and with the "unification" strategy of Windows 10 that's probably more true than ever. It's debatable whether a kiosk PC that handles purchases should run Windows or not. What's the worst that can happen there? The owner loses his records and possibly all of his money. It only affects him so he can choose whatever he likes. If he wants a less secure OS and he's fine with the risk, that's okay. A voting machine (which is duplicated across a city or state or country) that's not secure affects millions of people. Seems to me that it shouldn't be using "mainstream" solutions that are the target of thousands of hackers.
- pjc50 11y agoBecause the important thing is getting it through the procurement process, which is largely a political wining-and-dining process. The procuring governments have no way of assessing their requirements or whether they're getting a good product. The solution you describe is the cryptographer's one, the result of taking security seriously. The contract goes to those who take the politics of procurement seriously (and, frankly, pushing unsuitable and unnecessary solutions to non-problems). It's still questionable whether electronic voting is necessary at all. A lot of the early bad ones were from Diebold, who make ATMs. The ATMs also run WinXP, but are much more physically protected.
- madaxe_again 11y agoA simple but elegant product is unlikely to wow the politician making the purchasing decision. If it's complicated and over engineered, it'll probably be expensive too. Both factors in favour for a politician, as if it's expensive it's a safe bet. If it's a boring little eight-segment display and a pair of buttons, the voters will go "we spent $10m on this cheap looking crap?!". So you go for the one with the shiny gui, the crazy price tag, and you've chosen sensibly - or as sensibly as one can in our batshit insane system of the world.
- gambiting 11y agoBecause those things are decided on basis of what's cheapest, not what's the best. I'm 100% certain that designing your own box with custom buttons is more expensive than buying cheap laptops with XP already pre-installed. "How can these things be created without at least one person saying "this shit is unacceptable"?" Because the people who decide what the money is getting spent on have absolutely no idea what is acceptable and what isn't.
- kyleblarson 11y agoGrandfathered in lucrative government contracts.
- wmeredith 11y agoI've said it before many times, but the government's operating procedures are (accidentally (sort of)) tailored to explicitly filter out all the things that make for good hackers/programmers. This is an old essay I wrote on this subject that I usually post in repsonse to comments like this: http://wademeredith.com/2011/05/why-the-dmv-website-sucks/ http://wademeredith.com/2011/05/why-the-dmv-website-sucks/