Advanced Linux/Unix System Security
| Field | Value |
|---|---|
| Module ID | 470 |
| Difficulty | Hard |
| Tier | Tier I |
| Category | Defensive |
| Estimated Time | 2 hours |
| Cubes Earned | 10 |
| Experience Points | 1100 |
| Creators | letsdefendio |
| Last Updated | 2026-03-31T09:05:27.000000Z |
| URL | https://academy.hackthebox.com/app/module/470 |
Module Includes
- 8 Sections
- 5 Interactive Exercises
- 0 Assessments
- 10 Cubes
Module Description
The "Advanced Linux/Unix System Security" module is designed to empower participants with the advanced knowledge and skills required to effectively detect and defend against cyberattacks in Linux and Unix environments. Through in-depth training, you will learn to secure critical assets, data, and systems from evolving threats, making you a proficient guardian of your digital infrastructure.
Module Summary
The Advanced Linux/Unix System Security module is designed for detection engineers specializing in identifying and responding to cyber threats, Cybersecurity experts and enthusiasts seeking advanced knowledge in detecting and mitigating cyber threats, and Advanced Linux/Unix users and network administrators looking to enhance system security. Throughout this module, students will develop advanced Cyber Attack Detection: Develop expertise in recognizing and mitigating sophisticated cyber threats in Linux and Unix systems and robust Security Configuration: Learn to implement advanced security configurations to fortify your digital assets against vulnerabilities.
Recommended prior knowledge:
- Completion of a foundational Linux/Unix system security module or equivalent knowledge in the field
- Familiarity with basic cybersecurity concepts, including threat detection and incident response
Sections
8 sections - 5 Interactive
| # | Group | Type | Title |
|---|---|---|---|
| 1 | None | theory | Linux Log Infrastructure |
| 2 | interactive | Syslog and Rsyslog | |
| 3 | interactive | Rotation and Management of Log Files | |
| 4 | theory | SElinux/Apparmor-1 | |
| 5 | interactive | SElinux/Apparmor-2 | |
| 6 | interactive | Linux Firewall | |
| 7 | interactive | Uncomplicated Firewall (UFW) | |
| 8 | theory | Advanced Linux/Unix System Security Quiz |
Conclusion
In this module, we covered advanced Linux and Unix security hardening techniques including centralized log infrastructure, syslog/rsyslog configuration, log rotation management, mandatory access control with SELinux and AppArmor, and host-based firewall management with iptables, firewalld, and UFW.
Module key takeaways:
- The Linux log infrastructure routes messages through syslog facilities and severity levels;
/etc/rsyslog.confcontrols where log messages from different sources are written rsyslogsupports remote log forwarding over UDP/TCP, enabling centralized logging for SIEM ingestion and tamper-resistant audit trailslogrotatemanages log file lifecycle (rotation frequency, compression, retention count, post-rotate actions) to prevent disk exhaustion while preserving evidence- SELinux operates in three modes — enforcing, permissive, and disabled — with
targetedandMLSpolicy types;setenforce,getenforce, andsestatusmanage and query state - SELinux contexts (user:role:type:level) on files and processes enforce mandatory access control beyond standard DAC permissions;
chconandrestoreconadjust file contexts - AppArmor uses profile-based confinement in
enforceorcomplainmode; profiles are managed withaa-enforce,aa-complain, andapparmor_status iptablesfilters traffic via chains (INPUT/OUTPUT/FORWARD) and tables (filter/nat/mangle); rules are specified with-m,-j,-s,-d,--dportflagsfirewalldprovides zone-based dynamic firewall management;ufwoffers a simplified interface for managing netfilter rules suitable for servers and workstations