Skip to main contentSkip to main content
Room Banner
Back to all walkthroughs
Room Icon

Linux System Hardening

Premium room

Learn how to improve the security posture of your Linux systems.

medium

120 min

29,437

User profile photo.
User profile photo.

To access material, start machines and answer questions login.

systems provide a reliable and robust alternative to closed-source systems, such as MS Windows Server and UNIX. Moreover, choosing can help cut down licensing costs dramatically. If you are not convinced, compare the cost of hosting a web server using Debian 11 with the cost of hosting a web server using MS Windows Server 2022. When we compare the combined costs of licensing and the minimum required hardware for each of these modern releases, we will have a strong case for . Of course, we cannot claim that is always the best choice; however, is the best choice for many scenarios. Before using this option, we must focus on securing our systems, also known as hardening.

Learning Objectives

This room covers various topics related to hardening. By the end of this room, you will learn more about improving the security of a system by taking care of the following:

  • Physical Security
  • Filesystem Encryption
  • Configuration
  • Remote Access
  • Software and Services
  • Updates and Upgrades
  • Logs

Prerequisites

We recommend that users have a good working knowledge of the and a solid understanding of the basic security principles. We recommend the Fundamentals module if you want to learn about . If you haven’t done so, we suggest you complete the Security Principles room.

Some of the tasks in this room require using the attached . We suggest that you click on the Start Machine button, along with the Start AttackBox button, so that they are ready when you need them. You may also use your connection to connect with the . You can access the attached machine using ssh by supplying the following credentials:

  • Username: tryhackme (i.e., ssh tryhackme@MACHINE_IP)
  • Password: insecurePass123

It is worth repeating that insecurePass123 is a weak password; however, a complicated password such as HkAcPQqdXKC2 would be very cumbersome to type while going through the exercises in this room. But please remember that a weak yet convenient password would put the security of your whole system and network at risk.

THM key
Username tryhackme
Password insecurePass123
IP MACHINE_IP
Answer the questions below
Ensure that you satisfy the room prerequisites.

Ready to learn Cyber Security?

The Linux System Hardening room is only available for premium users. Signup now to access more than 500 free rooms and learn cyber security through a fun, interactive learning environment.

Already have an account? Log in

We use cookies to ensure you get the best user experience. For more information see our cookie policy.