Secure Boot
Secure Boot is a security feature that ensures only trusted software runs on a device by verifying its integrity during startup, preventing unauthorized code execution in crypto systems.
What Is Secure Boot?
Secure boot is a startup check that lets a device run only software signed by a party it trusts. Each stage verifies the next before handing over control: a small piece of code that cannot be changed checks the bootloader, and the bootloader checks the firmware. If a signature does not match, the device stops or warns the user clearly.
The trust is anchored in a public key fixed in the hardware at manufacture. The vendor signs each firmware release with the matching private key, so an image altered by anyone else fails the check.
On a hardware wallet this is what stops modified firmware, installed by malware during a fake update or by someone with physical access, from running unnoticed and leaking keys. Some open-source wallets do let the owner install self-built firmware, but mark it on screen as unofficial. Computers use the same principle under the name UEFI Secure Boot.
Secure boot proves where software comes from, not that it is free of flaws. It depends on the vendor keeping its signing key safe, and on the first-stage boot code, which usually cannot be patched. Unless downgrades are blocked as well, an attacker may install an older, properly signed version with a known weakness.
Real-World Examples
Example 1: Malware on a computer offers a firmware update for a connected hardware wallet. The file is not signed by the vendor, so the bootloader rejects it and the existing firmware stays in place.
Example 2: A user compiles the open-source firmware of their wallet and installs it. The device runs it, but shows a warning that the firmware does not come from the vendor.
Frequently Asked Questions
What happens if malware tries to install fake firmware on my hardware wallet?
With secure boot, the bootloader checks the firmware's signature against the vendor's public key fixed in the hardware at manufacture. A file not signed by the vendor fails that check, so the device rejects it or warns clearly, and the existing firmware stays in place.
Can I run self-built open-source firmware on a device with secure boot?
Some open-source wallets allow it, but they mark such firmware on screen as unofficial. The owner keeps the freedom to install their own build, while the warning makes clear that the device is not running the vendor's signed release.
What does secure boot not protect against?
It proves where software comes from, not that it is free of flaws. It depends on the vendor keeping its signing key safe and on first-stage boot code that usually cannot be patched. Unless downgrades are blocked as well, an attacker may install an older, properly signed version with a known weakness.
Ready to Choose a Secure Wallet?
Use our tools to find the right hardware wallet for your needs.