this post was submitted on 06 Dec 2023
346 points (96.3% liked)

Linux

48310 readers
645 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
you are viewing a single comment's thread
view the rest of the comments
[–] amju_wolf@pawb.social 22 points 11 months ago (2 children)

Because there really isn't one, lol.

By the time an attacker has a write access to your boot permission everything else is kinda fucked already.

[–] Bitrot@lemmy.sdf.org 19 points 11 months ago* (last edited 11 months ago) (1 children)

This is worse than many, since it persists across reinstalls and even potentially drive swaps, and fools systems such as secure boot.

[–] wmassingham@lemmy.world 3 points 11 months ago (1 children)

If it's only on the ESP, it won't persist across reinstalls, and definitely not drive swaps.

But I do see mentions of attacking via firmware capsule. If that works, then yes, that will persist.

[–] Bitrot@lemmy.sdf.org 3 points 11 months ago

ESP is usually not cleared on a reinstall unless somebody takes the extra step to do so. Since each OS has its own directory within the ESP their installers don't push it. I was mostly referring to modification in firmware though.

[–] Chewy7324@discuss.tchncs.de 5 points 11 months ago

Yes, an attacker with write access to boot already compromised the entire OS and data. Usually replacing the storage or reinstalling the OS would get rid of the attacker. But this exploit happens early in the boot process, before the OS even loads.

This means the only way to ensure a network remains uncompromised after an attack is physically destroying any infected devices or replacing their mainboard.

There are major benefits to this approach. One is that no executable code ever touches the hard drive, a technique known as fileless malware that hampers detection by antivirus and other types of endpoint protection software. Another benefit: Once the image is in place, it ensures a device remains infected even when an operating system is reinstalled or the main hard drive is replaced.