Most secure & private desktop OS for daily usage

Hi,
My question is whats is the best desktop os in case of security & privacy. I am using now Fedora Workstation and thinking about migration to Secureblue. I read on various websites like https://madaidans-insecurities.github.io/ that linux generally is not recommended as its less secure than windows/macOS. I have some experience about setting up OS so learning curve is not that important, but I’m not thinking QubesOS will be good for daily usage. My threat model is pretty basic average guy who plays games via steam sometimes. What you think should I just go back to win11 and hardend it?

Fedora is good enough for average user, I’d stay with it

MacOS, Fedora, or SecureBlue, depending on what tradeoffs you want to make. Ubuntu is also a contender if you want to minimize time spent in settings.

I currently use MacOS with homebrew and no apple ID. If I ran linux, I would in fact run a less secure desktop, mainly due to the micromanagement required on linux. With Linux I’d rather just run fedora and trust the package managers, which I find an acceptable level of risk. If you aren’t being directly targeted, like a CEO or diplomat, the main risk in linux besides phishing will be installing malware or running some terminal code you don’t understand.

My threat model is pretty basic average guy who plays games via steam sometimes.

You can use Windows in VMware fusion for games potentially, though linux support with steam has improved a lot.

I’m going to go out on a limb here and suggest that privacy and security start with securing your network: understand the risks from and control the software (malicious javascript, typically) that’s endlessly pouring into your hardware thanks to your web browser (and slow the endless data exfiltration that’s accepted by the masses who don’t remember an earlier time), run a filtering DNS and go crazy with the block lists, use a hardware firewall like pfsense at the edge and a software firewall on your hardware to gain visibility and control over network connections, and run the absolute minimum software as a rule. I use an ipad without an apple account, and boy it sure tries to make a lot of connections to a lot of apple servers “for reasons” even tho i use none of their cloud - i’d prefer that apple (and microsoft, etc) don’t even know i exist, much less receive endless telemetry (or worse) from my network, so i treat my hardware as my hardware and strictly control what it’s allowed to do, the connections it’s allowed to make, the software allowed to execute, etc…don’t mind me i’m grumpy there’s no tinfoil emoji…

I’ll sidestep the “windows and macos are private and secure” bait tho, good luck with that :melting_face:

I’ve been pretty impressed with the permissions management on the latest versions of MacOS. You can manage aspects like which programs may screen share, which programs can get full or partial access disk access (meaning no full disk access for terminal if you don’t use it), etc in the main settings menu. If something needs access, you get a popup and can enable it with fingerprint or password.

This is possible in Linux with flatpak and SELinux, but it’s a helluva a lot more work to do this for every single program. There are also some vulnerabilties like username space in linux that SecureBlue tries to minimize, but since linux isn’t designed to be used like that it can create a lot of difficulties. MacOS is more of a cohesive whole where you can have these features without impacting usability or requiring a lot of time.

This, of course, says nothing about privacy, closed versus open source, or the implications of supporting apple financially. With no apple ID, more private than windows or chromeos for sure though.

I want to push people toward linux, but I don’t feel comfortable doing that with everyone given the current state of Macos and linux. If OP is successful with fedora and has no threat of targeted attacks, I don’t think they need to panic, buy a new PC, and switch to macos though.

How do you do this exactly? Just a published apple domain block list maintained on GH?

my weapon of choice: firewall rules blocking (along many other things) popular public DNS and corp ip blocks, with pihole providing name resolution blocking as the second layer of defense. if you want something quicker to implement, nextdns (not a personal recommendation) offers corp blocks like no google, no apple, etc…but know than when stymied, corp software usually tries to bypass your dns as a first troubleshooting step.

Amazon and google are somewhat worse from a “pile of domain names” standpoint, this alone covers a large portion of apple:

*.cdn-apple.com

*.aaplimg.com

*.icloud-content.com

*.icloud.com

*.apple.com

