News for hackers. Stuff that matters.
Re:MSI's (In)Secure Boot by derkades on Monday January 16, 2023 @07:27PM (#34407525)
So is there any reason for secure boot to exist, other than to make it harder to boot an operating system other than Windows? I am all for verified boot (like implemented on some smartphones like Pixels), but UEFI secure boot doesn't seem particularly useful to me.
Re:MSI's (In)Secure Boot by gruez on Monday January 16, 2023 @07:50PM (#34407736)
In theory it would make bootkits (ie. malware that installs themselves as the bootloader, thereby being able to compromise/remain undetected for every subsequent step) harder to pull off. It's not part of my threat model though, because if malware made it onto my machine I'd be doing a full wipe. Also, this xkcd is pertinent: https://xkcd.com/1200/
Re:MSI's (In)Secure Boot by tormeh on Monday January 16, 2023 @09:11PM (#34408338)
> Also, this xkcd is pertinent: https://xkcd.com/1200/

Pretty much. The mainframe security model used by desktop OSes is fundamentally broken.

Re:MSI's (In)Secure Boot by pilif on Monday January 16, 2023 @11:20PM (#34409084)
The type of malware secure boot protects against can be made completely undetectable by the running OS and can be made to persist a full wipe.
Re:MSI's (In)Secure Boot by gruez on Tuesday January 17, 2023 @09:04AM (#34412461)
>and can be made to persist a full wipe.

Are you confusing a bootkit (ie. malware that's in the boot loader) with malware that's in the firmware itself? If it's just in the boot loader, that's still stored on the hdd/ssd itself, and therefore can be wiped.

Re:MSI's (In)Secure Boot by pilif on Tuesday January 17, 2023 @10:07AM (#34413269)
I said "can be made to persist" and I meant, yes, that the malware could be compromising the firmware. And by "can" I implied that not all of it does, but the possibility of it doing it does exist.

Secure boot is indeed designed to protect against bootkits too.

Re:MSI's (In)Secure Boot by joerichey on Monday January 16, 2023 @08:39PM (#34408132)
One thing that makes Secure Boot nice is how it (in theory) works _with_ measured boot. You get a measurement into the TPM that contains the public signing key that was used to verify the signature on your bootloader. This means if you update from one signed bootloader to a newer signed bootloader, you don't need to change any disk encryption or sealing.

Of course blocking execution is orthogonal to verifying the boot chain, but unfortunately those issues are conflated in the UEFI spec.

Re:MSI's (In)Secure Boot by somat on Tuesday January 17, 2023 @06:44AM (#34411395)
The fundamental problem is that someone somewhere decided that setting up signing keys was too hard, and that because of this the manufacturer should be in charge of setting up the keys. so now instead of you owning your hardware and setting up the keys on first boot, Microsoft owns your hardware and the keys are theirs. And in a case of self fulfilling prophecy, because they decided that initializing and owning your own keys was not going to be a normal part of the user experience, it is now hard(almost impossible) to do.

If instead the decision had been made to have the user set up some keys and authorize the OS, the process would have to be streamlined and easy.

In conclusion, signing your operating system is too hard, unless you are in the happy path where your OS is signed by Microsoft it is far easier to just disable the infernal subsystem as it gets in the way.

Re:MSI's (In)Secure Boot by Foxboron on Tuesday January 17, 2023 @06:55AM (#34411461)
> And in a case of self fulfilling prophecy, because they decided that initializing and owning your own keys was not going to be a normal part of the user experience, it is now hard(almost impossible) to do.

This is false.

The issue is that nobody has written user-friendly tooling to manage keys and sign stuff. Not that actually implementing this is hard.

https://github.com/Foxboron/sbctl

Re:MSI's (In)Secure Boot by somat on Tuesday January 17, 2023 @07:32AM (#34411703)
Oh wow, very cool, now I am going to have to try and install my own keys again.