4 ms·
Size of user base is pretty much irrelevant to how vulnerable an OS is, Linux/GNU and BSD derivative operating systems are inherently more secure than NT based
by wyqydsyq 10y ago
Size of user base is pretty much irrelevant to how vulnerable an OS is, Linux/GNU and BSD derivative operating systems are inherently more secure than NT based ones due to user/group permissions and privilege escalation being a core aspect of the former, and a tacked-on afterthought of the latter.
- Mandatum 10y agolikelihood of infection != vulnerability If you live in a bad neighbourhood, you're more likely to get shot. If you live in a nice neighbourhood, you might get shot, but it's much less likely. The ability for someone to shoot you in each neighbourhood is irrelevant when talking about likelihood of being shot.
- deleted 10y ago[deleted]
- pjmlp 10y agoNT has a more secure model than UNIX since day one, modeled on top of object capabilities, much more powerful than UGW permissions. If people decide to run as root that's their problem. Also you don't need root to exploit UNIX users, getting hold of their $HOME is way more valuable than getting hold of the OS.
- mappu 10y ago>object capabilities, much more powerful than UGW permissions. man 5 acl >If people decide to run as root that's their problem. Also you don't need root to exploit UNIX users, getting hold of their $HOME is way more valuable than getting hold of the OS. Same on windows.
- pjmlp 10y agoThe IEEE 1003.1e draft 17 ("POSIX.1e") document describes several security extensions to the IEEE 1003.1 standard. While the work on 1003.1e has been abandoned, many UNIX style systems implement parts of POSIX.1e draft 17, or of earlier drafts. Note the implement parts of, that is not something UNIX has in any portable way.
- zyx321 10y ago>>getting hold of their $HOME is way more valuable >Same on Windows Windows 8 Metro/Modern/UWP apps do not have access to your home directory. What is being done to improve the situation on the Linux side of things?
- pfg 10y agoI believe Flatpak/Snap (Fedora/Ubuntu's new app packaging formats) makes this possible quite easily. It'll take quite some time until these initiatives really take off, but then again things aren't all that different on Windows today. A typical Windows system is still one Office macro away from losing $HOME.
- raesene6 10y agoBut then no standard desktop OS is immune to users executing code from untrusted sources, you need something more locked down like iOS for that. To get a macro running in office the user has to explicitly ignore security warnings to do it, this would be the same in linux or MacOS where code execution capabilities were present.
- pfg 10y agoI'm making a comparison to Windows, and my point was that it's no different there today despite the fact that Metro apps exist (just like Flatpak/Snap exists on Linux). Walled gardens such as iOS are definitely superior in that respect. > To get a macro running in office the user has to explicitly ignore security warnings to do it, this would be the same in linux or MacOS where code execution capabilities were present. Sure, but it's pretty easy to ignore those warnings when you see something like [1] or [2]. [1]: https://3.bp.blogspot.com/-ginpmnFHC_E/V3J3kFADrxI/AAAAAAAAojc/fvWqTDGAItoCtcPBEDYBYylU7UdWYKdUgCLcB/s1600/microsoft-office-zero-day-exploit.png https://3.bp.blogspot.com/-ginpmnFHC_E/V3J3kFADrxI/AAAAAAAAo... [2]: https://pbs.twimg.com/media/CiqwqUOWgAAVTzE.jpg:large https://pbs.twimg.com/media/CiqwqUOWgAAVTzE.jpg:large
- raesene6 10y ago
- Decade 10y agoA security model defeated by a bonkers architecture. I’m especially baffled that font processing is in the kernel. Allegedly, Windows 10 now moves non-system fonts into a restricted user-mode process, so exploits are a lot harder. But it still acts like the kernel is doing the processing, for backwards compatibility.
- Spooky23 10y agoSure, except that you have functions like processing fonts and image formats in the kernel. Layer on userland stuff like OLE and IE and you have a cocktail for security hell. When things work correctly, NT has historically had a more robust and accessible set of controls, although I think modern UNIX closed that gap. But things often don't work correctly, and the complexity of the ecosystem makes it pretty trivial to exploit.
- pjmlp 10y agoIt is not perfect, but it possible to configure properly. Also NT always focused on the user productivity first and as server afterwards. Whereas UNIX always focused on the server first and user productivity afterwards. It is always a mix and match between security and productivity.
- raesene6 10y agoerr no. outside of rarely used acl systems basic unix/linux permissions are far less granular than the windows equivalents. For desktops modern windows handles things very similarly to modern linux, which is to say that you don't run as "root" or "administrator" by default and programs request escalated privileges via sudo on linux and UAC on windows. As to privesc vulns, most desktop linux distros have limited protections there. One kernel bug can see someone escalate from user to root fairly easily. With modern Windows apps there is at least a sandbox in play, so that a sandbox escape is required in addition to the kernel bug. Both Operating systems can be configured to be more secure of course...