Feeds

E-voting security: getting it right

Not cheap, but easier than we think

  • alert
  • submit to reddit

Secure remote control for conventional and virtual desktops

As we noted in our previous story - E-voting security: looking good on paper? - the much-celebrated voter verifiable paper trail is useless as a security measure for Direct Recording Electronic (DRE) election systems, and actually introduces far more problems than it solves.

What to fix

The chief problems encountered with the machines in real-world use have resulted from myriad sloppy - indeed shady - security practices by the vendors, certification authorities, and election supervisors. For example, there are some DRE machines with the capacity for remote connections, through which vendors have downloaded software patches after the machines have been tested and certified.

Connecting printers to these poorly secured machines is fixing the wrong thing. However, there's no shortage of other things that do, in fact, need fixing. For example, there are inadequate physical security protocols, with vendor representatives and service personnel installing software patches and swapping out hardware after certification. The problem with DRE gear is that it's prone to tampering. Thus physical security is crucial, and must therefore be tightened considerably.

And the testing and certification authorities themselves are often private companies with financial ties to the vendors. This is intolerable: testing and certification should be handled by a government agency, funded by the vendors, but completely independent of them, in the manner of Las Vegas' many one-armed bandits. Furthermore, certification authorities must be in possession of the complete source code for all approved DRE-system software, including database software and even compilers.

How to fix it

Nevertheless, the paper trail remains security fool's gold, made popular merely because it's easily grasped. What's needed instead are commonsense security protocols to make e-voting systems resistant to tampering, to make it evident when tampering has occurred, and to make it possible to stage a reliable recount.

There are two avenues to mischief that need to be closed off: the individual DRE terminals and their software and hardware components, and the election database.

Hacking the terminal

Attacks could be mounted against DRE machines by the vendor, or a poll worker, or a group of skilled voters, but these would have to be done after testing and certification, or the glitch would become known at that time and the questionable machines would be pulled. So security here is really a matter of physically protecting the machines after adequate and independent testing and certification has been performed, which is not terribly difficult. This is because an attacker would need unsupervised physical access in order to tamper with the software or the hardware, and such access can easily be prevented with commonsense protocols.

Guarding against post-certification tampering would be a simple matter. First, as soon as certification is complete, checksums of all software components, compilers included, would be recorded, and then verified later, on election day before the machines are put to use. Any machine with the wrong checksums would be pulled.

Second, fragile seals would be placed so that no hardware component could be disconnected, removed, added, or serviced without breaking a seal. DRE machines without all of their original seals intact would be pulled.

Third, protocols would be established so that no one person would have unsupervised access to any machine after certification. The machines would be stored in a secure location with limited access, perhaps with two locks that cannot both be opened by a single person. Motion detectors and video surveillance would provide an extra layer of security.

There would also have to be sensible physical security protocols established for election day or the eve, when the machines are delivered to the polling places. However, this should not require much modification of existing schemes. After all, one of the simplest attacks against any sort of equipment would be vandalism or theft, by which means voters in a district favorable to one's opponent could be inconvenienced. So there actually are physical security protocols, although these would have to be reviewed and beefed-up as needed because DRE machines are vulnerable to tampering, whereas a punch-card table is not (you can't rig them to punch the wrong hole - only the voter can do that; but you can destroy or steal them, or steal the ballot cards, etc).

The DRE terminals must not have any capacity for remote connections. And they hardly need it: often, removable memory modules record the election results and are later removed and uploaded to a database via a separate device. This is a basically sound design, so long as physical access protocols are observed, and the upload device is also secured, that is, sealed after certification, stored securely, and unsealed only when used. At least two election supervisors should be present when the modules are removed and uploaded, and the chain of custody should be logged scrupulously and later verified.

Watchdog

Finally, it is crucial that there be an independent testing and certification authority, and that it be in possession of all source code, compilers and firmware, to verify that the equipment works properly, and to guard against vendor backdoors and default admin passwords, etc.

Simple protocols such as these would render most attacks after certification quite difficult, requiring the vendor, service personnel, and/or election officials and poll workers to cooperate. An attacker would have to work unobserved, or while observed only by co-conspirators. Technically speaking, an attack is not terribly difficult; but simple, commonsense security protocols and auditing are all that's needed to detect tampering and to make an attack very inconvenient.

As for a recount, this might be done using an internal hard drive as a backup medium instead of paper receipts. So long as the machines are tested thoroughly by an independent agency, certified and sealed, and so long as proper security protocols are observed, and the checksums are right and the seals are intact, there is no reason to doubt the hard drive backup if a memory module should fail. It's unlikely, though hardly impossible, that both would fail; but a paper printout provides no advantage in guarding against a recount failure, and introduces many disadvantages.

The whole enchilada

The elections database is another problem area where vendors and election officials alike have failed to institute adequate security protocols. And this problem is the greater concern. With DRE terminals, if security protocols fail or are violated, the damage will likely be limited to a handful of machines. But a malicious attack against a database could potentially upset millions of votes.

Again, security is primarily a matter of common sense. As with the terminals, it is crucial that an independent testing authority be in possession of all database and server source code, to ensure that the system is designed with proper security features and robust access controls, and to ensure that there are no vendor back doors or default admin passwords.

The database system should be configured to accept connections only from specific devices, or, if TCP/IP is used, specific IP addresses. All data exchanged must be encrypted. It should use proper access controls and cryptographically robust authentication methods: these vary considerably according to the design of the system so we won't cover them, but a database can be designed and configured for good security, just like any other system. Most importantly, all database activity should be logged, and the access logs and system logs should be audited before an election is certified.

