Don’t Give Me Another “Secure” Linux Distro
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
mission for this channel. I have always been fascinated by projects trying to challenge one of the fundamental problems of our ecosystem, trust. I have studied reproducible packages. I have followed distributions built around security hardening and compartmentalization. Because many of the fundamental problems [music] of Linux and partly of Unix itself are already known. The traditional Unix model is built around users, groups, [music] permissions, ownership, and a super user that can essentially do almost anything. That model was extraordinarily successful. But by itself, it is no longer enough. A Unix machine in the 70s did not have a browser containing millions of lines of code executing JavaScript from the other side of the planet. It did not have electron applications, containers, modern GPUs, Bluetooth, web assembly, browser extensions, proprietary software constantly connected to the internet.
Today, it is not enough to ask, can this user read this file? We have to ask if this application is compromised, what can it see, what can it modify, can it access my home directory, my SSH keys, my microphone, the [music] network, and how far can an attacker go before another part of the system stops them. This is defense in depth not one technology layers firewall C Linux or app armor sandboxing namespaces second kernel hardening memory protection supply chain security [music] reproducible builds secure boot roll back application compartmentalization. A distribution does not become secure simply because it enables a firewall by default. That is like building a fortress putting one tower at the entrance and declaring it impregnable.
Wonderful. But where is the moat? Where are the walls? And most importantly, what happens when somebody gets inside? Security has to exist throughout the system. In the kernel, in packages, in the build process, in updates, in applications, [music] in networking, in privileges, in recovery. And there is another requirement that I think is constantly underestimated. All of this has to be usable. Not after reading 40 pages of the Arch wiki. Not after spending three days writing Selinx policies. It should be there by default, ideally one click away. [music] And this is where we arrive at a strange problem. Today it is very difficult to point to one readyto-use generalpurpose Linux desktop that puts all these pieces together.
There are however some fascinating projects. One of the best examples is secure blue. Secure blue builds on Fedora atomic and applies a very serious hardening model. C Linux hardened Malik Prace restrictions, reduced [music] SUID attack surface, kernel restrictions, USB guard, secure DNS, stricter application policies, sandboxing. This is serious technical work. [music] And yet projects like this remain almost invisible compared with distributions doing considerably less. Why? Why do security oriented distributions so rarely become mainstream? The answer is actually very simple. Because before security, users want one thing. The computer has to work. I have not discovered a new law of physics here. [music] Linux in 1999 is over. And I'm not saying that sarcastically. I would happily go back to Linux in 1999.
But users today have different expectations. They want Steam, Bluetooth [music] headphones, Nvidia, Netflix, their printer, their controller, their work applications, their laptop to wake up properly from sleep. They want to click something [music] and have it work. And every security mechanism that constantly breaks those expectations has a cost. This is in my opinion the fundamental mistake of many secure distributions. [music] They begin with the question, how do we make Linux as secure as possible? Perhaps the better question is how do we build an excellent desktop operating system that also happens to be extremely difficult to compromise? That sounds like a subtle difference. It is not. It changes the entire design philosophy. A secure distribution should not only be secure, it should be [music] fast, efficient, stable, understandable.
You should be able to game on it, run KDE, XFCE, a window manager, install software without fighting the operating system. Security cannot simply mean removing features until the computer becomes useless. That is easy. Turn the
computer off, disconnect it from the internet, put it inside a safe. Congratulations. We have created the most secure computer in the world. The interesting problem is building a machine people actually want to use while assuming that something eventually will be compromised. That is security engineering. And I think Linux already has almost every technology necessary to do it. The problem [music] is integration. So what would such a system actually need? I would divide it into eight layers. The first is trust. Before worrying about what software does when it runs, we should ask where that software came from. You download an ISO. It contains thousands of binaries compiled by somebody else on machines you have never seen. Then your system continuously downloads more binaries through updates.
Why should you trust them? HTTPS is not enough. A cryptographic signature is important, but a signature tells you that somebody possessing a particular key signed an artifact. It does not automatically prove that the binary corresponds to the published source code. This is where reproducible builds [music] become interesting. If independent systems take the same source, the same inputs, and the same build instructions, and produce the same binary, we gain something incredibly important. Verifiability. A secure distribution should not simply say trust us. It should try to say you don't have to verify us. The second layer is the build. Even when the source code is turned that source into machine code matters.
Stack protectors fortify source PI railroad LTO control flow protections where appropriate. Compiler and linker configuration. Two distributions can compile exactly the same program and produce binaries with different hardening characteristics. Same program, same vulnerability, not necessarily the same exploitability. Fast security updates are essential, but so is making unknown vulnerabilities harder to exploit in the first place. The third layer is the kernel. The kernel controls memory, processes, drivers, file systems, networking, hardware. So security is not only about using a recent kernel. Configuration matters. Do we need every module, every legacy interface, every feature enabled by default? [music] What can an unprivileged process access? What can we disable without destroying functionality? [music] And this immediately demonstrates why security engineering is about tradeoffs. Take user name spaces. They create additional kernel attack surface. But technologies such as chromium sandboxing, bubble wrap, and flatpack also use them for isolation. Disable everything blindly and you may remove one risk while weakening another defense. Security is not a checklist. The fourth layer is privileges. Unix traditionally gives root enormous authority. Linux has gradually divided some of that power through capabilities, namespaces, LSMS and other mechanisms. But we should still ask which programs really need root, [music] which binaries need sued, which services need privileged capabilities. Every privilege we grant without necessity increases the damage a compromised component may be able to cause. The fifth layer is probably the most important, compartmentalization.
Imagine that your browser gets compromised tomorrow. [music] Do not ask how do we make browser vulnerabilities impossible. We cannot ask instead what happens 5 seconds after the compromise. This is where cubes OS becomes fascinating. Cubes assumes software can fail and separates activities into isolated domains using Zen [music] virtualization. Work, personal, banking,
untrusted browsing. If one environment is compromised, the architecture is designed to prevent that compromise from automatically spreading everywhere else. The browser can fall. [music] The fortress should remain standing. Technically, this is brilliant, but there is a cost. Memory, CPU, compatible hardware, different workflows, [music] more complexity, and once again, we hit the central problem, security versus usability. The sixth layer is applications. We cannot necessarily run every application inside a complete virtual [music] machine. So Linux gives us lighter mechanisms. C Linux, App Armor, Secmpaces, Landlock, Bubble Wrap, Flatpack, Portals. Ideally, an application should begin with access to almost nothing and receive only what it actually needs. A PDF reader should not need my SSH keys.
A game should not need my work documents. A calculator should probably not need the network. and saying flatpack does not automatically solve this. A sandbox is only as useful as its permissions. Give an application broad file system access [music] and suddenly your impressive sandbox becomes considerably less impressive. Again, the technology matters. The configuration matters just as much. The seventh layer is updates and recovery. Security does not only mean preventing compromise. It also means knowing what changed and being able to recover. This is where Geeks becomes extremely interesting. Geeks uses a functional declarative package management model. Changes create generations. You can inspect them, switch between them, roll [music] back, reproduce configurations.
At the same time, GES has pushed extremely hard on reproducibility and reducing blind trust in software distribution. Now combine ideas like these with file system snapshots, transactional changes, a clear system history, and the ability to boot into a previous state. Suddenly, yesterday everything worked, what changed becomes an answerable question. Recovery becomes part of the architecture rather than something you improvise after disaster. And the eighth layer is the user, not in the stupid sense of saying [music] users are the weakest link. If ordinary users need to understand seal links contexts profiles, NF tables, namespaces, capabilities, TPM measurements and cryptographic signing simply to use their laptop. We have failed. We have not solved complexity. We have transferred it to the user. Good security means the safe choice is also the [music] easiest choice.
The correct default and understandable interface. And this brings us to the interesting part. Look at everything we have just discussed. The technologies already exist, but they are scattered. Cubes pushes compartmentalization extremely far. Secure Blue pushes desktop hardening extremely far. Kicksecure explores hardened by default computing from another direction. GUIX pushes declarative [music] state, reproducibility, roll back, and supply chain verification. Different projects are solving different pieces of the same enormous puzzle. Linux does not have a technology problem. [music] Linux has an integration problem. We have built the pieces of the fortress in different cities. The mode [music] is here. The walls are somewhere else. The watchtowers belong to another project.
The armory [music] is reproducible. And somebody else built a gate capable of returning to yesterday's state. [music] But nobody has assembled the entire fortress. And no, I am not saying we should pub Secure Blue, Kicksecure, and Gwixs into a blender. Some of these models are fundamentally different. [music] Some make opposite tradeoffs. Huh? I'm talking about principles. Could we build a normal desktop distribution? KDE, XFC, Window manager, Steam, Nvidia, Bluetooth printing, flat pack, normal applications, everything people expect in 2026. But underneath it, verifiable
packages, [music] reproducible builds, compiler hardening, a hardened kernel, mandatory access control, application sandboxing, minimal privileges, transactional updates, roll back, [music] snapshot, secure networking, a reduced attack surface, and graphical tools [music] that make those protections understandable to ordinary people. That is the distribution I'm interested in, not a secure distro. A great general purpose distribution where security is simply part of the architecture. Think about cars. Nobody says this is the car for people who want brakes. The brakes are expected to be there. They are expected to be excellent. They are not the purpose of the car. They are a necessary property of the car. Security should become the same thing. And perhaps that is precisely the Linux distribution that is still missing.
Which brings me back to my Linux versus Linux video. Imagine that tomorrow morning somewhere some little brain wakes up and decides fine, let's [music] build it. Optimized, easy to use, gaming ready, normal hardware support, [music] but also reproducible, verifiable, hardened, compartmentalized, recoverable, secure by default. Do you genuinely believe that project would automatically receive the attention it deserved? Do you think technical merit would be enough? I am not so sure anymore. We have hundreds of Linux distributions, 500, 600. Who cares
about the exact number? Because despite having hundreds of them, there are still major technical problems that almost nobody completely solves. So when somebody tells me we don't need another Linux distribution, my answer is it depends. Do we need another Ubuntu derivative with a different wallpaper and GTK theme? Probably not. But do we [music] need a distribution exploring an architecture that does not currently exist? Absolutely. The number of distributions is irrelevant. What matters is whether a project has something to say, whether it solves a problem, whether it explores an idea, whether it combines things nobody combined before. And we need an ecosystem capable of recognizing that [music] because building something is only half of the problem. The other half is allowing people to discover it. Not judging an entire project through a Reddit post written after 10 minutes.
Not reducing every conversation to why don't you just use Arch. Not installing an ISO inside a virtual machine for 15 minutes. looking at the wallpaper, opening Neoetch and deciding whether the distribution [music] is good and not confusing popularity with technical merit. Because when rankings, algorithms, SEO, [music] community habits, existing visibility, and bandwagon effects combine, something happens. You think you are looking at the Linux ecosystem, but you are actually looking at a [music] filtered version of it. you see the projects that successfully pass through that visibility mechanism and that does not necessarily mean you are seeing the best projects. Meanwhile, somebody can enable a firewall, add two privacy toggles, write the word secure on a website and suddenly be presented as a security focused operating system. No threat model, no serious supply chain work, no meaningful compartmentalization, no recovery strategy, no particular build hardening, no coherent security architecture. While technically fascinating projects can remain almost invisible. Yes, open your eyes. Look beyond the rankings. Look beyond the names you already know. Look beyond Reddit. Look beyond YouTube. Look under the hood. Read. Compare. Ask what problem a project is actually trying to solve. Because the next modern, fast, genuinely secure Linux system may not come from one of the big names. It may not be in the top 10. It may not be in the top 100. It may not have a Wikipedia page. [music] Your favorite YouTuber may never have reviewed it. It may simply come from some unknown little brain somewhere that decided [music] it was finally time to put the pieces of the fortress together.
See you in the next video [music] and may the new Linux modern, verifiable and secure be with you one day or another.





