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

Linux+ Security: Harden Linux Systems
In this lab, you’ll practice restricting the ports and IPs the server is listening on, removing unneeded services, securing ICMP, and brute force password attacks. When you’re finished, you’ll have the fundamental skills to harden a Linux system.

Lab Info
Table of Contents
-
Challenge
Check Listening Ports and Restricting Access
To start this lab, you will check which ports the Linux server is listening on. From there, you will learn how to restrict each port to specific IP families as well as determine, if applicable, which IP addresses on the Linux host should be listening for each port.
-
Challenge
Remove Unneeded Services
Now that the ports have been locked down for the services you want on this server, it’s a best practice to remove unnecessary services that won’t be used by the server.
-
Challenge
Secure ICMP Access Using sysctl
ICMP is commonly used to verify that systems are functioning, but that can be a security risk. You will learn how to restrict the server's response to ICMP, or allow it to respond but limit the access
-
Challenge
Lock Upon Failed Login Attempts
By default, Linux will not lock out a user if they continue to enter the wrong password, which could allow brute force attacks. This challenge will show you how to configure the server to lock out a user for an extended period of time.
-
Challenge
The Last Challenge
Welcome to the final challenge! This is your last chance to experiment in the environment. Clicking Finish Lab will end this little world that flittered into existence just for you.
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.