- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Security

Linux Kernel Security
Many important security configurations can be set using kernel parameters. In this hands-on lab, we will learn how to find and modify these parameters using various utilities. These skills are essential for passing advanced security certification exams such as the LPIC 303-200 exam.

Lab Info
Table of Contents
-
Challenge
Create a Text File for the Kernel Parameters
- Run the following command:
touch /home/cloud_user/investigate.txt
-
Challenge
Install the Kernel Documentation
- Run the following command:
sudo yum install kernel-doc
-
Challenge
Find and Document the Value of the `randomize_va_space` Parameter
- View the value of the
randomize_va_space
parameter by running the following command:
sysctl -ar randomize_va
- Add the value to the
investigate.txt
file.
sysctl -ar randomize_va >> investigate.txt
- View the value of the
-
Challenge
Find and Document the Values of All ICMP Kernel Parameters
- Run the following command:
sysctl –ar icmp >> investigate.txt
-
Challenge
Temporarily Disable ICMP Using a Kernel Parameter
- Run the following command:
sudo sysctl –w net.ipv4.icmp_echo_ignore_all=1
-
Challenge
Find and Document the Current Kernel Security Limits
- View the contents of
/etc/security/limits.conf
.
vim /etc/security/limits.conf
- Write the contents of
/etc/security/limits.conf
toinvestigate.txt
.
cat /etc/security/limits.conf >> investigate.txt
- Locate the current security limits for
cloud_user
.
ulimit -a
- Write the output of the
ulimit -a
command toinvestigate.txt
.
ulimit -a >> investigate.txt
- View the contents of
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.