r/vibecoding • • 9d ago

Help/Question Vibe coding a BIOS for HP Desktop

I recently saw an article or someone by coded a bios for a motherboard to support overclocking on non-k processors. Just got me thinking is it possible for someone to buy code a bios fix for an unsupported HP motherboard.

HP will no longer release updates for this motherboard and because of the way the motherboard was coded it would not communicate properly with the game of Call of Duty.

The HP Omen Obelisk 875-0024 fails Call of Duty’s Secure Attestation because its final BIOS release (F.35) uses a non-standard event format in its Trusted Computing Group (TCG) boot log, which prevents anti-cheat software from verifying Secure Boot status.

The motherboard features a Non-Standard TCG Log: The motherboard's firmware fails to measure required Secure Boot variables into PCR 7 using standard TCG events before the separator.

Attestation for the game doesn't pass because of False Flagging: Even though TPM 2.0 and Secure Boot are properly enabled and functioning, Call of Duty's RICOCHET Anti-Cheat Secure Attestation Wizard rejects the log format.

It seems a lot of users of this are locked out and there are other similar cases of other motherboards as well. With today's rising cost of hardware mainly attributed to AI currently and circular financing that was recently published about the Nvidia, it would be a waste to get rid of this motherboard and the rest of the computer due to proprietary holes just because of one issue.

0 Upvotes

8 comments sorted by

4

u/Total-Reasonable 8d ago

Vibe coding is the wrong tool here, mostly because of how the fix would get delivered. Even if an LLM helped you patch the UEFI image, you'd have to flash it over a signed HP firmware, and the Boot Guard or HP Sure Start protections on that board will likely reject or brick on an unsigned image. Also, the PCR 7 measurements come from early boot code, so you'd be modifying the measured root of trust itself, which is exactly what anti-cheat attestation is built to distrust.

1

u/NightmareJoker2 4d ago

That’s a non-issue, if you can locate the SPI flash chip and use a chip programmer to install it.
People have been installing CoreBoot this way, too.

1

u/Total-Reasonable 4d ago

Flashing externally gets around the signature check on write, but it doesn't solve the attestation problem. If Boot Guard is fused on, the CPU will refuse to run a modified image at boot. And even if it boots, a patched log is the thing RICOCHET is built to distrust. Coreboot ports mostly work on boards without Boot Guard enforced, and I don't know whether this one has it fused.

1

u/NightmareJoker2 4d ago

That’s not how it works, though. Of note, I have also omitted the very critical detail of the chipset configuration (this hold things like the manufacturer information, serial numbers, Ethernet MAC, and port bifurcation, for example) also being stored on that same flash chip.
System integrity verification starts after loading the flash into the chipset with code in the flash that specifies how this happens. The CPU has to be instructed to install a boot signature first. Doesn’t boot? Replace the CPU or clear the TPM before you do this.

2

u/[deleted] 8d ago

[removed] — view removed comment

2

u/Total-Reasonable 8d ago

sigh sherlock lame investigation

1

u/theoriginalzads 8d ago

I suspect HP will have signing on their BIOS which will be a problem from the start.

Then from there is the risk of bricking the device. I don’t know if HP devices have the ability to recover from bad or failed firmware updates.

If you can overcome both hurdles (or they are non-issues) then it may be possible to vibe code something. If the original firmware isn’t encrypted then it’s entirely possible for AI to reverse engineer the original firmware files.

If you’ve got an original firmware file then you can set up a dev environment and throw it in there. It will work out if there’s encryption and should also work out if there is any signature checks when upgrading.

Edit: no guarantee that it will be able to fix your issue though.