Hacker’s OS –Mastering Linux for Security
Day 3: Linux Essentials & Hacking Lab Setup
Become comfortable using Linux as your primary hacking
platform.
2.
What is
Linux?
Linuxis a free, open-source operating
system used widely in cybersecurity.
Distros: Kali, Ubuntu, Parrot OS.
Key Traits: Lightweight,
customizable, terminal-based power.
3.
Linux vs Windowsfor Hackers
Linux: Open-source, better control,
scripting, tools like Nmap,
Wireshark preinstalled.
Windows: GUI-heavy, less
flexibility for deep system control.
4.
Why Do HackersPrefer Linux?
• Strong community and documentation
• Security-centric distros like Kali
• Control over networking and permissions
• Scripting and automation potential
5.
Kali Linux Overview
Kaliis a Debian-
based Linux distro
built for penetration
testing.
Includes pre-
installed tools:
Nmap, Metasploit,
Wireshark, Burp
Suite.
Used by ethical
hackers globally.
6.
File System Hierarchy
/(ROOT) /BIN – ESSENTIAL
BINARIES
/ETC – CONFIG
FILES
/HOME – USER
FOLDERS
/VAR – LOGS AND
VARIABLE DATA
UNDERSTANDING
STRUCTURE IS KEY
FOR FILE ACCESS.
7.
Navigating the FileSystem
`cd`, `ls`, `pwd`, `tree`
Example:
cd /home/user
ls -l
pwd shows current directory
→
Practice Task: SystemUpdate Script
CREATE A
SCRIPT TO:
• UPDATE
SYSTEM
• PRINT
DATE/TIME OF
UPDATE
• LOG RESULTS
TO A FILE
30.
Summary & LearningOutcome
You now:
• Understand Linux structure
• Can navigate, modify files
• Set up Kali Linux
• Install and use hacking tools
• Write and execute Bash scripts
31.
What’s Next?
Preparefor Day 4: Reconnaissance & Scanning
Install tools: WHOIS, nslookup, Nmap
Review Bash scripting
Practice using commands learned today
Editor's Notes
#16 Encourage students to set this up at home and explore. Mention online labs as alternatives (TryHackMe, HackTheBox).