Skip to content

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.

Context

22 points13 comments
Open on Reddit
About this post
Posted
Archived
Score
22 · 100% up
Kind
Text
ID
67sb48

Author

15
posts
807
comments
3
media
View profile

13 comments

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.

4 points

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...

4 points

thinking PAX mainly

You can get just pax from the aur

But the wiki doesn't recommend it:

Using PaX alone is not recommended as the synergies with other grsecurity features are important. For example, defeating even the improved PaX ASLR is trivial without the GRKERNSEC_PROC_MEMMAP feature if the attacker has filesystem access.

0 points

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.

6 points

Talking about this, how is the state of distributions like fedora who use SELinux or Apparmor.

2 points

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.

3 points

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.

3 points

AUR Tomoyo linux kernel Easy to use, easy to learn, well maintained plus you can use it as a nice firewall solution

0 points

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.

2 points

So what's your personal desktop security setup these days? Vanilla arch kernel?

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.