What Is Secure Boot?

Technician powering on an open desktop computer with a generic secure boot verification display

Secure Boot is a firmware security feature that checks whether important startup software is trusted before a computer runs it. On a modern UEFI system, the first programs loaded can include firmware drivers, option ROMs, and an operating-system boot loader. Secure Boot examines the digital signature attached to each protected image and compares it with trust information stored by the platform. If the signature is valid and the signer is allowed, startup continues. If verification fails or the image is explicitly forbidden, the firmware can refuse to execute it and send the user to recovery or setup instead.

The process begins with keys and databases controlled by the device maker, owner, or administrator. A Platform Key establishes authority over the Secure Boot configuration. Key Exchange Keys can authorize updates to the allowed-signature database, commonly called db, and the forbidden or revoked-signature database, called dbx. These stores may contain certificates, public keys, or file hashes. The arrangement creates a chain of trust: firmware trusts selected authorities, those authorities sign boot components, and each accepted stage can verify the next. The exact key enrollment and update process varies by manufacturer and deployment policy.

When firmware encounters a UEFI executable, it calculates information needed to verify its signature and checks that signature against the configured databases. An image signed by an approved authority may run unless a matching certificate, key, or hash has also been revoked. An unsigned image, a damaged signature, or a signer absent from the allow list can be blocked. Operating systems can continue the pattern by validating later components such as the kernel and drivers. The result is not one magical check but a sequence intended to prevent unauthorized code from taking control before ordinary security software starts.

Secure Boot is not disk encryption, antivirus software, or a guarantee that every approved program is harmless. It protects a specific early-boot boundary and depends on the quality of the firmware, signing authorities, and permitted software. A legitimately signed component can still contain a vulnerability, which is why revocation updates matter. Secure Boot also differs from measured boot. Secure Boot enforces a policy by allowing or denying execution, while measured boot records cryptographic measurements—often in a Trusted Platform Module—so another system can evaluate what started. A device may use both techniques together.

Updates keep the trust system useful. Manufacturers and operating-system vendors may add new signing certificates, replace expiring or compromised keys, and expand dbx to reject known-vulnerable boot components. Those changes must be deployed carefully because an incorrect revocation or incompatible update can prevent a legitimate machine from starting. Enterprises often test changes on a small group first and keep recovery media, firmware passwords, and encryption recovery keys available. Administrators also need to know whether a device is using factory keys, custom keys, or setup mode, because those states produce different security outcomes.

Some older operating systems, diagnostic tools, graphics cards, or custom kernels may not carry a signature the machine accepts. Firmware settings often allow Secure Boot to be disabled or custom keys to be enrolled, but disabling enforcement removes a defense against bootkits and other pre-operating-system tampering. A compatibility exception should therefore be deliberate, documented, and limited to a real need. For most users, leaving Secure Boot enabled and applying trusted firmware and operating-system updates is the practical choice. Its value is straightforward: it narrows the code allowed to run at the moment when the computer has the fewest other defenses available. Verification details can be recorded in firmware logs and operating-system security information, giving support teams evidence when a machine refuses to start. That visibility matters because the safest response is not always to turn protection off; it may be to update a revoked component, restore approved keys, or use documented recovery media.

Explore more "Explainers"

Discover additional explainers across politics, science, business, technology, and other fields. Each explainer breaks down a complex idea into clear, everyday language—helping you better understand how major concepts, systems, and debates shape the world around us.