Remote Key Extraction
Remote Key Extraction is a vulnerability where attackers steal private keys from hardware wallets remotely via exploits, without physical access.
What Is Remote Key Extraction?
Remote key extraction is an attack in which someone obtains a wallet's private keys or seed without ever touching the device, through its software and connections. It is the scenario hardware wallets are built to prevent: keys are generated and used inside the device, and only public keys and signatures are meant to leave it.
For the attack to work, something in that boundary has to fail. Possible routes are a bug in the firmware that handles data from the computer, the phone or a wireless link; malicious firmware that the user is tricked into installing; or signatures that leak the key, through faulty randomness or because tampered firmware hides seed data in them on purpose. Most published key-extraction research on hardware wallets has required physical access. Remote paths are rarer and more serious, because they could reach many users at once.
Defences are layered. Signed firmware and a bootloader check block unofficial code. Air-gapped signing by QR code or memory card narrows the channel. Against leaking signatures, some wallets, including the BitBox02 and the Blockstream Jade Plus, use an anti-exfiltration protocol in which the host app contributes randomness to each signature.
In practice, most remote thefts involve no extraction at all: the owner types the recovery phrase into a fake site or app.
Real-World Examples
Example 1: A vendor releases a firmware update that fixes a bug in how the device parses messages from the computer. Users who install it through the official app close the hole before anyone is known to have used it.
Example 2: A BitBox02 signs a Bitcoin transaction with its anti-klepto protocol: the BitBoxApp adds its own randomness and checks that the signature used it, so firmware could not hide seed data in the nonce.
Example 3: A pop-up styled like the wallet's app claims the device must be re-synchronised and asks for the 24 words. Nothing was extracted from the device; the user would be handing the key over.
Frequently Asked Questions
Can malware on my computer extract the seed from my hardware wallet?
Hardware wallets are built to prevent it: keys are generated and used inside the device, and only public keys and signatures are meant to leave it. For remote extraction something in that boundary has to fail, such as a firmware bug in handling data from the computer, or malicious firmware the user is tricked into installing. Such remote paths are rarer than attacks that need physical access.
What does an anti-exfiltration protocol protect against?
It stops firmware from hiding seed data in the signatures it produces. The host app contributes its own randomness to each signature and checks that the device used it, so tampered firmware cannot choose a nonce that leaks the key. It covers this one route; signed firmware and air-gapped signing address others.
An app asks for my 24 words to re-synchronise the device. Is that key extraction?
No, it is phishing, and in practice most remote thefts happen this way. Nothing is extracted from the device; the owner would be handing the key over. A recovery phrase is not needed to synchronise a device, so do not enter it in an app or website that asks for it like this.
Ready to Choose a Secure Wallet?
Use our tools to find the right hardware wallet for your needs.