06:00 UTC Charta Aetatis Cyberpunk

Console For you Newsletter Pro Sign in Register
Aa · Display
Themes
Type size
Density
Hacker Culture · YouTux Channel · · 18:40 runtime

Only 2 Out of 100 Linux Distros Are Actually Secure By Default

In the wiki LinuxWhonix Also namedUbuntu, Qubes OS, NSA, Tails
Transcript 2971 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

There is a lie we tell ourselves every time we install Linux, and it is a lie so comfortable that almost nobody stops to question it. The lie is this, I left Windows, I installed Linux, >> [music] >> therefore I am now more secure. Full stop. End of reasoning. But security is not an operating system. It is a set of precise, verifiable, measurable technical decisions made or not made by whoever builds the distribution before you even download it. And most of the distributions we choose, those decisions were not made for us. They were left to us. And we, in the vast majority of cases, never make them.

Because nobody asks us explicitly during installation, and whatever is not asked almost always stays disabled. I already covered this from a structural angle in my video Linux is not secure, where I broke down the technical reasons behind it. Today I want to move from theory to the real world, from architecture to actual installations, to what gets handed to the user by default. I want to prove this to you with numbers, not opinions. And to do that, I first need to take you inside how the missing piece actually works. Because understanding how the defense functions is the only way to understand why its absence is a real problem, not a footnote in a manual.

Let's start from the baseline, discretionary access control, the thing everyone already knows. Unix permissions, read, write, execute, user, group, others. It is a model roughly 50 years old, and it has one simple structural flaw. Whoever owns the process decides who can access what. If an application runs with your user permissions, and that application gets compromised, the attacker automatically inherits everything you could do. Your browser does not need to read the SSH keys sitting in your home folder to function. But if someone compromises it through a vulnerability in a pure discretionary model, there is nothing at the operating system level stopping it from doing exactly that. Because technically, the process runs with your permissions, and your permissions include that file.

Mandatory access control exists specifically to close this structural gap. SELinux, originally developed by the National Security Agency, and later released as open source, works through labels. Every process, every file, every network socket receives a security context, and the kernel enforces rules that explicitly state which context may interact with which other context, regardless of ownership. Your browser, on a properly configured SELinux system, has a domain that simply does not include permission to read the context associated with SSH keys. Period. No matter what user permissions it is running under, the rule lives at a level above traditional Unix permissions, and it is the kernel itself that enforces it.

AppArmor reaches the same goal from a different direction. Instead of labeling every object on the system, it attaches profiles based on the executable's file path, explicitly listing what that program can read, write, execute, which system capabilities it can invoke. It is conceptually easier for a human to write and read compared to an SELinux policy, which is why projects like Ubuntu and openSUSE chose it. The trade-off is slightly lower granularity, but it remains a massive jump in category compared to having no mandatory access control active at all. That is why my starting question is not ideological. It is technical. How many distributions, among the ones millions of people install every day, actually enforce this second layer of control from the very first boot, without the user ever needing to know it exists, let alone configure it?

Before answering with numbers, though, we need to look at who takes this task seriously all the way to its extreme conclusions. Because understanding why they work gives us the yardstick to judge everything else. Qubes does not try to make one system secure. It breaks it apart. Every area of your digital life, work, banking, personal email, anonymous browsing, lives inside a separate Zen virtual machine with its own context isolated at the hypervisor level, not the application level. If one of them gets compromised, the others do not even know it happened because they share no memory, no file system, nothing at all except what you explicitly choose to share through controlled channels.

This is not hardening bolted onto an existing system. It is isolation as a non-negotiable architectural principle from the very first design sketch. Whonix applies the same logic to networking. It runs as two virtual machines, one called workstation, the other gateway, and every single packet leaving the workstation is forced through Tor on the gateway. No exceptions. No shortcuts that could be misconfigured by accident. Even if someone fully compromises the workstation, they cannot discover your real address because the only road that machine knows leading out is already encrypted and anonymized upstream. Network isolation does not depend on a setting the user could accidentally switch off. Tails flips the problem entirely.

Instead of preventing compromise, it makes compromise irrelevant over time. Total amnesia on every reboot. Nothing persists unless you explicitly and consciously choose to keep it encrypted in a separate persistent volume. The threat model is no longer preventing something from going wrong in that session. It is guaranteeing that whatever goes wrong disappears completely the moment you power off. Three different philosophies, one shared trait. Security in these projects is not an extra the user switches on after reading a wiki. It is the reason the project exists, the first requirement every architectural diagram started from. That is why it would be unfair and honestly a bit lazy, to put these distributions in the same comparison as the general-purpose ones I'm using as data today.

