.

  • Written by Mark Hempstead, Associate Professor of Electrical and Computer Engineering, Tufts University
Microprocessor designers realize security must be a primary concern

Computers’ amazing abilities to entertain people, help them work, and even respond to voice commands are, at their heart, the results of decades of technological development and innovation in microprocessor design. Under constant pressure to extract more computing performance from smaller and more energy-efficient components, chip architects have invented a dizzying array of tricks and gadgets that make computers faster. But 50 years after the founding of Intel[1], engineers have begun to second-guess many of the chip-making industry’s design techniques.

Recently, security researchers have found that some innovations have let secrets flow freely out of computer hardware the same way software vulnerabilities have led to cyberattacks and data breaches. The best known recent examples were the chip flaws[2] nicknamed[3] Spectre and Meltdown[4] that affected billions of computers[5], smartphones and other electronic devices. On July 10, researchers announced they discovered new variants[6] of those flaws[7] exploiting the same fundamental leaks in the majority of microprocessors manufactured within the last 20 years.

This realization has led to calls from microchip industry leaders, including icons John Hennessy and David Patterson[8], for a complete rethinking of computer architecture to put security first[9]. I have been a researcher in the computer architecture field for 15 years – as a graduate student and professor, with stints in industry research organizations – and conduct research in power-management, microarchitecture and security[10]. It’s not the first time designers have had to reevaluate everything they were doing. However, this awakening requires a faster and more significant change to restore users’ trust in hardware security without ruining devices’ performance and battery life.

Not so secure

A single modern microprocessor chip can have more than a billion tiny components, including transistors and switches, that form their own little network on a piece of silicon deep inside a computer or electronic gadget. The main problem stems from the fact that tidbits of useful information can leak out from one component to others nearby, just like neighbors often know what’s going on in each other’s houses without asking.

A dedicated observer could, for instance, notice that your home’s lights go on and off at a particular times each workday and infer your family’s work schedules. This sort of indirect approach, using an apparently harmless type of data to infer a useful conclusion, is often called a “side-channel attack.” These vulnerabilities are particularly significant because they exploit weaknesses designers didn’t think to secure – and may not have thought of at all. Also, attacks like this are hardware problems, so they cannot be easily patched with a software update.

Security researchers have found that certain types of internet traffic[11], temperature changes[12], radio emissions[13] or electricity usage[14] can provide similar clues to what electronic components are doing. These are external clues revealing information the home’s residents – or the device’s users – never intended to share. Even a little information can be enough to reveal important secrets such as users’ passwords.

Many – perhaps even most – of these information leaks are the accidental results of chip designers’ efforts to speed up processing. One example was the nearly universal practice of letting a piece of software read data from the computer’s memory before checking whether that program had permission to do so. As other commentators have pointed out, this is much like a security guard letting someone into a building[15] while still checking their credentials.

Innovation as the solution

These are serious problems with no clear – or simple – answers, but I’m confident they’ll be solved. About 15 years ago, the microprocessor architecture research community faced another seemingly insurmountable challenge and found solutions within a few years – just a few product generations.

At that time, the challenge was that the amount of power microchips consumed was climbing rapidly as components got ever smaller. That made cooling incredibly difficult. Dire charts were presented at major professional conferences comparing the problem of cooling microprocessors[16] to the challenges of preventing nuclear reactors from overheating.

The industry responded by focusing on power consumption. It’s true that early designs that were more power efficient did computations more slowly than their power-hungry predecessors. But that was only because the initial focus was on redesigning basic functions to save power. It wasn’t long before researchers developed various processing shortcuts and tricks that accelerated performance even beyond what had been possible before.

Security principles

I anticipate a similar response to this newly understood security concern: A rapid response that temporarily degrades performance, followed by a return to normal processing speeds. However, the improvement in security may be harder to express clearly than, say, the amount of energy a system uses.

Security is based on a set of principles the designers must follow reliably. One principle could be, for instance, that software cannot read data from memory without permission. This is very hard to implement because at every level of the microprocessor and every place that data could reside, the architects would need to build in permissions checks. Just one mistake in just one circuit[17] could leave the entire system vulnerable.

As the research community shifts its priority to security, there are several potential lines of inquiry already developing. One method could involve, as Princeton microchip engineer Ruby Lee[18] suggests, inserting randomness[19] into processing, offering observers timing, power[20] and temperature values that – like setting a timer to turn your house lights on and off at random intervals while you’re away. But adding randomness would likely degrade a processor’s performance – unless researchers can find a way to avoid doing so.

Identifying and securing these newly identified hardware vulnerabilities and side-channels will be challenging, but the work is important – and a reminder that designers and architects must always think about other ways attackers might try to compromise computer systems.

References

  1. ^ the founding of Intel (www.pcgamer.com)
  2. ^ chip flaws (medium.com)
  3. ^ nicknamed (meltdownattack.com)
  4. ^ Spectre and Meltdown (www.theregister.co.uk)
  5. ^ billions of computers (techcrunch.com)
  6. ^ discovered new variants (arxiv.org)
  7. ^ those flaws (www.bleepingcomputer.com)
  8. ^ icons John Hennessy and David Patterson (www.sigarch.org)
  9. ^ put security first (iscaconf.org)
  10. ^ research in power-management, microarchitecture and security (scholar.google.com)
  11. ^ certain types of internet traffic (arxiv.org)
  12. ^ temperature changes (www.usenix.org)
  13. ^ radio emissions (doi.acm.org)
  14. ^ electricity usage (doi.org)
  15. ^ security guard letting someone into a building (iscaconf.org)
  16. ^ comparing the problem of cooling microprocessors (pdfs.semanticscholar.org)
  17. ^ Just one mistake in just one circuit (www.sigarch.org)
  18. ^ Ruby Lee (www.princeton.edu)
  19. ^ inserting randomness (iscaconf.org)
  20. ^ power (doi.org)

Authors: Mark Hempstead, Associate Professor of Electrical and Computer Engineering, Tufts University

Read more http://theconversation.com/microprocessor-designers-realize-security-must-be-a-primary-concern-98044

Metropolitan republishes selected articles from The Conversation USA with permission

Visit The Conversation to see more