Guide library PENGER Academy

Hardware Wallets: What They Actually Protect

Follow the boundary between the host, the display, the signing key and your backup. Each protects against a different failure.

What you’ll learnEvaluate chips, attestation and transaction parsing against specific attacker capabilities and residual risks.

Before you startKnow what a signature and recovery phrase do; Wallet Anatomy provides the foundation.

Evaluate the complete chip boundary

A general-purpose microcontroller (MCU) and a secure element (SE) can play different roles inside one device. Neither label describes the whole wallet. Ask which component generates entropy, holds material, performs signatures, parses transactions and drives approval.

Compare properties, not slogans
Property Question to answer
Physical resistance Which fault, probing and side-channel attacks were considered, and on which hardware/firmware revision?
Certification What component, configuration and evaluation scope does the certificate cover?
Inspectability Which firmware, bootloader, schematics and chip information can reviewers inspect?
Secret distribution Is a full secret in one component, or reconstructed from multiple pieces? What happens when a piece fails?
Update and UI trust Which component authenticates updates and the screen/button path?

An open firmware repository does not make the underlying silicon fully inspectable. A certified SE does not certify the coordinator, display logic or the user’s decision. Evaluate the composition and its documented residual risks.

Attestation must cover the relied-on component

In a multi-chip device, one component may hold secrets while another controls USB, display or input. A genuine secret-holding chip does not by itself prove that the surrounding interface is honest.

What the 2018 Nano S attack demonstrated
Scope
Ledger Nano S with firmware 1.3.1 or earlier, as examined by Saleem Rashid.
Failure
The MCU controlled the screen, buttons and USB. It reused duplicated code to report expected memory contents to the SE while executing modified code.
Consequence
The demonstrated supply-chain attack altered seed generation and concealed the modified setup flow.

The attack was not simply a comparison of a compressed image. It describes that architecture and version; it does not establish the same flaw in all current dual-chip devices.

Source: Researcher’s original disclosure, 20 March 2018.

Map what each authenticity check actually verifies. Identify the verifier, measured component, trust anchor and failure response. Check whether a compromised screen could hide that response, and whether the bootloader and update path are covered.

Physical possession changes the attack surface

Physical access lets an attacker observe or disturb the device beyond its normal command interface. Feasibility depends on the model, revision, firmware, attack equipment and available time.

Two classes to distinguish
Class Mechanism Defenses to examine
Fault injection Disturbs voltage, clock or another physical condition to induce incorrect computation or checks. Hardware detection, redundant checks, secure boot and model-specific mitigations.
Side channels Uses timing, power or electromagnetic observations to infer sensitive computation. Constant-time code, masking, physical design and evaluated implementation.

A long PIN, an SE and a passphrase are different controls. Their composition may resist particular attacks, but a product label cannot establish extraction cost. Read advisories for the specific device and software version.

After theft or unexplained handling, assess both extraction and modification risk. If compromise is plausible, use a trusted setup and a tested new recovery package to move funds. A harmless drop and targeted tampering are not the same evidence.

Validate transaction semantics across every transport

A signer receives structured data from a coordinator. Even if the transport authenticates the caller, a compromised authorized caller can still submit a deceptive transaction. The device must parse and verify the parts relevant to authorization.

Account for the whole 0.0100 BTC input
Payment
0.0060 BTC
Change
0.0039 BTC
Fee
0.0001 BTC

The change must return to your wallet. If that 0.0039 BTC output belongs to an attacker, the word “change” does not make it yours. The signer must verify ownership against the wallet policy or show it as an external output.

Transport removes some paths and keeps others
Transport Boundary still requiring review
USB or wireless Command parsing, session handling, policy verification and user approval.
QR code Decoding and transaction parsing, size limits, output classification and display.
Removable media File parsing, media handling and the same transaction semantics.

Air-gapped transfer removes a live connection from the workflow; it does not make imported data trustworthy or a misleading transaction correct. PSBT separates construction, signing and finalization, but every role must enforce its responsibilities.

Source: BIP174: PSBT roles and signer checks.

Measure independence at the failure you care about

Two identical devices in separate places can improve availability after a local fire, while still sharing firmware and chip risks. Different vendors can share libraries or a coordinator. Independence is specific to a failure, not a property conferred by counting devices.

Change one dependency at a time
Shared cause Possible response Remaining work
One location Separate usable keys and backups. Check access and common regional hazards.
One signer implementation Consider compatible independent signers within a suitable threshold. Check shared libraries, coordinator and policy registration.
One recovery service Keep enough independently usable material and policy data. Rehearse spending without that service.

A 2-of-3 policy can tolerate one unavailable key and requires two keys for theft. It does not survive two keys exposed through a shared coordinator or two backups destroyed together. Keep and test the full public policy, including receive and change branches.

Use the multisig failure-domain exercise to compare identical thresholds with different shared dependencies.

Distinguish backup sharing, derivation and authority

Three mechanisms, three jobs
Mechanism What changes What recovery needs
Threshold backup, such as SLIP39 Shares reconstruct recovery material for a wallet secret. Enough compatible shares, any required passphrase and wallet metadata.
BIP39 passphrase The mnemonic plus normalized text derives a different seed. Both inputs and the correct derivation/account settings.
Multisig Several distinct keys participate in a spending policy. Enough signing keys and complete policy metadata.

SLIP39 is not a BIP39 phrase cut into pieces; it has a distinct format and compatibility requirements. SLIP39 also supports a passphrase mechanism, so “Shamir has no passphrase” is not a valid distinction.

Reconstructing one secret eventually exposes it to a signing environment. Multisig distributes authority but introduces policy and coordination dependencies. Decide which failure you need to tolerate, and test the exact recovery tools.

Source: SLIP39: Shamir-based recovery shares.

Source: BIP39: mnemonic and passphrase derivation.

Finish with a boundary statement

Controls and residual risks
Risk Useful control What remains
Weak or malicious generation Review entropy and use correctly implemented independent inputs where supported. Matching public test vectors cannot prove strong live randomness.
Host deception Trusted parsing and complete transaction review. QR transfer alone does not solve misleading output semantics.
Backup discovery Access controls and a deliberately chosen passphrase or threshold. Encoding is readable; more secrets can impair recovery.
One compromised signer An appropriate independent signing quorum. Shared dependencies and sufficient compromised keys can defeat it.
Physical coercion or identity exposure Limit unnecessary disclosure and plan access. No technical feature guarantees safety or erases already disclosed records.
Operational error Simple procedures and training recoveries. Future readers, versions and circumstances still require review.
Describe the protection you are relying on
Protected boundary
The asset or secret, the threat it is protected from and the assumptions required.
Tested recovery
The working fallback if the device or another required component fails.
Remaining exposure
The risks this setup leaves outside its protection.

Use this record to assess a device’s claims against your actual setup.

[ CHECK YOURSELF ]

Test Your Knowledge

Take a quick quiz to check your understanding of this guide.

Take the Quiz

5 questions per level · ~2 min