It would be like judging a refrigerator by how well it cools, and then being surprised a bookshelf does not cool anything. I exclude them from the comparison for the exact same reason I exclude Kali and Parrot, which are specialized, but in the opposite direction, offense rather than defense, tools built to attack someone else's system, not to protect the person using it as a daily environment. Take those away, what is left? What is left are the distributions that millions of ordinary people install every day, believing in good faith that choosing Linux over another operating system already made them safer. And here I wanted to be rigorous, not impressionistic. I pulled the real top 100 ranking by user interest and checked, lineage by lineage, three things.

First, does mandatory access control, the kind I just explained, run in enforcing mode from first boot, not something you install and configure afterward? Second, is a firewall active by default? Third, what concrete guarantees exist about the integrity of the chain that carries packages from source code to your disk? The result is sharper and more embarrassing than I expected when I started this research. Across the entire top 100, I found exactly two lineages that meet the first criterion in a genuinely non-negotiable way, from first boot. I use the word lineage on purpose, because these are not nine or 10 independent choices made by as many separate teams. They are two original architectural decisions that then propagate automatically down through every descendant, without each one needing to reinvent it.

The first lineage begins with Fedora, which runs SELinux in enforcing mode from the very first minute after installation, not as a checkbox during setup, simply as the default immutable state of the system with firewalled already active and configured. That single architectural decision propagates automatically through the entire family tree, Bazzite, which adds on top of it a fully immutable file system built on Fedora Atomic, likely making it the strongest defensive configuration in the entire top 100 among general-purpose distributions, because it combines SELinux enforcing with a base system that simply cannot be altered by a compromised process without going through an explicit, verified, atomic update mechanism. Then Nobara, built for gaming but still inheriting that same enforcing baseline, and the entire enterprise constellation, Red Hat itself, CentOS, Rocky, AlmaLinux, all the way to Ultramarine and Aurora.

Nine separate entries in the ranking, one single originating decision behind all of them. The second lineage is openSUSE with AppArmor enforcing and a firewall active by default. In this case, without as extensive a family tree inside the top 100, but with the same underlying principle, protection is not an optional module. It is the system's starting condition. Everything else in this list gets long in a way that should genuinely make us pause, meets neither of the two fundamental criteria. Debian, the base of half the Linux ecosystem, no mandatory access control active, no firewall preconfigured. Ubuntu applies AppArmor only to a partial selection of applications, not as a system-wide posture, and its most serious problem is structural. Anyone can publish a PPA, and the average user adds one by copying and pasting from a forum with no practical way to verify who is actually behind that repository or what the build script really contains.

Arch, and by Arch I mean its entire enormous constellation, Endeavour OS, Manjaro, Garuda, omar-key, CachyOS, which today is literally the most visited distribution of all according to the same data I'm using here. None of these run mandatory access control by default and all of them inherit the AUR, a repository built entirely by the community, not systematically reviewed by any central authority before publication. This is not theory. It has actually happened. Packages with malicious build scripts have been uploaded to the AUR and downloaded thousands of times before anyone noticed and had them removed. The trust mechanism there is almost entirely social, not technical. It depends on someone eventually actually reading the code.

Void, Gentoo, Slackware, Devuan, Alpine, KDE Neon, elementary, Solus, Deepin, Mint, MX, Zorin, Pop!_OS, zero.

None of these treat security as a non-negotiable default state from first boot. Let's sit with that number for a second because it deserves real weight. Two lineages out of 100 positions, not two isolated distributions by coincidence, two foundational philosophies that propagate down an entire family tree against a massive body of projects where active security is, at best, a wiki chapter almost nobody reads until after they have already had a problem. It is worth stepping outside the top 100 for a moment here to mention two projects that, while remaining niche in terms of visibility, prove this is not some unreachable technical Utopia. Kicksecure, built on top of Debian by the same team behind Qubes OS, applies kernel hardening configurations recommended by the kernel self-protection project, isolates accounts, systematically reduces the attack surface while still being designed for daily use, not only for anonymous sessions.

Secure Blue, built on top of Fedora Atomic's immutable images, adds the hardened memory allocator originally developed for GrapheneOS, extended even to Flatpak applications. Neither one is in the top 100 by popularity, but their mere existence proves something simple. The tools to do better already exist. They are documented. They are even relatively straightforward to integrate. The majority of the most popular projects have simply chosen, implicitly or explicitly, not [music] to. And this brings us to the third criterion I promised you, supply chain integrity. Because mandatory access control protects the system while it is running, but it tells you nothing about what was actually inside the package you installed yesterday.

