Ask HN: Too theoretical for hackers to flash your firmware excluding boot ROM?
Is it too theoretical how a hacker would do that? As in would it require some very rare 0-day vulnerability which might not exist currently? Or are there known ways how a hacker would be able to flash malware into these components such as the embedded controller or cam?
The reason I ask is because I've heard from people in cyber security saying two arguments: yes it's possible, no it's too theoretical or "way too unlikely". So which is it? No one has actually tried explaining their answer or linking to any source. Answers are always vague.
I think it's important to have these answer because when it comes to firmware security, it makes a huge different if all you need to do is to flash the boot rom to ensure your firmware is uncompromised. That would make security 1000 times easier. But if it's not enough then you would maybe have to Unfortunately throw away the computer if you think there's compromised firmware because you won't be able to get rid of it.
Don't forget to explain your answer. Please give link to source and further reading about this.
13 comments
[ 4.9 ms ] story [ 37.1 ms ] threadIf you want a case study, BlackLotus is a good starting point.
https://www.eset.com/au/about/newsroom/press-releases1/eset-...
Is it just from userspace you flash these firmware (other than boot rom)? Or can you flash externally as well if you have physical access?
This also means that just like you avoid a lot of malware by going to linux instead of windows which is what all hackers build their malware for, you can probably also avoid a lot of these firmware bootkits by flashing coreboot instead of having UEFI.
You could flash coreboot and run your own secure boot chain etc on one machine, but this is absolutely not something you can do at organisational scale.
That said, only individuals worried about foreign intelligence services need to incorporate this into their threat model.
Depends on the device.
> Is that why you think only foreign intelligence agencies are the ones who can do this?
Because it's enough work that nobody else would bother.
> Also assume that the bios is password protected and it's configured in bios to not boot from a USB drive.
BIOS password is an administrative control. It doesn't stop anyone with the ability to flash firmware from doing anything.
BIOS password does help if they need to be able to boot from usb drive to flash firmware. Or do you know another way? Again, not talking about boot rom.
If you ask extremely general questions, you're going to get extremely general answers. This is a discussion board, not a personal research service. You need to go and figure this out for the specific hardware you are concerned about.
> BIOS password does help if they need to be able to boot from usb drive to flash firmware.
That's the only circumstance in which it helps, but that's rarely necessary on modern machines.
https://en.m.wikipedia.org/wiki/Fwupd
They are not all built the same. It depends on the SPECIFIC device.
Just because something is possible doesn't mean it's likely that an attacker would burn a 0-day against you though.
The first paragraph you made doesn't sound so convincing though with mostly "probably" and no source or explanation other than intel has put a lot of effort into protecting the boot rom and EC. If you or someone could elaborate further that would be great.
https://news.ycombinator.com/item?id=42395618
https://arstechnica.com/information-technology/2024/12/new-b...
I don't think there's a public working exploits (yet?), but it can "likely" in some cases (depending on the DIMMS you have installed) be done without hardware access, purely through software:
"In some cases, with certain DIMM models that don't adequately lock down the chip, the modification can likely be done through software."
https://arstechnica.com/information-technology/2024/12/new-b...
So yeah, it's possible for a hacker to flash malware onto your DIMMs...
(Whether that's a thing you need to care about is a good question. This isn't something a driveway script kiddie is gonna do after he p0wns your WordPress site with vulnerable plugins. But if you're running a dark web drug market on commercially hosted cloud servers and a powerful enough Three Letter Agency becomes intersted in you...)