Skip to content
Crypto Write-up Advanced

Hertzbleed Attack

Hertzbleed is a side-channel attack that exploits data-dependent CPU frequency scaling to leak information. In the worst case, it allows remote extraction of cryptographic keys from constant-time implementations, such as SIKE, and can also enable pixel stealing attacks on cross-origin iframes in Chrome.

Yingchen Wang Follow

Published on hertzbleed.com

Hertzbleed is a new family of side-channel attacks: frequency side channels. In the worst case, these attacks can allow an attacker to extract cryptographic keys from remote servers that were previously believed to be secure.

Yingchen Wang (@YingchenWang96), Riccardo Paccagnella (@ricpacca), Elizabeth Tang He, Hovav Shacham (@hovav), Christopher Fletcher, David Kohlbrenner (@dkohlbre), on hertzbleed.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The root cause is dynamic frequency scaling, a feature of modern processors that adjusts CPU frequency based on power consumption, which can depend on the data being processed.

Impact

Hertzbleed could allow remote attackers to extract cryptographic keys from constant-time implementations and to perform pixel stealing attacks on cross-origin iframes in Chrome, though the risk is limited as most web pages are not vulnerable.

What the attacker needed

Remote access to target; target uses vulnerable CPU; constant-time crypto implementation

The fix

There is no microcode patch; mitigations include disabling frequency boost (with performance impact) and setting X-Frame-Options to deny or sameorigin to prevent pixel stealing.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Hertzbleed is a way to steal secret information by measuring how fast a computer runs. Modern processors change their speed depending on the data they process, and an attacker can observe these speed changes to learn secrets like encryption keys.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.