I've seen mention of securing /dev/shm and /proc and I was wondering how you do that and what it consists of doing? I assume this involves /etc/sysctl.conf editing of some kind right.
Like these?
kernel.exec-shield = 1
kernel.randomize_va_space = 1
|
The process I use, based on the CIS Linux Security Benchmark, is to modify
For the sysctl settings, simply adding some of these to
|
|||||||
|
|
ewwhite has already mentioned the CIS Linux Security Benchmark recommendations, I would also like to add another security guideline worth mentioning - Guide to the Secure Configuration of Red Hat Enterprise Linux 5 by the NSA. In addition to adding Host only
Host and Router
|
||||
|
|
/dev/shm, I suppose you could disable it or restrict the permissions if you don't have any applications that require POSIX shared memory. But for/procI can't think of anything you could do. That filesystem is actually quite vital for commands likepsto work. Do you have any references concerning such hardening practices? – Celada Feb 1 at 22:01