wallet.fail at 35C3: Ledger Nano S MCU firmware and Ledger Blue PIN side channel
Who is affected
An attacker with physical access to a Nano S, combined with malware on the owner's computer, or one positioned within close radio range of a Ledger Blue during PIN entry, could undermine the device's protections in lab conditions. Ledger states the findings showed no practical vulnerability and that no seed or PIN was extracted from a stolen device.
What happened
On 27 December 2018 Thomas Roth, Dmitry Nedospasov and Josh Datko presented “wallet.fail” at the 35th Chaos Communication Congress (35C3) in Leipzig, covering attacks on several hardware wallets, including the Ledger Nano S and the Ledger Blue.
On the Nano S, the researchers flashed custom firmware onto the non-secure STM32 microcontroller (MCU) through its programming interface, bypassing a protection that blocked writes to a memory region, and showed it running a game of Snake. According to Bitcoin Magazine, the attack scenario combined physical access to the device with malware on the victim’s computer, waiting for the victim to enter the PIN and open the Bitcoin app, after which transactions could be signed. On the Ledger Blue, Roth used an antenna and software-defined radio to capture emanations produced during PIN entry and a machine-learning model to classify key presses; Threatpost reports he recovered the PIN about 90 percent of the time, at close range.
Ledger’s bulletin LSB-005 credits Juliano Rizzo (Coinspect) and, independently, Nedospasov, Datko and Roth with an MCU bootloader signature-verification bypass on the Nano S, and concludes it has no security consequence: it allows nothing beyond what JTAG already permits, the Secure Element checks that the MCU firmware is genuine, and the MCU has no access to the PIN or seed. In its blog response of 28 December 2018, Ledger states that the bug is fixed in the next firmware version, calls the Blue side channel impractical because it requires measurement at very close range with device, receiver and USB cable kept in the same position, and says the researchers did not extract any seed or PIN from a stolen device. Ledger states that a randomized PIN keyboard was already on the Nano S and was scheduled for the next Ledger Blue firmware update.
Ledger also states that the researchers did not follow responsible disclosure through its bug bounty programme. Neither Ledger’s bulletin nor its blog post names firmware version numbers for the fixes.
A hardware wallet is a dedicated device that keeps private keys offline and signs transactions internally, so the keys never reach an internet-connected computer or phone.
Firmware is the software that runs on a hardware wallet itself: it generates keys, shows transaction details on the screen and signs.
Read full definitionBitcoin (BTC) is the first decentralized cryptocurrency, launched in 2009. It uses blockchain technology for secure, peer-to-peer digital transactions without intermediaries.
Read full definitionMalware is malicious software that steals or redirects crypto, for example by logging keystrokes, swapping copied addresses or reading wallet files.
Read full definitionPIN Protection is a security feature that requires a personal identification number (PIN) to access a cryptocurrency wallet or device, preventing unauthorized access.
Read full definitionA bootloader is a small program that initializes hardware and loads the main operating system or firmware on a device, often used in blockchain hardware wallets for secure startup.
Read full definitionA secure element is a tamper-resistant chip built to store secrets and resist physical attacks such as side-channel analysis and fault injection.
Read full definitionFirmware Update installs new low-level software on a hardware wallet to fix bugs, enhance security, or add features in cryptocurrency devices.
Read full definitionSources
Independent reporting and research this entry was checked against.
- media.ccc.de — wallet.fail: Hacking the most popular cryptocurrency hardware wallets (27 Dec 2018)
- Ledger Donjon — Ledger Security Bulletin LSB-005: MCU Bootloader verification bypass (27 Dec 2018)
- Ledger — Still Got Your Crypto: In Response to wallet.fail's Presentation (28 Dec 2018)
- Threatpost — Cryptocurrency Wallet Hacks Spark Dustup (31 Dec 2018)
- Bitcoin Magazine — Security Researchers Reveal Wallet Vulnerabilities On Stage at 35C3 (31 Dec 2018)
Learn more
Guides on protecting yourself against this type of incident (Hardware attack) and the glossary terms that describe it.
Can Hardware Wallets Be Hacked?
Hardware wallets are extremely secure, but not invincible. Understand the real risks and attack vectors.
Read GuideEvil Maid Attack: Protecting Unattended Hardware Wallets
Someone accesses your wallet while you are away. Hotel rooms, offices, shared spaces — how to detect and prevent physical tampering.
Read GuideProtecting Your Hardware Wallet from Physical Theft
What happens if someone steals your hardware wallet? How to set up layers of protection so theft alone cannot compromise your crypto.
Read GuideFault Injection
Fault injection disturbs a chip's voltage, clock or electromagnetic environment so that it skips a security check or leaks data.
Side-Channel Attack
A side-channel attack in cryptocurrency and blockchain targets indirect information, like power usage or timing, to extract sensitive data from a system or device.
Secure Element
A secure element is a tamper-resistant chip built to store secrets and resist physical attacks such as side-channel analysis and fault injection.
Evil Maid Attack
An evil maid attack is a physical security threat where an attacker gains temporary unsupervised access to a hardware wallet to tamper with it, install malicious firmware, or extract private keys.
Cite this entry
WalletInsights. “wallet.fail at 35C3: Ledger Nano S MCU firmware and Ledger Blue PIN side channel”. Hardware wallet security incident tracker. Last verified November 3, 2026. https://walletinsights.io/en/security-incidents/ledger-wallet-fail-35c3-nano-s-blue-attacks-2018/
Corrections and right of reply
Vendors, researchers and readers can send corrections or statements to security@walletinsights.io. We check them against the sources, update the entry and record the change in its log.
All Ledger incidents
- Hardware implants in Ledger devices sold by CryptoBilis
- Ledger Ethereum app clear-signing bypass hid all but one operation of a large batch
- Ledger Ethereum app swap flow could sign a token approval in place of a payment
- Ledger Secure SDK flaw let a host change transaction details after on-screen review
- Ledger Monero app exposed Keccak state, letting a compromised host recover spend keys