*.safebrowsing.apple

*.apple-dns.net

*.apple-relay.cloudflare.com

Separate out your gaming stuff to another OS partition or device? Games can still be 32-bit and often require xwayland. Games are also rarely open source so who knows what else they’re doing.

Might be a good opportunity to try out dedicated gaming distros like Bazzite and CachyOS.

There are pros and cons to Linux vs Windows, but for most people Linux (specifically recommended distros) is the better choice if you care about privacy.

Awesome, thanks!
Does enforcing encrypted DNS solve corp software bypassing in your experience?

Just so I can learn from all of this: Does secureblue meet many of your hardening recommendations?

Dang… thanks.

Qubes OS is a must, but SecureBlue is a good option also if you want to keep user friendliness.

Well, I’ll say something that hasn’t been brought up yet.

Secureblue is already pretty secure, but there’s another aspect of the equation you need to consider: convenience. Security, privacy, and convenience are a delicate balance. If you use your computer for everything, like most of us do, things like gaming can sometimes introduce friction, whether you’re using Secureblue or even more secure systems.

Remember, at the end of the day, your hardware is a tool, and you need to use it, not fight it. What good is a locker that you can’t open?

If you happen to have read some good articles on this topic, I’d love it if you shared them. Folder access permissions on Mac are a nice thing, but they lead to some awkwardness. Like right now I use 3 terminal apps:

  1. the main terminal with restricted access to some folders
  2. the “secure” terminal with slightly wider access
  3. the AI terminal with a very restricted policy

And besides the terminal situation, there are other cases where benefiting from macOS security features seems to require this kind of weird gymnastics. Gymnastics that likely only make everyday life less convenient without necessarily stopping anything truly bad if malware already has access to the machine.

The visible policies in settings can also be quite misleading:

So if there’s something worth reading on this, I’d love to hear about it

Honestly, I would stick with Fedora or try Secureblue rather than switching back to Windows just because of those security comparisons. Windows has its own attack surface and privacy trade offs, so its not automatically the better choice. Secureblue is worth considering if you want stronger security defaults without giving up a normal desktop experience. Since you also play Steam games, check compatibility with your usual games and anti-cheat systems before migrating. For an average user, keeping the system updated, using a browser with strong security protections, and avoiding untrusted software will make a big difference regardless of which OS you choose. :kissing_face_with_closed_eyes:

Second that. Steam Deck or any other handheld PC with Bazzite is a decent, flexible alternative.

This probably isn’t what you’re looking for, but I’d personally recommend using QEMU/KVM with graphical accelleration. Modern QEMU can feel really close to native if you add <gl enable='yes'/> and <acceleration accel3d='yes'/> to graphics and video respectively (or whatever the GUI settings would be).

I like to have a pretty basic DE or even a tiling window manager like Niri or Sway with 3-4 different VMs running for different tasks (work, programming, browsing, etc). It allows you to have VPNs for some but not for others and really good separation between your different activities (plus some safety if a malicious command get run or you get hit by one of the many supply chain attacks happening nowadays). Fedora is quite good for the VMs since it tends to have all of the spice copy-paste/screen-resizing built in, and I use Fedora for the host as well since the packages are up-to-date. If you only have 16GB of RAM then you can usually still get 2 VMs running. 3 if you have zram + swap set-up well and are keeping the host pretty bare.

if by enforcing you mean: block everything, and only allow specific traffic routes. then yes.

oh no here i go encryption for dns traffic is silly unless you’re using a really good vpn setup or you want to hide outgoing dns lookups amongst other 443 traffic (deny all outgoing is the foundation upon which security is built, then white list legitimate, desired, and useful routes, ports, & protocols.) :cold_face:

for firewalls - openwrt makes inroads every day on pfsense, from a ui standpoint; between the two they cover a lot of hardware.

Sounds like you are reinventing Qubes OS, just with less security and worse usability.