Live data from Hacker News

Is the Linux Desktop less secure than Windows 10? [pdf]

fosdem.org

71–80 of 190 posts

Re: Is the Linux Desktop less secure than Windows 10? [pdf]

#71

it's only as secure as the user

You can make things more secure or less secure no matter the user.

Also: if one desktop doesn't check SSL certificates and the other desktop does, then one desktop doesn't even enable the user to be secure. Checking SSL certificates is a pretty recent thing btw. E.g. various mail clients accept any self signed certificates silently.

Re: Is the Linux Desktop less secure than Windows 10? [pdf]

#72

Earlier quoted context omitted.

Sure, extremely motivated individuals or governments might do that. But I'd still rate a distribution by it's default security settings. Being secure by default is important if you are shipping to thousands of users.

Fedora comes with SELinux enabled by default, and is working towards more interesting sandboxing stuff for the future too.

Ubuntu comes with AppArmor enabled by default [1]. Unfortunately its service will terminate at startup due to missing profiles [2]. This shows how much QA goes into security related stuff in a distro of this size.

---

[1] https://wiki.ubuntu.com/AppArmor

[2] sudo apt install apparmor-profiles-extra

Re: Is the Linux Desktop less secure than Windows 10? [pdf]

#73
post #18

I believe in sandboxing, I hope it gets better and easier to use. I work on several C programs. I wish for the day when we have an easy to use, cross platform method of setting up a small set of open files at the start of a program, then be able to say "No more file access, no more network connections". I know this hides a whole bunch of complication, which is why it's hard and why there are so many ways to do it --…

"Better", but similar, would be to move to OS with the Object Capability model. Applications don't get access-by-default with security bolted on afterward, they get access to the objects they're initially granted and no way whatsoever to access anything beyond that. Sadly that's a huge change in programming and security model for most and wouldn't be an easy change to make.

CloudABI https://nuxi.nl/cloudabi/ lets you run capability based apps side by side with traditional full POSIX apps on your OS. Out of the box on FreeBSD, patches exist for Linux and NetBSD, userspace support for macOS. So you get one binary that runs on multiple operating systems as a bonus :) The ABI itself is basically "FreeBSD, plus Capsicum always enabled from the start, minus any stuff that doesn't work under Capsicum".

Re: Is the Linux Desktop less secure than Windows 10? [pdf]

#74
post #40

Earlier quoted context omitted.

The thing with the Linux Desktop is that you can selectively enable SELinux, use PaX etc. and have security comparable to, if not better, than Windows 10, plus the fact that Linux is a much more varied attack surface still applies. Or you can do nothing, in which case you're probably less secure.

This is exactly the problem. You can buy Windows 10 machine and if it becomes vulnerable it's Microsoft's fault and you would count on them to fix it immediately, push out the automatic update and go on with your life. If default Linux desktop is insecure then consumer is supposed to figure out what exactly is insecure, be expert in knowing the alternatives and how to replace everything. The question isn't whether Li…

My actual experience of post release vulnerability patching is that Desktop Linux will provide the required update in a timely manner and it will be installed transparently through system update. The user often doesn't even notice there was a vulnerability in the first place. On par with windows update though a bit less intrusive and annoying.

Linux Desktop is not secure by default for the same reason Secure Linux does not offer the best desktop experience: more secure means less convenient. Desktop Linux aims at being convenient.

Also keep in mind, we are comparing a single Microsoft OS to a variety of Linux distros each with its own default. it would make more sense to compare all of those individually to see how they fit to a couple standard threat models. Then put them through a week of everyday use by a not knowing better user and see how much damage the different OS sustain.

Re: Is the Linux Desktop less secure than Windows 10? [pdf]

#75
post #14

Earlier quoted context omitted.

The thing with the Linux Desktop is that you can selectively enable SELinux, use PaX etc. and have security comparable to, if not better, than Windows 10, plus the fact that Linux is a much more varied attack surface still applies. Or you can do nothing, in which case you're probably less secure.

