42
Linux Hardening Guide / Linux is Insecure (madaidans-insecurities.github.io)

Writeup from 2022 that I assume is mostly still valid. TLDR:

  1. Mainstream Linux is less secure than macOS, Windows, and ChromeOS. (Elsewhere: "[iOS/Android] were designed with security as a foundational component. They were built with sandboxing, verified boot, modern exploit mitigations and more from the start. As such, they are far more locked down than other platforms and significantly more resistant to attacks.")
  2. Move as much activity outside the core maximum privilege OS as possible.
  3. OP doesn't mention immutable OS, but I assume they help a lot.
  4. Create a threat model and use it to guide your time and money investments in secure computing.

Once you have hardened the system as much as you can, you should follow good privacy and security practices:

  1. Disable or remove things you don't need to minimise attack surface.
  2. Stay updated. Configure a cron job or init script to update your system daily.
  3. Don't leak any information about you or your system, no matter how minor it may seem.
  4. Follow general security and privacy advice.
you are viewing a single comment's thread
view the rest of the comments
[-] non_burglar@lemmy.world 8 points 1 day ago* (last edited 1 day ago)

Fair enough. I guess I didn't distill my comment before writing it down.

The problem I see with op's "Linux isn't secure" comment (without getting all territorial about it) is that the solution touted by Qubes is already a solution in wide use in several Linux distros, meaning the compartmentalization of apps in constrained environments is already a mechanic used in flatpack, snap, even docker.

The fact that Qubes is a secure approach should be the focus, not the "our potassium is superior to all other countries" vibe from this post.

[-] Neptr 2 points 1 day ago

Understandable. Though the security difference between Flatpak and Xen VMs, or even between Flatpak and Snap, is pretty big. Flatpak is mostly sandboxed to provide a consistent run environment to apps across distros, and id say 50% or more of the Flathub apps seem to have weak default sandbox security settings. Snap does a better job security-wise of reducing sandbox escape potential, but is still a far cry away from the containerization of Qubes.

a solution in wide use in several Linux distros, meaning the compartmentalization of apps in constrained environments is already a mechanic used in flatpack, snap, even docker

Not a good argument. Several distros use it, but most mainstream distros are not focused on sandboxed apps. If you look up "should I use Snap on Ubuntu" the responses are around 80% no.

[-] non_burglar@lemmy.world 7 points 1 day ago

Sandboxing apps is great and all, but it it's not the entire picture of security.

this post was submitted on 22 Nov 2025
42 points (100.0% liked)

Linux

59735 readers
549 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 6 years ago
MODERATORS