Analysis of Covert-Nonce Channel Attacks on Bitcoin Hardware Wallets

Master's Thesis on Bitcoin Hardware Wallet Security

Abstract

In the context of Bitcoin hardware wallets, it is often assumed that due to its complete isolation from the Internet, specifically designed to achieve maximum security and capable of operating without a direct connection to a computer, they are an impenetrable fortress. Nothing could be further from the truth.

Although significantly more secure than most other solutions, these devices remain vulnerable to highly sophisticated attack vectors capable of extracting the most sensitive piece of information that a Bitcoin wallet can hold: the seed. This can lead to the total loss of the funds associated with the private keys, all in a way that is completely invisible to the user and entirely remote.

This master's thesis aims to explore the different covert channel attacks that exploit the random values used in probabilistic cryptographic signatures in Bitcoin. It also analyzes how such attacks can be carried out, if there are existing countermeasures to mitigate them, and, finally, whether the most advanced security solutions, such as hardware wallets, already implement these protections.

Key Topics Covered

Covert Channels

Analysis of nonce-based covert channel attacks in ECDSA signatures.

Countermeasures

Evaluation of existing protections and mitigation strategies.

Hardware Wallets

Security assessment of commercial hardware wallet implementations.

References