Where's a good place to get a general guide on every day desktop use of SELinux, PaX, etc?

Arch wiki is a goldmine: https://wiki.archlinux.org/index.php/Security

Re: Is the Linux Desktop less secure than Windows 10? [pdf]

#76
post #40

Earlier quoted context omitted.

This is exactly the problem. You can buy Windows 10 machine and if it becomes vulnerable it's Microsoft's fault and you would count on them to fix it immediately, push out the automatic update and go on with your life. If default Linux desktop is insecure then consumer is supposed to figure out what exactly is insecure, be expert in knowing the alternatives and how to replace everything. The question isn't whether Li…

> you would count on them to fix it immediately, push out the automatic update and go on with your life. Not only do you get security updates for your distro with the vast majority of Linux distros, but you also get it for all your 3rd party software, using the same system mechanism. They may not push the updates automatically, (you can of course set it that way), but some of us still want to be in control of what ge…

The 3rd party software is huge problem, actually. When you do apt-get or install using Ubuntu App Store it gives a false sense of security to novice user that things are safe. This is even more problematic because there are so many things one needs to download on default desktop to be on par with default Windows. The File Manager UI, for example, lacks too many features and user must investigate alternatives and either assume that everything is all right or deeply examine security vulnerabilities for each available option. Same goes for basic things like text editor or calculator and so on.

Re: Is the Linux Desktop less secure than Windows 10? [pdf]

#77
post #66

Earlier quoted context omitted.

Security should be multi layered. So if one thing fails there's still yet another layer of defence. This because everything will have bugs anyway, so it should be assumed none of the layers will ever be fully secure. systemd offers various methods to restrict daemons in their abilities. That's hardly used. Only recently tracker started sandboxing their indexers. Why block adding other security laters on Wayland? Ther…

The best defense in this regard is not do jack all unless the user asks for it.

That's how Flatpak works with its portals, so assume you'll now read what I wrote instead of simple responses?

Re: Is the Linux Desktop less secure than Windows 10? [pdf]

#78
post #20

Earlier quoted context omitted.

Maybe I'm not rational but I'm much more worried about Microsoft having access to my data than some random "Russian" hacker.

Yes, that does not exactly strike me as a rational stance to take. Are you actually more worried about Microsoft blackmailing you about those photos from 4 years ago?

You may be aware that since Trump, when you're not a US citizen, you have no rights to privacy. Everything Microsoft collect about the rest of the world is fair game. IIANM this feature was introduced with the patriot act update.

Re: Is the Linux Desktop less secure than Windows 10? [pdf]

#79
post #77

Earlier quoted context omitted.

The best defense in this regard is not do jack all unless the user asks for it.

That's how Flatpak works with its portals, so assume you'll now read what I wrote instead of simple responses?

Should have guessed you would claim that monstrosity as the fix for your (Gnome's) other monstrosity.

Re: Is the Linux Desktop less secure than Windows 10? [pdf]

#80
post #46

I mean, the answer is unequivocally, without the slightest doubt, yes. The Linux Desktop is probably a good 5-10yrs behind Windows 10 in terms of defense-in-depth mitigations as well as exploits in common targets like file parsers etc etc. https://www.blackhat.com/docs/us-16/materials/us-16-Weston-W... is a good reference for all the stuff that Desktop Linux in 2017 is for the most part, missing

Security without a threat assessment is not very meaningful. If we are comparing a default linux desktop installation and a default windows installation, what would the test setup look like? Let say we had two such machines and gave them each a reachable ip address and let the first test just be them running unattended until unwanted software got in. In the second experiment we had the same machines go to random webs…

Just because Windows goes down first doesn't mean that Linux is more secure. It only means that it doesn't have a high enough market share to meaningfully exploit for a return on investment.

We should take the metric of "given a motivated party, how difficult would it be to exploit this machine" I have no doubt people are already sufficiently motivated to exploit Windows. But maybe only the NSA gives a shit about Linux- do we leave them unchecked?

Post reply on HN