[Problem] Expiring SecureBoot Certificates

Hi community,

Being a Chinese X99 enthousiast, I’m wondering what the impact will be of the expiring Secureboot certificates this June 2026. (full article: Act now: Secure Boot certificates expire in June 2026 - Windows IT Pro Blog)

If I’m not mistaken some of these DB/KEK certs are embedded in the SecureBoot modules. Does that mean we have to wait for one of the X99 vendors to release a version with the updated certificates, which we can then extract & replace with UEFITool to other x99 bioses?

If anyone can shed some light on this, e.g. what happens if we let the old certificates expire (for games such as Valorant/BF6, would be very welcome.

Greets,
T

Edit by Fernando: Thread title customized and shortened

I am wondering about this too. Does anyone know which part of the BIOS needs to be inserted as to support 2023 Secure Boot Certificate?

usually a renewed-verified PK from the vendor, while KEK, db, dbx, could use ms own certificate

1 Like

It’s fine whichever certificate it is. Just not clear where to insert it into the BIOS file …

Would be nice to have somebody with the in-depth knowledge on this.

Depends on the board bios manuf, but usually you can see them with uefitool NE, for example this is on asus z170 (any z170, latest bios):
image

You can try to extract it from a different board that have the latest, and replace as-is using uefitool or other tools.

OK, fair enough.

Can you glance at HP Z8 G4 latest BIOS:

https://ftp.hp.com/pub/softpaq/sp161501-162000/sp161769.exe

And see if the certificate could go into Z840 BIOS:

https://ftp.hp.com/pub/softpaq/sp146001-146500/sp146166.exe

Or even into Z820 BIOS:

https://ftp.hp.com/pub/softpaq/sp100501-101000/sp100751.exe

This link says Z8 G4 has the latest certificate:

HP PCs - Prepare for new Windows Secure Boot certificates | HP® Support

Hi,

Following Miyconst’s blog, I found a way to reliably install the new Secure Boot keys using a Linux boot stick and sbctl. The full video is on his Youtube channel, but what you need to do in short:

  • First check if you need the new SecureBoot certificates in PowerShell using Release v2026.01.18 · garlin-cant-code/SecureBoot-CA-2023-Updates · GitHub (use Set-ExecutionPolicy unrestricted)
  • In your the BIOS of your Chinese X99 motherboard, go to the SecureBoot menu and delete all SecureBoot certificates
  • Then boot to your Linux stick with sbctl installed
  • Run the following commands:
sudo sbctl create-keys
sudo sbctl enroll-keys --microsoft
  • Shut down the PC and go to your BIOS. Enable User/Custom mode again and boot to Linux to verify.
sudo sbctl verify
sudo sbctl status

Good luck all!

2 Likes

Using my beloved BD4 BIOS, I have now found a way to create an updated Chinese X99 BIOS that has the latest KEK and DB updates needed. Will probably work for other Intel motherboards with AMI BIOS as well. You only need UEFItool 0.28.0 to do this

  1. Download the latest Asrock Z590 steel legend BIOS (L2.21 Beta at time of writing)
  2. Extract the following two GUIDs as .ffs files
  • 9FE7DE69-0AEA-470A-B50A-139813649189 (KekVar)
  • FBF95065-427F-47B3-8077-D13C60710998 (dbVar)
  1. Replace the corresponding GUIDs in the original BIOS
  2. Flash the updated BIOS, and restore defaults
  3. Boot into Windows and verify using Powershell that the new certificate is working. These commands are taken from an excellent Lenovo page
  • [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI DB).Bytes) -match ‘Windows UEFI CA 2023’
  • [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI DB).Bytes) -match ‘Microsoft UEFI CA 2023’
  • [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI KEK).Bytes) -match ‘Microsoft Corporation KEK 2K CA 2023’
    @tiburcillo @Koekieezz @bibikalka
3 Likes

@ForeignerInBeijing have u tried to replace the entire pk, kek, db, and dbx guids from that board to your board bios, and see if it works? Also, maybe try to use a more recent board like z890 or x870 board and see if it succeed?

