- Notifications
You must be signed in to change notification settings - Fork6
cjee21/Check-UEFISecureBootVariables
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
PowerShell scripts to check the UEFI KEK, DB and DBX Secure Boot variables.
Important
The DBX checking in this script is made for x64 and arm64 systems. If you are using an x86 or arm system, it is necessary to replace the*.bin
files with ones for your system architecture and edit their filenames in the PowerShell script (Check UEFI KEK, DB and DBX.ps1
) accordingly. The*.bin
files for various architectures can be obtained fromgithub.com/microsoft/secureboot_objects.
Right-clickCheck UEFI KEK, DB and DBX.cmd
andRun as administrator.
Example output:
Note
This script only checks for known Microsoft certificates in the KEK and DB and will not show any other certificates even if they are present. To view all certificates that are present, seeViewing all the UEFI Secure Boot variables below.
If the Secure Boot variables were accidentally reset to default in the UEFI/BIOS settings for example, it is possible to make Windows re-apply the DBX updates that Windows had previously applied. Double-clickApply DBX update (restart required).reg
and add the changes to the registry then restart Windows and wait for awhile. The DBX updates should be applied after that.
Windows February 13, 2024 cumulative update includes the ability to apply the Windows UEFI CA 2023 certificate to UEFI Secure Boot Allowed Signature Database (DB). To do so, double-clickApply DB update (restart required).reg
and add the changes to the registry then restart Windows and wait for awhile. The DB updates should be applied after that. For more information, refer toKB5036210 andEvolving the Secure Boot Ecosystem.
Double-clickShow Secure Boot update events.cmd
to display all the Secure Boot DB and DBX variable update events. Refer toKB5016061 for details on interpreting the events.
To display all the UEFI Secure Boot variables in readable format, right-clickShow UEFI PK, KEK, DB and DBX.cmd
andRun as administrator. All certificates in the PK, KEK and DB variables as well as all hashes in the DBX variable will be displayed.
- Windows Secure Boot Key Creation and Management Guidance
- Get-SecureBootUEFI
- Microsoft guidance for applying Secure Boot DBX update (KB4575994)
- KB5016061: Secure Boot DB and DBX variable update events
- KB5036210: Deploying Windows UEFI CA 2023 certificate to Secure Boot Allowed Signature Database (DB)
- Check-Dbx.ps1
- Get-UEFIDatabaseSignatures.ps1
- Only the latest DBX update is needed (1)
- Only the latest DBX update is needed (2)
- UEFI Revocation List File
- Microsoft - Secure Boot Objects
- Evolving the Secure Boot Ecosystem
- Update the dbx database to add back the same dbx entries as the cumulative update applied
About
PowerShell scripts to check the UEFI KEK, DB and DBX Secure Boot variables.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Contributors2
Uh oh!
There was an error while loading.Please reload this page.