March 7, 2016 By Larry Loeb 2 min read

Security researchers in Israel recently published research on a hardware-based attack on smartphones that can obtain the cryptographic keys used by OpenSSL to protect high-value assets used by the device. Both Android and older iOS systems are vulnerable to this exploit.

While listening to the electromagnetic radiation patterns of PCs has long been known as a potential vulnerability, this is the first time such an approach has been implemented for smartphones. In this exploit, an attacker can measure electromagnetic radiation and power consumption in a phone using an inexpensive magnetic probe or makeshift USB reader. These readings fluctuate in ways that depend on key information.

How It Works

The algorithm under attack is called the Elliptic Curve Digital Signature Algorithm (ECDSA), a digital signature algorithm used in many applications.

The technique involves signal processing and a lattice-based algorithm for recovering the secret signing key. The lattice aggregates partial information discovered from a few thousand randomized signing operations.

What Systems Are Vulnerable?

Researchers reported that several systems are vulnerable to these OpenSSL attacks. For example, OpenSSL 1.0.x is vulnerable except when the library uses an alternative implementation for some elliptic curves. OpenSSL 1.1.x is also vulnerable with minor exceptions.

OpenSSL’s developers told researchers that “hardware side-channel attacks are not in OpenSSL’s threat model,” so no updates are planned to mitigate the attacks. This could be a major problem for the crypto library since it is so widely used.

But it’s not only OpenSSL that has problems: Researchers found that iOS 7.1.2-8 is vulnerable. However, iOS 9.x has a different crypto mechanism and shows no sign of the vulnerability.

CoreBitcoin is also vulnerable. When contacted by the researchers before the paper was made public, the developers expressed their intention to switch to the more secure library in the future. As an alternative, the latest version of Bitcoin Core, which was released in February 2015, is not vulnerable.

While this particular research did not extend its testing to Android, other independent works have. A recent paper and RSA Conference presentation disclosed that Android’s version of BouncyCastle is vulnerable.

OpenSSL Key Protection

The major takeaway here is to be aware that this attack, whether done by a magnetic loop or a USB device, is possible. While proximity is required for it to succeed, the range may be extended with sensitive equipment. Knowing that such an exploit is possible may just be enough to avoid the situations that enable it.

More from

What we can learn from the best collegiate cyber defenders

3 min read - This year marked the 19th season of the National Collegiate Cyber Defense Competition (NCCDC). For those unfamiliar, CCDC is a competition that puts student teams in charge of managing IT for a fictitious company as the network is undergoing a fundamental transformation. This year the challenge involved a common scenario: a merger. Ten finalist teams were tasked with managing IT infrastructure during this migrational period and, as an added bonus, the networks were simultaneously attacked by a group of red…

A spotlight on Akira ransomware from X-Force Incident Response and Threat Intelligence

7 min read - This article was made possible thanks to contributions from Aaron Gdanski.IBM X-Force Incident Response and Threat Intelligence teams have investigated several Akira ransomware attacks since this threat actor group emerged in March 2023. This blog will share X-Force’s unique perspective on Akira gained while observing the threat actors behind this ransomware, including commands used to deploy the ransomware, active exploitation of CVE-2023-20269 and analysis of the ransomware binary.The Akira ransomware group has gained notoriety in the current cybersecurity landscape, underscored…

New proposed federal data privacy law suggests big changes

3 min read - After years of work and unsuccessful attempts at legislation, a draft of a federal data privacy law was recently released. The United States House Committee on Energy and Commerce released the American Privacy Rights Act on April 7, 2024. Several issues stood in the way of passing legislation in the past, such as whether states could issue tougher rules and if individuals could sue companies for privacy violations. With the American Privacy Rights Act of 2024, the U.S. government established…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today