Hands‑on practice is essential for mastering Linux in cybersecurity. These labs allow students to apply the concepts learned in previous modules through guided exercises. Each lab focuses on a practical security skill used by system administrators and cybersecurity professionals.
Objective:
Learn how to install a security-focused Linux distribution in a virtual environment.
Tools Required
Steps
Lab Outcome
Students will be able to run Kali Linux safely in a virtual environment for cybersecurity practice.
Objective:
Practice navigating directories and managing files.
Commands to Practice
pwd
ls
cd
mkdir labfiles
touch testfile.txt
ls -l
Exercise
cyberlab.cd.Expected Skills
Objective:
Understand user management and file security.
Commands
sudo adduser student1
sudo passwd student1
sudo usermod -aG sudo student1
Permission Practice
touch secret.txt
chmod 600 secret.txt
ls -l secret.txt
Exercise
Expected Skills
Objective:
Perform simple network reconnaissance.
Tool Used:
Nmap
Example Commands
nmap localhost
Scan a network range:
nmap 192.168.1.0/24
Scan specific ports:
nmap -p 22,80,443 localhost
Exercise
Expected Skills
Objective:
Identify potential security threats using log analysis.
Important Log Files:
/var/log/auth.log/var/log/syslogCommands
sudo tail /var/log/auth.log
Search failed login attempts:
sudo grep "Failed password" /var/log/auth.log
Using journalctl:
sudo journalctl -u ssh
Exercise
Expected Skills
By completing these labs, students will be able to: