Bootloader
A 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.
What Is a Bootloader?
A bootloader is the small program that runs first when a device is switched on. On a hardware wallet it has two jobs: checking the main firmware before starting it, and installing firmware updates.
At start-up the bootloader verifies the firmware's digital signature against the vendor's public key stored in the device. If the firmware has been modified or does not come from the vendor, the bootloader refuses to run it or shows a clear warning, depending on the model. This chain of checks is usually called secure boot.
Updates go through the bootloader as well. The device is put into bootloader mode, the companion app transfers the new firmware, and the bootloader checks its signature before writing it. Some vendors also update the bootloader itself from time to time, and some block downgrades to older, vulnerable versions.
Because everything else relies on it, the bootloader is kept small and is normally write-protected. A flaw in it is harder to fix than a firmware bug. For the user, the practical rules are simple: install updates only through the vendor's official app, keep the recovery phrase backed up before updating, and never type the phrase into a computer because an update screen asks for it.
Real-World Examples
Example 1: The owner of a Trezor Safe 3 starts a firmware update in Trezor Suite. The device restarts in bootloader mode, checks the signature of the new firmware and only then installs it.
Example 2: Someone tampers with a device's firmware before it reaches the buyer. At the first start the bootloader's signature check fails, and the device warns the user instead of starting normally.
Frequently Asked Questions
What happens if the firmware on my hardware wallet has been tampered with?
At start-up the bootloader checks the firmware's digital signature against the vendor's public key stored in the device. If the firmware has been modified or does not come from the vendor, the bootloader refuses to run it or shows a clear warning, depending on the model, instead of starting normally.
How do I update firmware through the bootloader safely?
Updates go through the bootloader, which checks the new firmware's signature before writing it. Install updates only through the vendor's official app, back up the recovery phrase before updating, and never type the phrase into a computer because an update screen asks for it.
Why is a bootloader flaw more serious than a firmware bug?
Everything else on the device relies on the bootloader, so it is kept small and is normally write-protected. That same protection makes a flaw in it harder to fix than a firmware bug. Some vendors update the bootloader itself from time to time, and some block downgrades to older, vulnerable versions.
Recorded incidents
Real cases from our hardware wallet security incident tracker, each with its sources and the vendor's response.
Ready to Choose a Secure Wallet?
Use our tools to find the right hardware wallet for your needs.