An important issue is trust. Someone has got to administer the database, and this person can do a great deal of damage, either intentionally or accidentally, that might be difficult to detect. Thus it's important to limit access strictly, in order to keep the number of potential suspects to a minimum. It would be a good idea for there to be such a thing as a certified elections database administrator (DBA), a person who can demonstrate adequate knowledge of the system, adequate knowledge of security, and who hasn't got a criminal background involving, say, financial crimes or fraud. The 'independent certification authority' that we also need and haven't got could be given the responsibility of certifying elections DBAs, perhaps with a rigorous written examination and a background check.

Checklist

There is enough political momentum behind touch screen voting to force it on pretty much all of us in the near future. It can't be stopped, so there have got to be standards. At present, there aren't any. The vendors can do whatever they can get away with. The chief problems are the lack of an independent, national certification authority, and the practice of allowing vendors, election officials, and contract service personnel to muck about with the systems after certification.

Below is a checklist of what needs to be done to make electronic voting fair, reliable, and secure:

  1. A truly independent national certification authority, in possession of the complete source code for all approved software, firmware, compilers, etc., must be established. This authority would be responsible for establishing the necessary security standards, and verifying compliance.
  2. No software or firmware for which the certification authority lacks full source code may be certified. All certified software must be cryptographically signed by the authority. Checksums must be verified on election day to expose software or firmware tampering. Any discrepancy, however minor, renders a machine or a database system unusable.
  3. Terminals must not be capable of accepting any sort of remote connection.
  4. There must be fragile seals, difficult to counterfeit and issued by an independent authority, put in place after testing and certification, to expose hardware tampering. Any failure, however minor, renders a machine unusable. The certification authority must establish protocols for quarantining and auditing a suspect or malfunctioning machine.
  5. Terminals should have an internal hard disk drive for tabulating votes, cryptographically protected and designed independent of the memory system, to serve as a backup device for recounts. The terminals must be capable of extensive access and system logging, and logs must be audited when a machine is suspect or malfunctions. A random sample of machines should also be audited thoroughly after every election.
  6. Data transferred from one device or component to another device or component, or over a network connection, must be protected cryptographically.
  7. There must be no vendor backdoors or default admin passwords to any component or device.
  8. There must be robust access controls for the database, full access and system logging and log auditing, supervised by an authority independent of the vendors and their service contractors. No election must be certified until auditing is complete.
  9. There must not be any unsupervised or unauthorized access to the machines or the database after certification. Evidence of unsupervised or unauthorized access renders a system unusable, unless it can be fully re-tested and re-certified before the election.
  10. If supervised access is necessary for maintenance or repairs, any machine or system affected must be re-tested, re-certified, and re-sealed, and all checksums must be verified. Machines may not be serviced during an election; they should be quarantined and later audited.
  11. Any alterations to hardware or software, however minor, after certification, render a machine or a database unusable until full re-testing and re-certification are carried out.
  12. Any breaches of physical security protocols or access protocols, however minor, after certification, render a machine or a database unusable until full re-testing and re-certification are carried out.

Quality elections don't come cheap

It isn't necessary for the vendors to re-design their equipment radically. Indeed, all that's needed is for the public to demand that they do what they do, only the right way. "Good enough" simply isn't good enough; the system has got to be right.

Basic security and common sense are all that's required. The DRE systems offer many real advantages in terms of preventing overvoting, minimizing undervoting, clearly recording voter intent, and offering handicapped access. They can improve the accuracy of election results dramatically, and extend voter franchise, so long as they're built right, certified right, and secured properly.

At the moment they're not, but they can be.

Doing it right will not be difficult, though it will be expensive, and the vendors will whine at demands that they make their systems reasonably secure. However, we shouldn't balk at a system that's expensive and good, considering what's at stake here. At the moment, the systems are expensive and lousy, which forms the basis of the vendors' profits. Under a proper regulatory regime, they will have to earn their money; they will have to work for it. They won't like it very much, but they'll get over it in time.

Surely the public deserves to vote on equipment that's at least as reliable as a video poker machine. ®

Thomas C Greene is the author of Computer Security for the Home and Small Office, a comprehensive guide to system hardening, malware protection, online anonymity, encryption, and data hygiene for Windows and Linux.

Related stories

E-voting security: looking good on paper?
Dutch e-voting software goes open source
E-voting promises US election tragicomedy
California preps e-voting ban bill
Ireland to scrap e-voting plan
California set to reject Diebold e-voting machines
UK not ready for e-voting
Campaign calls for safe e-voting

Intelligent flash storage arrays

More from The Register

next story
Scrapping the Human Rights Act: What about privacy and freedom of expression?
Justice minister's attack to destroy ability to challenge state
WHY did Sunday Mirror stoop to slurping selfies for smut sting?
Tabloid splashes, MP resigns - but there's a BIG copyright issue here
Hey Brit taxpayers. You just spent £4m on Central London ‘innovation playground’
Catapult me a Mojito, I feel an Digital Innovation coming on
Google hits back at 'Dear Rupert' over search dominance claims
Choc Factory sniffs: 'We're not pirate-lovers - also, you publish The Sun'
EU to accuse Ireland of giving Apple an overly peachy tax deal – report
Probe expected to say single-digit rate was unlawful
Inequality increasing? BOLLOCKS! You heard me: 'Screw the 1%'
There's morality and then there's economics ...
While you queued for an iPhone 6, Apple's Cook sold shares worth $35m
Right before the stock took a 3.8% dive amid bent and broken mobe drama
EU probes Google’s Android omerta again: Talk now, or else
Spill those Android secrets, or we’ll fine you
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.
The next step in data security
With recent increased privacy concerns and computers becoming more powerful, the chance of hackers being able to crack smaller-sized RSA keys increases.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.