Blog Posts

Deep dives into systems programming, infrastructure, security, and the craft of building reliable software. I write about the problems I'm solving and the tools I'm using.

88
Posts
44,833
Words
~5/yr
Avg Posts
621d
Since Last Post
509
Avg Words
4h 14m
Total Reading Time

Secure Boot on Older and Unstable Motherboards

Sam Stelfox 2 min read

Recently I found my desktop motherboard was vulnerable booting malicious payloads due to the use of a developer reference key in production firmware. I have a Gigabyte Aorus X570 Elite motherboard which is known to have a rather problematic UEFI BIOS.

Turning secure boot on, without the Microsoft keys present, would prevent any graphical output. The system was booting behind the scenes and I could SSH into it, only graphical output was affected. This is something that has been on my todo list for a while and was low priority enough I never got around to resolving it. This fresh news article gave me the drive to solve it.

If you have the same motherboard, you can recover from this issue by resetting the BIOS CMOS settings. You do have to physically remove the inconveniently located battery, as the jumper was ineffective. You also have to fully switch off or unplug your power supply during the removal.

From the Archives

3 min read

Updating BMC on Dell PowerEdge C6100

I just received my Dell PowerEdge C6100 and found it's software quite a bit outdated. After searching around quite a bit I found the resources lacking for …

2 min read

Fail Fast in Bash Scripts

I found myself writing another bash script that should exit should any of the few commands within it fail to run. As I began writing some error handling after …

2 min read

Backing up Gmail with fetchmail

This morning I found myself in need of a large set of emails to test a particular set of code. Ideally these emails would be broken out into easily digestible …

All Posts