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

You're viewing a single thread.

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.

    • Secureboot is meant to help protect you against the evil maid attack. IE someone with physical access to your computer can compromise your boot loader with a keylogger that can capture your encryption password so that when they return they can gain access to your computer as they now know your password. Though the vast majority of people just don't need to worry about that level of attack so I have never really bothered with secureboot.

      • The thing is... If someone has access to your system enough to replace your bootloader, they could probably just slip a USB keylogger between your keyboard and computer. Or set up a small hidden camera. Or plug all your devices into a raspberry pi to spoof the login screen.

        It strikes me as odd that people assume that an attacker with a few hours physical access is going to bother going down the "change the bootloader" route when there are other, easier routes available.

        Ironically, the only practical use case I can see for Secure Boot is when you have a dual boot setup where you don't trust one of the OSes. Which I'm betting wasn't Microsoft's intention at all.

        • Just because they can do X doesn't mean you shouldn't protect against Y.

          Just as an example scenario, say border guards took my laptop out of my eyesight. A camera or USB keylogger won't do anything in that case. Hijacking my bootloader though potentially gives them access to my machine without me having any clue.

          Secure Boot is useful and worth setting up. But everyone has to decide their own level of comfort when it comes to security.

          • You need to correctly set it up tho. ie. remove all default keys because some were discovered ages ago anyway.

          • They could open up the laptop to insert a small device that reads the usb header. Or just replace the guts of the laptop with something else. Or replace one of the usb leads in your bag with one with a tracker. Or sell a usb-c cable with a tracker for cheap in the gift shop.

            There's a bunch of other ways to compromise your system and some might be easier than putting a backdoored bootloader on your device.

            Also, if it's the TSA, they could almost certainly create a bootloader that was signed by Microsoft to replace any existing one.

        • Basically xkcd 538 as always.

        • No point in putting locks on your house, because an attacker can just drive their car through your front door.

          The attacks you mention have their own ways of being detected: usually eyeballs. But eyeballs can't help you against something hiding in your bootloader. So Secure Boot was made.

          And I don't really follow your dual boot claim. If you don't trust one of the OSes, and you boot it up on your hw, you're already hosed. At that point it can backdoor your bootloader and compromise your other OS. Secure Boot prevents malicious OSes from being booted, it can't help you if you willingly boot a malicious OS.

          • Okay, so my original post I think I was thinking of TPM rather than Secure Boot. TPM would protect against a hostile OS, I think. I think most of my greviences mentioned above are to do with TPM rather than Secure Boot. But they still apply to either.

            There are ways to put keyloggers in devices stealthily to where they're not perceptible to a normal person. For example, they could replace one of the USB leads in your bag with one that transmits keystrokes over bluetooth. If you're at home, a maid could just plug a keylogger behind your desktop because most people don't check behind their system when they boot it.

            It all feels like a wierd threat model to me. You can either assume that physical access is or isn't covered by it. If you are worried about physical access (beyond your device being stolen), there is a lot more you need to do to secure it. "It's better than nothing" isn't really that convincing to me with regards security models; either you're protected or you aren't.

You've viewed 32 comments.