Lock Down Your Kernel with grsecurity
Harden your system against attacks with the grsecurity kernel patch.
Hardening
a Unix system can be a difficult
process. It typically involves setting up all the services that the
system will run in the most secure fashion possible, as well as
locking down the system to prevent local compromises. However,
putting effort into securing the services that
you’re running does little for the rest of the
system and for unknown vulnerabilities. Luckily, even though the
standard Linux kernel provides few features for proactively securing
a system, there are patches available that can help the enterprising
system administrator do so. One such patch is grsecurity
(http://www.grsecurity.net).
grsecurity started out as a port of the OpenWall
patch (http://www.openwall.com)
to the 2.4.x series of Linux kernels. This patch added features such
as nonexecutable stacks, some filesystem security enhancements,
restrictions on access to /proc, as well as some
enhanced resource limits. These features helped to protect the system
against stack-based buffer overflow attacks, prevented filesystem
attacks involving race conditions on files created in
/tmp, limited a user to only seeing his own
processes, and even enhanced Linux’s resource limits
to perform more checks. Since its inception,
grsecurity has grown to include many features
beyond those provided by the OpenWall patch.
grsecurity now includes many additional memory address space protections to prevent buffer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access