this post was submitted on 27 Aug 2024
3 points (100.0% liked)

Linux

47772 readers
1245 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

all 19 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 month ago

I consider bootloader attacks a very low-probability threat, and quite honestly I don't trust the average board vendor to produce anything that's actually secure anyway. If I were in the habit of carrying a laptop back and forth across international borders I might feel differently, but for a desktop stuck in a room in Canada that hardly anyone enters when I'm not present, Secure Boot is a major hassle in return for a small security gain. So I just don't bother.

[–] [email protected] 0 points 1 month ago (1 children)

You have to turn off Secure Boot to enable hibernation, and I value hibernation enough to do so.

[–] [email protected] 0 points 1 month ago (2 children)

This is patently false. Secure boot and hibernation are not mutually exclusive.

[–] [email protected] 0 points 1 month ago (1 children)

While I believe you, I haven't been able to enable hibernation with it on.

[–] [email protected] 0 points 1 month ago* (last edited 1 month ago) (1 children)

It's a kernel build config. Debian for one ships with support disabled due to security concerns.

[–] [email protected] 1 points 1 month ago

So I'd have to rebuild the kernel, not just provide a kernel argument? That's definitely not a step I'm ready for.

[–] [email protected] 0 points 1 month ago (1 children)

Not mutually exclusive, but it's highly probable that if you're running a mainstream distro, the default kernel is in lockdown mode, preventing hibernation while secure boot is enabled.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

[This comment has been deleted by an automated system]

[–] [email protected] 0 points 1 month ago (1 children)

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.

[–] [email protected] 0 points 1 month ago (1 children)

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.

[–] [email protected] 1 points 1 month ago (2 children)

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.

[–] [email protected] -1 points 1 month ago

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.

[–] [email protected] -1 points 1 month ago* (last edited 1 month ago)

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.

[–] [email protected] 0 points 1 month ago (1 children)

At the point where the feds are paying Israelis millions to break your boot shit, they're paying dudes to watch you type in your password or any number of other things. I'd argue as long as you're not among the [number of prey] the predators are looking to take down at the back, for whatever category of shit you're in, you're fine

[–] [email protected] 0 points 1 month ago (1 children)
[–] [email protected] -1 points 1 month ago
[–] [email protected] -1 points 1 month ago

Just use disk encryption and be done

[–] [email protected] -1 points 1 month ago

Now I'm not very smart, but I see no purpose of it, so I just turn it off so it doesn't fuck with my ability to boot.