Nikolaj Schlej

@CodeRush@mastodon.social

Second part of my Hydroph0bia (CVE-2025-4275) research: coderush.me/hydroph0bia-part2/

This one is about hijacking code execution during FW update, and overcoming a rather naive countermeasure that SecureFlashDxe driver tired to employ against us.

June 11, 2025 at 2:37:43 PM

So what you're saying is that if someone is using, say, Kaspersky's FDE product, if you have Insyde firmware it's running during your firmware updates?

No, this is specifically about things that are using SecureFlashCertData. I know for sure that it is possible to setup the FW to trust only Insyde 1st party code signed by the cert from DXE volume (set SecureFlashSetupMode to 0 instead of 1), but IDR if that is actually set like that now. Needs a bit more testing.

Yeah, I got that part, but I was specifically thinking about this bit from your outro: "as it turns out the DriverXXXX load options are still being processed even in the firmware update mode." (I should have said as much.) Is it processing the drivers but not loading them unless they're 1st party signed?

it is indeed the case, need to replace the image in part2 and explicitly state that. SecureFlashSetupMode is indeed set to zero, which limits trust to Insyde 1st-party software. The fact that a driver could run in such a mode is an oversight nevertheless, but I hope Insyde never signed any drivers with the same cert.

thanks for clarifying for me.

Anytime, it's clarifying for all of us, and for any future readers too.

Updated the image, added clarification, should be less confusing now.

Elk Logo

Welcome to Elk!

Elk is a nimble Mastodon web client. You can login to your Mastodon account and use it to interact with the fediverse.

Expect some bugs and missing features here and there. Elk is Open Source and we're actively improving it as a community project. Join us and let's build it together!

If you'd like to report a bug, help us testing, give feedback, or contribute, reach out to us on GitHub and get involved.

To boost development, you can sponsor the Team through GitHub Sponsors. We hope you enjoy Elk!

Anthony FuTAKAHASHI ShuujiPatakDaniel Roe三咲智子 Kevin DengJoaquín Sánchez

The Elk Team