Given recent events regarding grsecurity, what are some other options for kernels with security in mind?
I've been running linux-grsec for quite a while now on all of my Arch systems, and I'm curious what others who are in a similar situation plan to move to given the recent news from the grsecurity folks. I may end up back with the 'default' Arch kernel.. Hopefully there's a better alternative out there that I haven't found that offers at least some of the hardenning that grsec offered.
About this post
- Posted
- Archived
- Score
- 22 · 100% up
- Kind
- Text
- ID
- 67sb48
13 comments
Just take a cue from my shared hosting provider and use a 7 year old grsec kernel
Screw that, windows server
oh my.. no thanks.
It would be great if, at this point, someone would work on getting the important stuff from grsec into mainline (thinking PAX mainly). Especially since the patches will only drift more and more out of sync as time goes on.
Currently I'm back on mainline but I use firejail to firewall off high risk programs (mainly Firefox) from the rest of the system. Given that I'm already running Linux, I feel pretty safe from exploits.
I am also a big time user of firejail.. they seemed to complement each other fairly well.. so I'm not totally 'shit out of luck', but it's less than ideal.
I would support ($$, documentation, code review, testing, etc) an effort to move the important stuff from grsec into mainline. I just don't have the experience to single-handedly do it myself. You're absolutely right, this moment is always the best time to start since the next moment things will change and they'll grow more out of sync...
You can get just pax from the aur
But the wiki doesn't recommend it:
PaX is no longer public, just like grsecurity. They're strongly tied together. There are separate patches with only the PaX subset but the announcement applies just as much to those. Any packages in the AUR are out-of-date.
Talking about this, how is the state of distributions like fedora who use SELinux or Apparmor.
They are working fine. SELinux is still complicated to setup, but most distros will do the work for you.
I've tried kernel security tools in the past like apparmor and tomoyo, but nowadays I simple don't use them anymore. It's a pain to setup, and I question if it really helps protecting anything.
grsecurity provides a LOT more than a MAC implementation. It primarily provides kernel self-protection. Any access control can be bypassed by a single kernel exploit, so an LSM without grsecurity isn't a strong protection.
AUR Tomoyo linux kernel Easy to use, easy to learn, well maintained plus you can use it as a nice firewall solution
grsecurity provides a LOT more than a MAC implementation. It primarily provides kernel self-protection. Any access control can be bypassed by a single kernel exploit, so an LSM without grsecurity isn't a strong protection.
So what's your personal desktop security setup these days? Vanilla arch kernel?