May I just ask what is the end goal with what you are suggesting, and why? In particular: Newer boards should anyhow receive official BIOS updates, so I honestly do not see the point there. But for older boards that will not receive updates, I do.

Working secure boot on Chinese X99 after summer 2026 was my goal. For that I only need to replace KEK and DB, no more, no less. I fully believe in “if it ain’t broke, don’t fix it”.

I don’t see these GUIDs in the HP BIOSes I listed above …

Anything else that’s easy to search for?

Sorry, I don’t know much about HP BIOS structure to be honest.

But from what I can remember HP uses encryption, making it near impossible to make any type of custom BIOS, even for a small change like this.

So we did manage to mod and boot BIOSes for HP Z620 and Z640 lines. It’s the UEFI structure overall, with some HP quirks. But it’s not encrypted!

I am wondering how to find the right keys in the BIOS. Your guidance is helpful, but does not work for HP unfortunately.

P.S. OK - I found these GUIDs in Z620 bios! But not in the newer hardware …

Any reason you did not also replace PkVar ?

Asrock said this:

Update Secure Boot Key (2023 KEK/DB/PK).

@Sweet_Kitten

Do you have a tool to take 2 bios versions, and compare each GUID section between them? Or at least dump sizes, and compare the sizes?

I am trying to chase KekVar/dbVar locations for MSFT certificates.

Here is the more standard one, plus HP Z620 does that too:

9FE7DE69-0AEA-470A-B50A-139813649189 (KekVar)
FBF95065-427F-47B3-8077-D13C60710998 (dbVar)

This is where Z440 and Z8G4 seem to have it, but I cannot locate dbVar:

B5B0F67F-50BD-4650-867D-EA27CBDF1BBE - Z440 kek

I’d dump 2 versions of Z8G4 before/after certificates update, and try to see which ones increased in size.

Do you have both full dump (pre SB keys update and post SB keys update), rather than from the .exe you’ve mentioned in your comment above?

For newer KEK, DB, and DBX keys, i usually roll it out with the latest windows 11 on the installed system, one by one, and then verify if all the keys is installed, except PK which came from the bios vendor itself.

On my Topic for B75M HD3 and H77 DS3H, i’ve extracted the .FFS of PkVar, KekVar, DbVar, DbxVar from the beta bios that gigabyte sent me for each bios, and replace them to the already modded bios, tested both board, it works! But one thing that wont work on those board is when you “append” or install your own keys, somehow they just wont install it, only install default keys that works.

So this left me with “How can i re-apply 2023 Kek, DB, and DBX?”, i re enroll the registry edit one by one, verify it again, and then extract it using powershell for each keys, then i proceed to flash clean older version bios, and then install/append them one by one in windows using the keys i just extracted earlier, reboot, and it works. Well the downside of this method is just it take alot of steps rather than all in one..

So are you talking about dumping the BIOS chip here? Not the stock BIOS version?

It seems something has to update in the stock BIOS before the new keys can be installed. Or is it just the default key that gets updated in the stock BIOS?

A general approach to finding out changes that I used before, is to compare the latest BIOS with the one before that. You can use UEFIExtract first, and delete the entire “Base” column in the automatically generated “report” text file (leave “Size” and “CRC32”). Then run diff on the two text files. Beyond Compare is very good at visualizing differences for many different file types, but there are many other tools these days.

With regards to what files I changed and why: I honestly thought I was crystal clear in this post?

OK, thanks!!! This works!

I do see quite a bit of changes between Z590 Steel Legend(L2.21)ROM and the previous Z590 Steel Legend(2.20)ROM version once I follow your approach. So how did you identify the exact GUIDs? I understand that you wanted the minimal changes, hence only 2 things (kekvar & dbvar) were updated.

You can try to use UEFITool NE A73 to view which is which. For example, here is the view of Colorful A320 Bios MB:


you can see it is marked as one of the secure boot keys var.