Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


04:56 PM
Larry Loeb
Larry Loeb
Larry Loeb

CLKSCREW Hack Breaks Hardware With Software

A new technique can hack into even secure systems by overwhelming with simple commands.

Most computer attacks will focus on the overlying software that controls the computer. Finding some way to subvert that software will give the attacker a means to exert control on the underlying machine. The complexities inherent in a modern, extensible operating control program is what gives an attacker possible niches to exploit.

But attacks can also be directed to "lower" levels of computer operation that are further down the program stack. The control of the electronics of the machine is done by embedded microprograms that are created by the device manufacturer. These are the things that directly work on the logical gates that compose the machine.

That is the level that researchers are finding can be exploited in an attack that is both effective and able to be used in most current chips.

Three scientists from Columbia University found a way to attack the combination of hardware and software management utilities that are embedded with modern chipsets. This would mean that threat actors could take over systems via an attack surface that is found in almost all modern electronic devices, and seemingly not designed with any security.

The paper, "CLKSCREW: Exposing the Perils of Security-Oblivious Energy Management," was given the Distinguished Paper Award at the USENIX security conference held this year in Vancouver, Canada. The ideas of the paper are not some speculative jape, but real and significant.

Most CPU chips since 1994 have had a Dynamic Voltage and Frequency Scaling (DVFS) system onboard. This keeps the CPU from overheating and possibly burning a hole through the chip itself. It also extends battery life, which device manufacturers deeply care about.

The team’s attack is a Differential Fault Attack (DFA). These sorts of attacks will stress hardware to its physical limits to record and compare the output with results that occur during normal operation.

One of the things that makes this particular attack dangerous is that it does not require the kind of physical access to the device that is usually required to launch a DFA.

A threat actor will start the attack by serving code to the main CPU that causes the DVFS system to enter in a high-stress mode, overclocking the CPU.

If this CPU is used in an Android cellphone, Android’s TrustZone phone chips will also use the same DVFS system. They will stress out as well. Under stress the researchers could extract the TrustZone chip’s secret encryption key, which is used to encrypt and protect all data computations that is taking place in the TrustZone chipset.

This extraction allowed them to load self-signed code into the TrustZone, hijacking it. The researchers feel that the attack can be easily ported against Intel’s Secure Enclave SGX, so it’s not just a quirk of a Nexus phone.

You're invited to attend Light Reading's 11th annual Future of Cable Business Services event. Join us in New York on November 30 for the premier independent conference focusing on the cable industry's continuing efforts in the commercial services market – all cable operators and other communications service providers get in free. 

While chip vendors have been informed of this kind of attack, mitigating it may require an entirely new generation of chipsets that have security of the underlying power management hardware as part of their design.

This attack shows that security professionals cannot assume that the actual hardware used by a system is secure. Indeed, just the opposite may be true.

Related posts:

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 9/17/2020
Cybersecurity Bounces Back, but Talent Still Absent
Simone Petrella, Chief Executive Officer, CyberVista,  9/16/2020
Meet the Computer Scientist Who Helped Push for Paper Ballots
Kelly Jackson Higgins, Executive Editor at Dark Reading,  9/16/2020
Register for Dark Reading Newsletters
White Papers
Current Issue
Special Report: Computing's New Normal
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2020-09-19
An issue was discovered in Tiny Tiny RSS (aka tt-rss) before 2020-09-16. The cached_url feature mishandles JavaScript inside an SVG document.
PUBLISHED: 2020-09-19
** DISPUTED ** Typesetter CMS 5.x through 5.1 allows admins to upload and execute arbitrary PHP code via a .php file inside a ZIP archive. NOTE: the vendor disputes the significance of this report because "admins are considered trustworthy"; however, the behavior "contradicts our secu...
PUBLISHED: 2020-09-19
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, the array size is not checked when constructed with unit().
PUBLISHED: 2020-09-19
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, the array size is not checked when constructed with pair().
PUBLISHED: 2020-09-19
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, the array size is not checked when constructed with From<InlineArray<A, T>>.