In the spring of 2024, a volunteer maintainer noticed, almost by chance, an unusual slowdown in an SSH connection on a Debian unstable system. He investigated and found a backdoor deliberately inserted into the compression library a library so common, so invisible, so taken for granted that millions of servers worldwide loaded it every day without anyone ever questioning it. The attacker had spent over 2 years earning the project's trust, becoming a co-maintainer before inserting the malicious code in a way sophisticated enough to slip past human review. It was caught over something almost trivial, half a second of extra latency on an SSH login, not by any automated security system.

That episode permanently changed how the Linux world talks about package reproducibility. Because reproducibility answers exactly this kind of threat. If anyone, anywhere in the world, can recompile the same source code and get a binary that is bit-for-bit identical to the one the project officially distributes, then an attacker can no longer hide malicious code inside the build step without the discrepancy surfacing publicly, verifiable by anyone. And it is on exactly this front that some news arrived while I was preparing this video, worth telling in full. On the 10th of May of this year, Debian's release team announced that the migration software now automatically and non-negotiably blocks any package that is not bit-for-bit reproducible from entering the testing branch.

This is no longer an informational check on a dashboard nobody looks at. It is a technical gate that physically closes and prevents the package from moving forward. Debian 14, code named Forky, will be the first major general-purpose distribution to make supply chain reproducibility a blocking requirement, not an aspiration written somewhere in the documentation. Fedora, meanwhile, has reworked its build infrastructure to reach nearly 90% reproducible packages with a stated goal of surpassing 99% in upcoming release cycles. This is proof that when a project decides something is truly non-negotiable, it finds a concrete technical way to enforce it, even across a base of tens of thousands of packages maintained by thousands of different people scattered around the world with no central authority able to simply impose it from above.

Now, before someone in the comments angrily brings up Gentoo or Slackware as a counter example, let's pause and understand why these two, the oldest distributions on this list, are also among the most powerful in terms of the absolute control they hand to the administrator. Gentoo's use flags let you decide literally what goes in and out of every single package compiled on your machine, line by line, option by option. Slackware hides nothing behind automation. Whatever runs on your system, you put there yourself consciously. For 20 years, this was the absolute ideal because whoever made it that far, whoever chose Linux in the early 2000s, was by definition an experienced user, a system administrator, a programmer, someone who knew exactly what they were doing before even pressing enter on the first installation command.

The model of here are the tools, the rest is on you, worked [music] because the barrier to entry itself filtered who showed up to install it. Complexity was a natural filter for competence. That world is gone, and anyone who denies it is simply ignoring the adoption numbers of the last 5 years. Linux today reaches people leaving Windows tired of telemetry, people who find it pre-installed on a budget laptop, people who install it because a 30-minute video made the process look simple, almost trivial. And that is a victory, not a problem. It is exactly what many of us have worked toward for years, the democratization of a free operating system. The problem is that the technical infrastructure underneath has not evolved at the same speed as the user base running on top of it.

We keep handing systems conceptually designed for expert administrators to people who reasonably expect the system to protect them by default, the same way anyone expects a brand new phone to protect them the moment it comes out of the box without first reading a 300-page manual.

What is missing across almost the entire rest of the ecosystem I analyzed today is not the technology. SELinux has existed for over 20 years. AppArmor almost as long. Firewalls have been around since before Linux existed as a project. Package reproducibility has been established theory for over a decade with public documented free tools. What is genuinely, measurably missing is the will to treat these tools as a non-negotiable minimum instead of an advanced feature reserved for people who already know what to look for and where to find it. What personally shocks me is that after all of this, after the constant stream of CVEs, after a case like XZ, which should have been a wake-up call for the entire ecosystem, still almost nobody treats this as an urgent problem to be solved collectively.

The AUR in particular keeps getting treated as a minor detail instead of the structural risk that the facts I've just shown you prove it actually is. So, no.

I do not have data to tell you that 300 out of 300 distributions completely ignore security. That would be imprecise and dishonest. I have precise data to tell you something more unsettling and harder to wave away in a comment section. Out of 100 distributions that millions of people choose every day, only two foundational philosophies decided that baseline security is not negotiable from first boot. All the others keep asking an increasingly less technical user to do alone after installation at some unspecified point in the future that almost never actually arrives, work that in 2026 should already be done for everyone from the very first minute after pressing the power button.

The era when security was an exercise reserved for a handful of enlightened people who configured everything themselves line by line is over. And it is over because Linux won the most important battle of its history, mass adoption. Now, it has to win another one, less visible but just as decisive, the battle of responsibility toward the people who come after us, who do not yet know what an SELinux domain is, and who should never be forced to find out just to stay safe. See you in the next video, and may Linux be with you.

Related videos

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

The freshest blend of security news delivered to you. Text and HTML, one-click unsubscribe. Free.

How often
Your desks