# 安全启动（Secure Boot）

**安全启动** 是一项安全标准，属于统一可扩展固件接口（UEFI）规范的一部分，确保 PC 只使用设备制造商信任的软件启动。PC 启动时，固件会检查每一件启动软件的数字签名，包括固件驱动程序（Option ROM）和操作系统加载程序；如果签名有效，PC 便启动，固件将控制权交给操作系统。<sup>[1](https://learn.microsoft.com/en-us/windows-hardware/drivers/bringup/secure-boot)</sup> [Windows 11](https://www.edgepedia.org/zh/windows-11) 要求固件为具备安全启动能力的 UEFI 固件，但 [Windows 8](https://www.edgepedia.org/zh/windows-8)、8.1 和 10 并未把安全启动列为通用操作系统要求。<sup>[1](https://learn.microsoft.com/en-us/windows-hardware/drivers/bringup/secure-boot)</sup><sup> • </sup><sup>[22](https://learn.microsoft.com/en-us/windows/whats-new/windows-11-requirements)</sup>

| 关键事实 | 详情 |
|---|---|
| 是什么 | UEFI 规范中的一项功能：固件在执行每一件启动软件之前验证其签名<sup>[1](https://learn.microsoft.com/en-us/windows-hardware/drivers/bringup/secure-boot)</sup> |
| 关键数据库 | 签名数据库（db）和吊销签名数据库（dbx）列出允许和禁止的启动二进制文件的签名者或哈希值；密钥注册密钥数据库（KEK）授权对它们进行更新，平台密钥（PK）则是安全启动密钥存储的根密钥<sup>[2](https://learn.microsoft.com/en/windows-hardware/design/device-experiences/oem-secure-boot)</sup><sup> • </sup><sup>[3](https://www.nsa.gov/portals/75/documents/what-we-do/cybersecurity/professional-resources/csi-uefi-lockdown.pdf)</sup> |
| Windows 要求 | Windows 11 要求固件为具备安全启动能力的 UEFI 固件，而 Windows 8、8.1 和 10 并未把安全启动列为通用操作系统要求；不过，经过认证的 x86 PC 必须在出厂时启用安全启动、信任微软的证书，并且仍允许用户配置或禁用它<sup>[1](https://learn.microsoft.com/en-us/windows-hardware/drivers/bringup/secure-boot)</sup><sup> • </sup><sup>[4](https://learn.microsoft.com/en-us/windows/threat-protection/secure-the-windows-10-boot-process)</sup><sup> • </sup><sup>[22](https://learn.microsoft.com/en-us/windows/whats-new/windows-11-requirements)</sup> |
| 证书生命周期 | 微软最初于 2011 年签发的证书将从 2026 年 6 月起陆续到期；Windows UEFI CA 2023 取代 Microsoft Windows Production PCA 2011，后者于 2026 年 10 月 19 日到期<sup>[5](https://support.microsoft.com/en-us/servicing/os/secure-boot/2025/06/windows-secure-boot-certificate-expiration-and-ca-updates)</sup><sup> • </sup><sup>[6](https://blogs.windows.com/windowsexperience/2026/02/10/refreshing-the-root-of-trust-industry-collaboration-on-secure-boot-certificate-updates/)</sup> |
| Linux 支持 | 大多数发行版使用 shim——一个由微软签名的小型预引导加载程序——来验证由发行版签名的第二阶段引导程序（如 GRUB）<sup>[7](https://documentation.ubuntu.com/security/security-features/platform-protections/secure-boot/)</sup> |
| 配套机制 | 度量启动（Measured Boot）把反恶意软件应用之前加载的所有内容的哈希值记录到 TPM 中，使远程服务器能够验证启动过程；安全启动是一道闸门，度量启动是一份记录<sup>[4](https://learn.microsoft.com/en-us/windows/threat-protection/secure-the-windows-10-boot-process)</sup><sup> • </sup><sup>[8](https://hamchops.com/free/security-engineering-devsecops/sec-attestation-chains-tpm-secure-boot/the-chain-of-trust-secure-boot-vs-measured-boot/)</sup> |

## 工作原理

安全启动把信任链从硬件或固件信任根延伸至启动时加载的每一个组件。固件依据允许签名数据库（db）和吊销数据库（dbx）检查 UEFI 驱动程序和操作系统模块；平台密钥和密钥交换密钥授权对安全启动配置的更改；引导加载程序则接着验证它们所加载的操作系统。<sup>[9](https://www.microsoft.com/en-us/security/blog/2025/03/31/analyzing-open-source-bootloaders-finding-vulnerabilities-faster-with-ai/)</sup><sup> • </sup><sup>[23](https://learn.microsoft.com/en-gb/windows-hardware/design/device-experiences/oem-secure-boot)</sup> 任何签名检查失败，启动过程都会停止，而不是运行不受信任的代码。<sup>[7](https://documentation.ubuntu.com/security/security-features/platform-protections/secure-boot/)</sup>

**关键数据库。** 一台设备上哪些 UEFI 应用程序、操作系统加载程序和 UEFI 驱动程序可以加载、哪些不可以，由两份列表控制：签名数据库（db）和吊销签名数据库（dbx），每份列表都记录签名者或映像哈希值。<sup>[2](https://learn.microsoft.com/en/windows-hardware/design/device-experiences/oem-secure-boot)</sup> dbx 又称 UEFI 吊销列表，启动时会查询它，以确定闪存中的某个二进制文件是否适用任何吊销项；此前已签名、但后来被发现存在漏洞或携带恶意软件的二进制文件，会通过它被吊销。<sup>[10](https://www.sei.cmu.edu/asset_files/WhitePaper/2023_019_001_979570.pdf)</sup><sup> • </sup><sup>[11](https://media.defense.gov/2025/Dec/11/2003841096/-1/-1/1/CSI_UEFI_SECURE_BOOT.PDF)</sup> KEK 可授权在运行时更改安全启动变量、db 密钥和 dbx 密钥；PK 则充当密钥存储层次结构的根密钥。<sup>[3](https://www.nsa.gov/portals/75/documents/what-we-do/cybersecurity/professional-resources/csi-uefi-lockdown.pdf)</sup> 这些经过身份验证的 UEFI 变量始终可读，但只有持有密钥交换密钥的授权用户才能写入。<sup>[12](https://uefi.org/specs/UEFI/2.10/32_Secure_Boot_and_Driver_Signing.html)</sup>

**Windows 启动链。** 在 UEFI PC 上，固件首先验证固件自身已获得数字签名，以降低固件级隐匿恶意程序的风险，然后检查引导加载程序的签名。可信启动（Trusted Boot）在安全启动结束之处接手：引导加载程序验证 Windows 内核，内核再验证其他每一个启动组件，包括启动驱动程序和早期启动反恶意软件（ELAM）驱动程序；后者可以在所有非微软启动驱动程序之前加载微软或非微软的反恶意软件驱动程序。<sup>[4](https://learn.microsoft.com/en-us/windows/threat-protection/secure-the-windows-10-boot-process)</sup>

## 安全启动与度量启动

安全启动与度量启动是保障启动完整性的互补机制。安全启动是一道闸门：它在任何代码运行之前，依据签名作出允许或拒绝的二选一决定。度量启动是一份账本：固件把固件、引导加载程序、启动驱动程序以及反恶意软件应用之前加载的所有内容的哈希值存入 TPM；可信服务器之后可以验证这些度量值的签名日志，以评估 PC 的健康状况，并根据结果授予隔离网络或完整网络的访问权限。<sup>[4](https://learn.microsoft.com/en-us/windows/threat-protection/secure-the-windows-10-boot-process)</sup><sup> • </sup><sup>[8](https://hamchops.com/free/security-engineering-devsecops/sec-attestation-chains-tpm-secure-boot/the-chain-of-trust-secure-boot-vs-measured-boot/)</sup> 度量启动始于度量核心信任根（Core Root of Trust for Measurement），即在上电时、控制权移交给被度量实体之前进行的首次度量。<sup>[13](https://fossies.org/linux/coreboot/Documentation/security/vboot/measured_boot.md)</sup>

## Linux 与 shim

大多数 x86 硬件的固件出厂时都带有微软证书，因此安全启动能够识别微软签名的二进制文件，Linux 社区也依赖这一模式来实现兼容。<sup>[7](https://documentation.ubuntu.com/security/security-features/platform-protections/secure-boot/)</sup> shim 是一个由微软签名的小型中间引导加载程序，在固件与发行版自己的引导加载程序之间架起桥梁，使微软不必逐一签署每一个 Linux 引导加载程序。<sup>[14](https://www.techradar.com/pro/security/no-new-vulnerability-is-needed-to-bypass-uefi-secure-boot-experts-find-attackers-can-exploit-decades-old-flaws-to-gain-access-to-key-systems)</sup> 在 Ubuntu 上，固件验证微软签名的 shim；shim 内含一个嵌入式信任数据库，其中包括 Canonical 的签名证书，并用它来验证 GRUB 和内核；MokManager 则允许用户为自定义内核和模块注册机器所有者密钥（Machine Owner Keys）。<sup>[7](https://documentation.ubuntu.com/security/security-features/platform-protections/secure-boot/)</sup> 在安全启动模式下，[Linux 内核](https://www.edgepedia.org/zh/linux-kernel)还会禁用某些功能，例如自定义 ACPI 方法和表。<sup>[15](https://fedoraproject.org/wiki/Secureboot)</sup>

## 证书到期与 2023 年更新

在服役超过 15 年后，最初的安全启动证书走到了计划生命周期的终点，并于 2026 年 6 月下旬开始到期；这是微软、设备制造商和固件提供商协调行动的结果。<sup>[6](https://blogs.windows.com/windowsexperience/2026/02/10/refreshing-the-root-of-trust-industry-collaboration-on-secure-boot-certificate-updates/)</sup> 受影响的系统包括运行 [Windows 10](https://www.edgepedia.org/zh/windows-10)、Windows 11 以及 2012 至 2025 年各版本 [Windows Server](https://www.edgepedia.org/zh/windows-server) 受支持版本的物理机和虚拟机，包括长期服务渠道版本。<sup>[16](https://techcommunity.microsoft.com/blog/windows-itpro-blog/act-now-secure-boot-certificates-expire-in-june-2026/4426856?after=MjUuMTJ8Mi4xfGl8MTB8MTMyOjB8aW50LDQ0OTk0ODIsNDQ0MzU2NQ)</sup> 用于签署 Windows 引导加载程序的 Microsoft Windows Production PCA 2011 证书于 2026 年 10 月 19 日到期，由存储在 db 中的 Windows UEFI CA 2023 取代。<sup>[5](https://support.microsoft.com/en-us/servicing/os/secure-boot/2025/06/windows-secure-boot-certificate-expiration-and-ca-updates)</sup> 两张新证书取代 Microsoft Corporation UEFI CA 2011，以实现更精细的控制。<sup>[16](https://techcommunity.microsoft.com/blog/windows-itpro-blog/act-now-secure-boot-certificates-expire-in-june-2026/4426856?after=MjUuMTJ8Mi4xfGl8MTB8MTMyOjB8aW50LDQ0OTk0ODIsNDQ0MzU2NQ)</sup>

Windows 上的证书维护是操作系统与设备 UEFI 固件之间的协调过程：Windows 负责编排更新，使用标准 UEFI 接口更新 db、KEK 等变量，或安装更新后的 Windows 启动管理器；固件则执行安全启动策略并维护这些数据库。<sup>[17](https://support.microsoft.com/en-US/servicing/os/secure-boot/2026/03/secure-boot-troubleshooting-guide)</sup> Windows 安全中心应用会显示绿色、黄色或红色标记，指示将于 2026 年 6 月到期的证书状态。<sup>[18](https://www.windowscentral.com/microsoft/windows-11/the-7-biggest-windows-11-insider-changes-from-early-april-2026)</sup> 从 2024 年开始，OEM 厂商出厂的机器以及 2025 年出货的几乎所有系统都已携带新证书。<sup>[19](https://www.tomshardware.com/software/windows/microsoft-is-refreshing-secure-boot-certificates-to-plug-security-holes-before-they-happen-if-you-bought-a-pc-last-year-you-should-be-set)</sup> 如果证书到期，PC 应能继续运行，尽管其安全性会受到影响。<sup>[19](https://www.tomshardware.com/software/windows/microsoft-is-refreshing-secure-boot-certificates-to-plug-security-holes-before-they-happen-if-you-bought-a-pc-last-year-you-should-be-set)</sup> 2026 年 7 月，由于固件有缺陷的设备上存在已知问题，微软暂时暂停了在部分 Windows 11 PC 上推送证书更新。<sup>[20](https://www.techradar.com/pro/security/watch-out-windows-users-a-secure-boot-update-has-been-blocked-on-windows-11-pcs-due-to-failing-on-some-devices-heres-how-to-check-if-youre-affected)</sup>

## 吊销与绕过

吊销更新是安全启动维护的常规组成部分。微软的 KB5025885 说明了如何管理与 CVE-2023-24932 相关的 Windows 启动管理器吊销，其强制执行阶段原定不早于 2026 年 1 月开始。<sup>[21](https://download.microsoft.com/download/5ed0b3f1-8bd6-4db7-bcba-8c9d461e74eb/MicrosoftSecurityBriefing_202511.pdf)</sup>

绕过并不总是需要新的漏洞。网络安全公司 ESET 的研究人员发现了 11 个存在漏洞的 UEFI shim 引导加载程序，它们均由微软签名，其 0.9 及更早版本可被利用来绕过安全启动并部署引导型隐匿恶意程序；ESET 研究员马丁·斯莫拉尔（Martin Smolár）指出，并不需要新漏洞，只需要一份旧的、仍受信任但尚未被吊销的 shim 二进制文件。任何信任 Microsoft Corporation UEFI CA 2011 第三方证书的 UEFI 机器都可能受到影响；在 ESET 向 CERT/CC 报告后，这些存在漏洞的应用程序均已被吊销。<sup>[14](https://www.techradar.com/pro/security/no-new-vulnerability-is-needed-to-bypass-uefi-secure-boot-experts-find-attackers-can-exploit-decades-old-flaws-to-gain-access-to-key-systems)</sup> 安全启动的默认信任圈很宽：由于 Microsoft 3rd Party UEFI CA 证书为所有 Linux 发行版签署引导加载程序，信任它就会扩大系统的攻击面，因此安全核心 PC（Secured-core PC）被配置为默认不信任该 CA。<sup>[4](https://learn.microsoft.com/en-us/windows/threat-protection/secure-the-windows-10-boot-process)</sup>

## References

1. [What Is Secure Boot for Windows? Microsoft Learn](https://learn.microsoft.com/en-us/windows-hardware/drivers/bringup/secure-boot)
2. [Secure boot (OEM requirements), Microsoft Learn](https://learn.microsoft.com/en/windows-hardware/design/device-experiences/oem-secure-boot)
3. [NSA Cybersecurity Information: UEFI Secure Boot lockdown](https://www.nsa.gov/portals/75/documents/what-we-do/cybersecurity/professional-resources/csi-uefi-lockdown.pdf)
4. [Secure the Windows boot process, Microsoft Learn](https://learn.microsoft.com/en-us/windows/threat-protection/secure-the-windows-10-boot-process)
5. [Windows Secure Boot certificate expiration and CA updates, Microsoft Support](https://support.microsoft.com/en-us/servicing/os/secure-boot/2025/06/windows-secure-boot-certificate-expiration-and-ca-updates)
6. [Refreshing the root of trust: industry collaboration on Secure Boot certificate updates, Windows Experience Blog](https://blogs.windows.com/windowsexperience/2026/02/10/refreshing-the-root-of-trust-industry-collaboration-on-secure-boot-certificate-updates/)
7. [UEFI Secure Boot, Ubuntu security documentation](https://documentation.ubuntu.com/security/security-features/platform-protections/secure-boot/)
8. [The Chain of Trust: Secure Boot vs. Measured Boot, HamChops](https://hamchops.com/free/security-engineering-devsecops/sec-attestation-chains-tpm-secure-boot/the-chain-of-trust-secure-boot-vs-measured-boot/)
9. [Analyzing open-source bootloaders, Microsoft Security Blog](https://www.microsoft.com/en-us/security/blog/2025/03/31/analyzing-open-source-bootloaders-finding-vulnerabilities-faster-with-ai/)
10. [Securing UEFI: An Underpinning Technology for Computing, CMU SEI](https://www.sei.cmu.edu/asset_files/WhitePaper/2023_019_001_979570.pdf)
11. [NSA Guidance for Managing UEFI Secure Boot](https://media.defense.gov/2025/Dec/11/2003841096/-1/-1/1/CSI_UEFI_SECURE_BOOT.PDF)
12. [UEFI Specification 2.10, Section 32: Secure Boot and Driver Signing](https://uefi.org/specs/UEFI/2.10/32_Secure_Boot_and_Driver_Signing.html)
13. [coreboot documentation: measured boot](https://fossies.org/linux/coreboot/Documentation/security/vboot/measured_boot.md)
14. [Vulnerable UEFI shims can bypass Secure Boot, TechRadar](https://www.techradar.com/pro/security/no-new-vulnerability-is-needed-to-bypass-uefi-secure-boot-experts-find-attackers-can-exploit-decades-old-flaws-to-gain-access-to-key-systems)
15. [Secureboot, Fedora Project Wiki](https://fedoraproject.org/wiki/Secureboot)
16. [Act now: Secure Boot certificates expire in June 2026, Windows IT Pro Blog](https://techcommunity.microsoft.com/blog/windows-itpro-blog/act-now-secure-boot-certificates-expire-in-june-2026/4426856?after=MjUuMTJ8Mi4xfGl8MTB8MTMyOjB8aW50LDQ0OTk0ODIsNDQ0MzU2NQ)
17. [Secure Boot troubleshooting guide, Microsoft Support](https://support.microsoft.com/en-US/servicing/os/secure-boot/2026/03/secure-boot-troubleshooting-guide)
18. [The 7 biggest Windows 11 Insider changes from early April, Windows Central](https://www.windowscentral.com/microsoft/windows-11/the-7-biggest-windows-11-insider-changes-from-early-april-2026)
19. [Microsoft is refreshing Secure Boot certificates, Tom's Hardware](https://www.tomshardware.com/software/windows/microsoft-is-refreshing-secure-boot-certificates-to-plug-security-holes-before-they-happen-if-you-bought-a-pc-last-year-you-should-be-set)
20. [Secure Boot update blocked on some Windows 11 PCs, TechRadar](https://www.techradar.com/pro/security/watch-out-windows-users-a-secure-boot-update-has-been-blocked-on-windows-11-pcs-due-to-failing-on-some-devices-heres-how-to-check-if-youre-affected)
21. [Microsoft Security Briefing: KB5025885 Windows Boot Manager revocations for CVE-2023-24932](https://download.microsoft.com/download/5ed0b3f1-8bd6-4db7-bcba-8c9d461e74eb/MicrosoftSecurityBriefing_202511.pdf)
22. [Windows 11 requirements](https://learn.microsoft.com/en-us/windows/whats-new/windows-11-requirements)
23. [Secure boot](https://learn.microsoft.com/en-gb/windows-hardware/design/device-experiences/oem-secure-boot)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Boards, peripherals & form factors › Motherboards & form factors › Chipsets and board logic

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/secure-boot

English original: https://www.edgepedia.org/secure-boot
