s1ber

LNX Learning path

Linux

The command line, file system, permissions, processes, networking and scripting — the foundation of cyber security.

10 rooms49 topicsFinish the path, pass the exam: Linux certificate.

Start for freeOpen in the lab

Learning rooms 7 rooms

Step-by-step lessons with questions.

01Introduction to Linux: The Terminal and First CommandsBeginner40 min6 topicsVirtual machine

What is Linux, and why do you run into it in every area of cyber security? You will open the terminal, type your first commands and learn where you are and who you are.

  1. What is Linux and why does it matter?
  2. Start the machine: terminal, shell and prompt
  3. Who am I, where am I? whoami, hostname, pwd, id
  4. List files: ls and hidden files
  5. Reading files: cat, head, tail, wc
  6. Getting help: --help and man
02File System: Navigation, File and Directory OperationsBeginner50 min5 topicsVirtual machine

Get to know the Linux directory tree (/etc, /home, /var, /tmp…); navigate with cd, create, copy, move and delete files, and search with find.

  1. The directory tree: everything starts at /
  2. Navigating with cd: absolute and relative paths
  3. Create, copy, move, delete
  4. Finding files with find
  5. Wildcards and counting lines
03Users, Groups and File PermissionsBeginner55 min5 topicsVirtual machine

Read rwx permissions, set numeric (octal) permissions with chmod, change the owner with chown, get to know /etc/passwd and root. See how wrong permissions become vulnerabilities.

  1. Users and /etc/passwd
  2. Reading permissions: rwx
  3. chmod: numeric (octal) permissions
  4. Ownership, groups and root
  5. Why does it matter? Wrong permissions = vulnerability
04Text Processing: grep, cut, sort, uniq, awk and PipesIntermediate60 min6 topicsVirtual machine

Combine commands with pipes (|) to extract answers from thousands of lines of data in seconds. The core skill of log analysis and data extraction.

  1. Pipes and redirection
  2. grep: the master of search
  3. cut and sort: extract columns, sort
  4. uniq: count duplicates
  5. awk: line-by-line mini programs
  6. Sonucu kaydet
05Processes, Services and Network CommandsIntermediate55 min5 topicsVirtual machine

See running programs with ps, stop them with kill, find listening ports with netstat, connect to the local web service and read the network settings.

  1. Processes: ps and top
  2. Managing processes: &, jobs, kill
  3. Listening ports: netstat
  4. Connect to the service: wget and HTTP
  5. Network settings and /etc/hosts
06Log Hunter: Finding Attack Traces on LinuxAdvanced70 min5 topicsVirtual machine

Analyse a realistic SSH brute-force attack and suspicious web requests using only command-line tools; reveal the attacker, the target and the outcome.

  1. Senaryo
  2. Measure the SSH brute-force attack
  3. Successful logins: is the attacker inside?
  4. Recon traces in web logs
  5. Raporla
07Shell Scripting: Automate Repetitive TasksAdvanced65 min5 topicsVirtual machine

Write your own security scripts with variables, conditions, loops and functions; schedule them with cron. Build a log monitoring script from scratch.

  1. First script
  2. Variables and arguments
  3. Conditions and loops
  4. A real tool: an SSH alert script
  5. Scheduling with cron

Practice tasks 3 rooms

Apply what you learned in a realistic scenario.

01Mission: Analyse Sales and Staff Data in the TerminalBeginner30 min3 topicsVirtual machine

The manager wants answers without opening Excel. Analyse the CSV and text files in the ~/data folder with cut, sort, uniq and awk.

  1. Scenario and machine
  2. Sales data
  3. User list
02Mission: Incident Investigation in SSH and Web LogsIntermediate40 min4 topicsVirtual machine

Suspicious activity was reported on the server. Examine auth.log and access.log and report which IPs got in, the last successful session and the distribution of web traffic.

  1. Scenario and machine
  2. SSH sessions
  3. Web traffic
  4. System log and report
03Mission: Harden a Linux ServerAdvanced45 min5 topicsVirtual machine

Audit the users, permissions, listening services and SSH settings on the server you just took over; rank the findings by severity and write the fix commands.

  1. Scenario and machine
  2. Users and passwords
  3. Permissions and SUID
  4. Listening services
  5. SSH and report

Other learning paths