Skip Navigation

How do you secure your bootloader without secure boot or why doesn't it matter?

I've made the effort to secure mine and am aware of how the trusted protection module works with keys, Fedora's Anaconda system, the shim, etc. I've seen where some here have mentioned they do not care or enable secure boot. Out of open minded curiosity for questioning my biases, I would like to know if there is anything I've overlooked or never heard of. Are you hashing and reflashing with a CH341/Rπ/etc, or is there some other strategy like super serious network isolation?

32 comments
  • I have my home folder encrypted and I enter my password on boot. I'm not really sure what benefits Secure Boot has in environments where you have to enter your password anyway. And in environments where you don't have to enter your password, someone could just steal your system anyway and boot it to get your data.

  • You can use measured boot as part of the firmware boot process, store a hash of the known good boot files on a trusted media and compare that.

    This is done with the Heads payload in Coreboot. But support is like only Thinkpads and now also soon Novacustom, Nitrokey and maybe System76 laptops.

    The thing is, then you know your kernel is safe, but what about the rest? Depending on the attack vector, a system like on Android with full immutability and a recovery that verified the whole OS root partition would be safer.

    But this means that you have no ability to customize, without breaking things.

  • Keep EFI bootloader off the computer (n+1 copies on a flash drive). Make /boot partition fully encrypted.

    Don't trust Secure Boot.

    If you can, try the coreboot.

    • Don't trust Secure Boot.

      That's the second best thing as long as you don't worry about nation state actors (you're fucked by then anyway). Only requirement is a board/laptop manufacturer with a proper uefi setup (eg ability to set your own keys, not using those "do not use" test keys, etc) - that usually comes with business machines.

32 comments