Grsecurity

Some time ago Dabo I'm talking about grsecurity kernel in which are implemented many security measures.

What is grsecurity?

Grsecurity® is a comprehensive security enhancement for the Linux kernel, defends against a wide range of security threats through intelligent access control, prevents overflow in memory and a number of other problems making it more robust system generally requires no configuration. It has been actively developed and maintained over the past 15 years old.

How do I install

Debian in its unstable as has grsecurity in their repositories is expected in the next stable version already come, Debian-derived distributions such as Ubuntu or Linux Mint will welcome later.

I in the following manual I'll show you how to install debian.

Remind before starting the colors mean in applications and systems

written texts in the command line: Blue
Output in the command line: Green
File names and file content: Brown

First I install debian jessie from the image netinstall

Once the file is installed modified /etc/apt/sources.list and I leave as follows:

deb http://ftp.es.debian.org/debian/ sid main
deb-src http://ftp.es.debian.org/debian/ sid main

The rest of the lines and let them change jessie commented by sid order to update the distribution.

Update distribution running the following commands as root:

apt-get update
apt-get dist-upgrade
apt-get autoremove
reboot

install Grsecurity, kernel version may vary to find out what yours I run

apt-cache search grsecurity
.......
linux-image-4.4.0-1-grsec-amd64 - Linux 4.4 for 64-bit PCs, Grsecurity protection
.......

With this it is which version I need in my case 4.4.0-1

grsecurity installed, replaces the version for yours.

apt-get install linux-grsec-base linux-grsec-source-4.4 linux-grsec-support-4.4.0-1 linux-headers-4.4.0-1-common-grsec linux-headers-4.4.0-1-grsec-amd64 linux-image-4.4.0-1-grsec-amd64

Restart and then to verify that is working grsecurity run:

uname -a
Linux aplicacionesysistemas 4.4.0-1-grsec-amd64 #1 Debian Junior grsec201603171922 + 4.4.6-1 + 1 (2016-03-19 x86_64 GNU/Linux

I hope you find it useful and thanks for reading our blog.


About Ignacio Alba Obaya

Microcomputer and Technical Training for Employment. Lover of new technologies. Manager GNU / Linux and Windows.

Leave a Reply

Your email address will not be published. Required fields are marked *