Get more in life
GMK NucBox TPM 2.0 Firmware Upgrade

GMK NucBox TPM 2.0 Firmware Upgrade

GMK pleasantly surprised their customers recently when they released a firmware upgrade for the NucBox device making it compatible with Windows 11. I covered this device in my previous post, which didn’t have a TPM chip at the time. It did have an fTPM that Windows did not recognize. However, after the BIOS upgrade from GMK, NucBox comes with a TPM device. Pure sorcery. In this post, we will look at the upgrade process and compare the system configuration before and after the upgrade.

Windows 11 upgrade compatibility for Intel J4125 CPU

Where is the TPM?

The device doesn’t have a physical TPM device. I reached out to GMK support for clarification and received the following response:

The TPM2.0 of our device is built in the CPU, but it was not turned on before. When win11 was released, we discovered this problem and opened it in time to solve it.

GMK NucBox comes with the Intel Celeron J4125 CPU which doesn’t have a TPM device according to the spec sheet. If it did, it would have been supported as a TPM or PTT. Having said that, Celeron J4125 does support Intel SGX which provides secure enclaves. Looking at the specification of a TPM device on the Windows Security Processor details page, we see INTC as the manufacturer.

Windows Security Processor TPM Zoomed In

My best guess is that GMK is implementing an fTPM specification using Intel SGX. That’s the sorcery that made TPM appear out of thin air after the upgrade.

Since GMK NucBox doesn’t have a discrete TPM device, it is not as secure as Windows may make us believe. From the Microsoft whitepaper, paragraph 13.1 – Intel SGX and Its Shortcomings:

  • Lack of trusted storage makes secrets susceptible to rollback attacks (mening bad guys can turn off prortection and expose the secrets)
  • Does not have a secure counter
  • No secure clock (to enforce lock-out and protect against a dictionary attack)
  • Side-channel attacks are possible

It will meet Windows 11 upgrade requirements and provide a secure boot. However, I would not store sensitive documents on the GMK NucBox device, even when it is encrypted by the Bitlocker backed by TPM.

BIOS

It is always useful to inspect BIOS pages and see how the TPM device looks after the upgrade. For comparison, I provided two screenshots of the same page – before and after the upgrade.

Advanced > TPM configuration before upgrade
Advanced > TPM Configuration page before the upgrade
Advanced > TPM Configuration page after the upgrade
Advanced > TPM Configuration page after the upgrade

Upgrade process

GMK designed the process for fairly technical folks. Unfortunately, it is not wrapped up in a nice shiny application with a big green button that checks all the requirements and carefully executes the upgrade. In this paragraph, I will walk you through the process step by step to give you that boost of confidence you’ve come here for.

GMK files I downloaded were clean from viruses or malware. Any time you download an executable from the internet it is a good idea to scan it with the VirusTotal.

Contrary to what you may discover in GMK upgrade documentation, you do not need access to internal device components.

Check your NucBox

According to GMK upgrade instructions, you need to flip your device around and look at the serial number:

  1. If your device has “SN” followed by a bunch of numbers – you need this file.
  2. If your device does not have “SN” on the back – go ahead and download this file.

Download key backup tool

This tool is used to back up your unique computer key from the BIOS before the upgrade and re-apply it after. Download the tool in this file.

Download upgrade instructions

GMK provided upgrade instructions with the screenshots in this file. It is a good idea to have it open as a reference guide. If you’ve downloaded all the files and unpacked them you should see something like the picture below in your folder.

It is a good idea to remove all Chinese characters from the folder names just in case your English locale changes the behavior of any of the system API that upgrade tools rely on.

Folder structure after all tools are unpacked.
Folder structure after all tools are unpacked

Upgrade

The process is straightforward but can be nerve-wracking if something goes wrong, like a power outage.

  1. First go to BackupkeyTool_v1.3 folder and run ConvertOA3_v3.exe file. It will ask for administrator permissions – grant them. This tool will run quickly, read the key from the BIOS and write it into OA3.bin file.
  2. Next go to BIOS folder right-click on F.bat and Run as Administrator. This tool will actually upgrade the BIOS. It will take a minute or so to do the upgrade, writing one block at a time. Do not interrupt the upgrade or you will brick your device.
  3. After the upgrade, reboot GMK Nucbox. The first boot will take approximately ~45 seconds to show GMK logo. It is normal so no need to panic.
  4. Once you boot into Windows after the upgrade, go back to BackupkeyTool_v1.3 folder, make sure OA3.bin file is still there and run FlashTool_x64_v3.exe. It will request administrator permissions – grant them.
  5. It would be a good idea to reboot your device one more time after key flashing.

After a successful upgrade, you should see a new version in the System Information tool – 7/7/2021.

System Information tool after GMK Nucbox upgrade
System Information tool after GMK Nucbox upgrade