Live data from Hacker News

What is the most secure FOSS operating system with Internet access?

news.ycombinator.com

1–10 of 25 posts

What is the most secure FOSS operating system with Internet access?

#1
Random people say Arch Linux, OpenBSD or Qubes, but it is true that Arch Linux is secure to an extent if it is fully hardened, but not as secure as OpenBSD, so is OpenBSD secure? Qubes is a good approach to an OS, but it's Xen security, not OS security, and I'd rather run a secure OS other than Fedora or Debian on Qubes. And I've heard that Chrome OS/Chromium OS has the highest security of any Linux OS, but it's not more secure, it's just more limited. But that, like Qubes, goes back to the drawing board. So which OS is the most secure? Maybe Multics (better protection rings than Linux, OSX or Windows)? I use the most aggressive attackers as my threat model.

I have also heard that the Windows NT kernel design, although not FOSS, is better than Linux, BSD and OSX because it is based on OpenVMS knowledge.

Re: What is the most secure FOSS operating system with Internet access?

#3
Based on my research, I would suggest seL4 microKernel running on ARM-64 hardware with Genode built variant of Linux.

AFAIK seL4 is the only formally security verified kernel for specific hardware. See their website for verification status of different hardware configurations.

The closest widely used system is Apple OSX which in turn was evolved from CMU Mach. The critical aspect is keeping the smallest possible attack surface, which is why capability based message-passing microkernels are more resilient than monolithic kernels.

Re: What is the most secure FOSS operating system with Internet access?

#4

Based on my research, I would suggest seL4 microKernel running on ARM-64 hardware with Genode built variant of Linux. AFAIK seL4 is the only formally security verified kernel for specific hardware. See their website for verification status of different hardware configurations. The closest widely used system is Apple OSX which in turn was evolved from CMU Mach. The critical aspect is keeping the smallest possible atta…

OS X doesn't use that much from Mach and doesn't have particularly impressive security.

Re: What is the most secure FOSS operating system with Internet access?

#5
post #4

Based on my research, I would suggest seL4 microKernel running on ARM-64 hardware with Genode built variant of Linux. AFAIK seL4 is the only formally security verified kernel for specific hardware. See their website for verification status of different hardware configurations. The closest widely used system is Apple OSX which in turn was evolved from CMU Mach. The critical aspect is keeping the smallest possible atta…

OS X doesn't use that much from Mach and doesn't have particularly impressive security.

[deleted]

Re: What is the most secure FOSS operating system with Internet access?

#6
The safest OS is the one you don't run. In other words if you want a perfect OS then don't use a computer.

Now I'm guessing you want to use a computer, probably to run programs. So your choice of programs will limit your choice of OS.

For example, DOS is likely the most secure (since it contains neither networking or USB support.) But I'm guessing the programs you likely want to run don't work on DOS.

A computer disconnected from any network has fewer attack points than one that is. A computer behind a firewall which blocks incoming connections is more secure than one that isn't.

your question is thus inadequately defined for a useful answer. You need to better describe your context - what you plan to use the computer for, whether the boot drive is read-only, and so on.

Re: What is the most secure FOSS operating system with Internet access?

#7

Based on my research, I would suggest seL4 microKernel running on ARM-64 hardware with Genode built variant of Linux. AFAIK seL4 is the only formally security verified kernel for specific hardware. See their website for verification status of different hardware configurations. The closest widely used system is Apple OSX which in turn was evolved from CMU Mach. The critical aspect is keeping the smallest possible atta…

I came here to suggest Genode as well. Default deny goes a long way toward stopping trouble.

Re: What is the most secure FOSS operating system with Internet access?

#8
"most aggressive attackers as my threat model"

So, government agency? My vote would go for live USB Tails on librebooted ThinkPad. Use only public wifi. Always consider if your actions can be correlated and lead back to you or hint at you.

P.s. consider using wokfi

Good luck, space cowboy!

Re: What is the most secure FOSS operating system with Internet access?

#9
> I use the most aggressive attackers as my threat model.

Is that what you chose out of interest, or do you actually need it? I will assume the former, because that's how your question sounds.

My answer in that case would be: you need to work on your threat model. It is tempting to say "I want the best security, therefore I will define my threat model as 'the most aggressive one'". But that is a fallacy: the best security model is the one that fits your use-case best, not the one that defends against most attackers.

Security is always a tradeoff. Remember that you need security fundamentally because what you want to do has some inherent risk (small or high). The whole point is to decide what risk you can afford and find a security model that is acceptable under those conditions. If you say "I can't take any risk at all", then the answer is always "don't do anything at all".

But if you say "I am making a connected fridge for my home and I really want to make sure that the NSA won't be able to shut it down remotely", then the answer is most likely that your threat model is wrong. Because you actually don't really care about the NSA shutting down your fridge: you can probably live with that risk.

To go back more concretely on your specific question ("which OS should I use against the most aggressive attacker?"), it means that you are probably simply not competent to defend against the most aggressive attacker. There is no such thing as "the most secure OS" if you don't know how to configure and use it properly, and there is arguably no such thing as "security against the most aggressive attacker".

If that's out of interest, I would suggest you pick a realistic threat model and try to reason about it. If you have an actual need (e.g. you need to contact a journalist or something), then try to be more specific than "the most aggressive attacker".

Re: What is the most secure FOSS operating system with Internet access?

#10

If your threat model is “the most aggressive attackers” then your OS won’t matter much after you’ve been drugged and beaten with a wrench. (This is an xkcd joke from https://www.explainxkcd.com/wiki/index.php/538:_Security )

I don't get why this was downvoted, because it is true. It does suggest that the threat model is not properly defined.
Post reply on HN