Skip to content
Crypto Write-up Advanced

CVE-2021-3011: Key recovery on Google Titan Key

A side-channel attack on the Google Titan Security Key's secure element recovers the long-term ECDSA private key by observing electromagnetic emissions during signatures. An attacker with physical access could clone the key and bypass two-factor authentication.

ninjalab.io

Published on ninjalab.io

The Google Titan Security Key is a FIDO U2F hardware device proposed by Google (available since July 2018) as a two-factor authentication token to sign in to applications (e.g. your Google account). Our work describes a side-channel attack that targets the Google Titan Security Key’s secure element (the NXP A700X…

The author, on ninjalab.io

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

Likely the ECDSA implementation in the NXP cryptographic library leaks partial information about the ephemeral key through electromagnetic side-channel emissions, which can be exploited with machine learning and lattice techniques to recover the private key.

What the attacker needed

Physical access to the key; expensive equipment; custom software; technical skills

How it was found

  1. Study the ECDSA implementation on a similar open JavaCard platform (Rhea) to understand the cryptographic library.
  2. Capture electromagnetic side-channel signals during ECDSA signatures on the target device.
  3. Use a non-supervised machine learning method to extract partial information about the ephemeral key from the signals.
  4. Apply a customized lattice-based attack to recover the long-term private key from the partial information.
  5. Validate the attack on Rhea with 4000 observations, then apply it to the Google Titan Security Key with 6000 observations to extract the private key.

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.

A security key is a small USB device that adds a second step when you log in. This research shows that by measuring the electromagnetic signals a key gives off while it signs a login challenge, an attacker can work out the secret key stored inside. With that secret, they could make a copy of the key and log in as the victim, but only if they have the physical key and expensive equipment.

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.