3 ms·
SELinux was incredible and we should be thankful to the NSA for that. But, not to sound ungrateful, that was 18 years ago now and the NSA's supposed mission to
by Someone1234 11y ago
SELinux was incredible and we should be thankful to the NSA for that. But, not to sound ungrateful, that was 18 years ago now and the NSA's supposed mission to strengthen America's [digital] infrastructure seems to have stalled.
It seemed like pre-9/11 the NSA was doing both of their roles (spy and strengthen) but since 9/11 all they do is spy and ignore the other role.
Maybe that role should be moved out of the NSA completely, and they can just concentrate on spying and let someone else concentrate on improving digital security. It is fair to say that those two roles are somewhat contradictory.
- dmix 11y agoAttackers and security researchers seem to have figured out how to bypass SELinux relatively easily. Looking at any recent major examples of real-life attacks on Linux, SELinux never came up as a roadblock for any of them. It reduces the attack surface which is a good thing, but there are plenty of entry points still available to gain root. Privilege escalation on stock Linux systems has never been a major challenge, attackers can then simply turn off SELinux or modify the rules once they get root - as plenty of public exploit PoCs have demonstrated. Which is more of a indication of the state of Linux kernel security rather than MAC software. Sysadmins seem to talk highly of SELinux, but its rare to find people in offensive infosec who do. Not to mention attackers can use SELinux toolsets to gain root: http://seclists.org/oss-sec/2015/q1/1011 http://seclists.org/oss-sec/2015/q1/1011
- mhurron 11y agoDo you have examples? I haven't seen anything that said SELinux was thwarted in anything, and it is still pretty standard procedure to turn SELinux off instead of learning it.
- vezzy-fnord 11y agoEven if we leave this aside, the intricate role-based access control paradigm of SELinux has since had plenty of competition with alternatives that provide the same benefits with significantly less cognitive overhead (AppArmor, Smack, Tomoyo...) SELinux is very much geared in mind to the often baroque security protocols of government agencies, defense companies and certain enterprises. It may be cryptic for many other use cases.
- SEJeff 11y agoFunny, a recent qemu exploit, Venom, was mitigated by sVirt, which is 100% SELinux based: https://securityblog.redhat.com/2015/05/13/venom-dont-get-bitten/ https://securityblog.redhat.com/2015/05/13/venom-dont-get-bi... I could easily find a dozen plus 0day attacks which SELinux mitigated in Fedora/CentOS/RHEL, but there is no point in responding to a troll with much more than the minimum necessary.