‘Most laptops vulnerable to attack via peripheral devices’

  • February 26, 2019
‘Most laptops vulnerable to attack via peripheral devices’

New research shows many laptops could be hacked due to vulnerabilities from plug-in devices.

We have demonstrated that current IOMMU usage does not offer full protection and that there is still the potential for sophisticated attackers to do serious harm.

Brett Gutstein

Many modern laptops and an increasing number of desktop computers are much more vulnerable to hacking through common plug-in devices than previously thought, according to new research.

The research, to be presented today (26 February) at the Network and Distributed Systems Security Symposium in San Diego, shows that attackers can compromise an unattended machine in a matter of seconds through devices such as chargers and docking stations.

Vulnerabilities were found in computers with Thunderbolt ports running Windows, macOS, Linux and FreeBSD. Many modern laptops and an increasing number of desktops are susceptible.

The researchers, from the University of Cambridge and Rice University, exposed the vulnerabilities through Thunderclap, an open-source platform they have created to study the security of computer peripherals and their interactions with operating systems. It can be plugged into computers using a USB-C port that supports the Thunderbolt interface and allows the researchers to investigate techniques available to attackers. They found that potential attacks could take complete control of the target computer.

The researchers, led by Dr Theodore Markettos from Cambridge’s Department of Computer Science and Technology, say that in addition to plug-in devices like network and graphics cards, attacks can also be carried out by seemingly innocuous peripherals like chargers and projectors that correctly charge or project video but simultaneously compromise the host machine.

Computer peripherals such as network cards and graphics processing units have direct memory access (DMA), which allows them to bypass operating system security policies. DMA attacks abusing this access have been widely employed to take control of and extract sensitive data from target machines.

Current systems feature input-output memory management units (IOMMUs) which can protect against DMA attacks by restricting memory access to peripherals that perform legitimate functions and only allowing access to non-sensitive regions of memory. However, IOMMU protection is frequently turned off in many systems and the new research shows that, even when the protection is enabled, it can be compromised.

“We have demonstrated that current IOMMU usage does not offer full protection and that there is still the potential for sophisticated attackers to do serious harm,” said Brett Gutstein [2018], a Gates Cambridge Scholar who is doing a CPGS in Computer Science, who is one of the research team.

The vulnerabilities were discovered in 2016 and the researchers have been working with technology companies such as Apple, Intel and Microsoft to address the security risks. Companies have begun to implement fixes that address some of the vulnerabilities that the researchers uncovered; several vendors have released security updates in the last two years.

However, the Cambridge research shows that solving the general problem remains elusive and that recent developments, such as the rise of hardware interconnects like Thunderbolt 3 that combine power input, video output and peripheral device DMA over the same port, have greatly increased the threat from malicious devices, charging stations and projectors that take control of connected machines. The researchers want to see technology companies taking further action, but also stress the need for individuals to be aware of the risks.

“It is essential that users install security updates provided by Apple, Microsoft and others to be protected against the specific vulnerabilities we have reported,” said Markettos. “However, platforms remain insufficiently defended from malicious peripheral devices over Thunderbolt and users should not connect devices they do not know the origin of or do not trust.”

More information is available at thunderclap.io

Picture credit: Casey McLaughlin and Wikimedia commons.

Brett Gutstein

Brett Gutstein

  • Scholar
  • United States
  • 2018 PhD Computer Science
  • Trinity College

Latest News

Bridging the public health data gap

When Anwesha Lahiri  [2021] was doing her master’s fieldwork in India, she visited a tribal village in a remote area on top of a mountain between two districts. Only around 500 people lived there and there was no proper road leading to the village. At the heart of the problem was the dangerous ascent needed […]

Tracing the origins of our political beliefs

What makes some people more vulnerable to extremism than others? How do we build cognitive resilience against extreme ideologies? And how does the brain react to misinformation on social media? These are some of the key political questions that political neuroscientist Leor Zmigrod [2016] is exploring, putting the science into our understanding of radicalisation.   Leor […]

A leading woman in STEAM

A Gates Cambridge Scholar has been selected as one of the 75 leading women in Science, Technology, Engineering, Arts and Mathematics in India. Yama Dixit will feature in the second edition of the book She Is, published by the Red Dot Foundation in partnership with the Office of the Principal Scientific Adviser, Government of India to mark 75 […]

Tackling the obesity epidemic in Africa

When she left school, Paula-Peace James-Okoro [2022] intended to become a medical doctor, but after starting a degree in Biochemistry she discovered a passion for the subject and for using it to address one of the major health challenges facing Africa – obesity. She says: “In Africa, the rates of metabolic diseases, like obesity and […]