0% Complete
0/0 Steps
  1. About

    About Cyber School
  2. About BDO
  3. The CSRP program Syllabus
  4. Module 1
    The Cyber World and CIA Triad
    6 Topics
  5. The OSI Model and Network Layers
    6 Topics
  6. IP Addressing, Subnetting and Routing
    6 Topics
  7. DNS and DHCP
    6 Topics
  8. Windows Server Administration
    6 Topics
  9. Active Directory and Identity Management
    6 Topics
  10. Linux CLI Fundamentals
    6 Topics
  11. Linux Permissions and Hardening
    6 Topics
  12. Module 2 - Defense Technologies and Cyber Tools
    Firewall Architecture and Rule Design
    5 Topics
  13. NAT and Secure Traffic Mapping
    6 Topics
  14. Enterprise VPN Solutions
    6 Topics
  15. IDS and IPS
    5 Topics
  16. Identity and Access Management
    5 Topics
  17. Multi-Factor Authentication
    6 Topics
  18. Data Loss Prevention
    6 Topics
  19. Endpoint Security and EDR
    6 Topics
  20. Mail Security
    6 Topics
  21. Web Proxy and URL Filtering
    6 Topics
  22. Regulation and Compliance
    6 Topics
  23. Cloud Security
    6 Topics
    |
    1 Quiz
  24. Module 3 - Ai in security
    AI in Security
    5 Topics
  25. ML Anomaly Detection
    5 Topics
  26. AI Threats
    5 Topics
  27. LLM Defense
    6 Topics
  28. Module 4 - Offensive Cyber & Vulnerability Scanning
    Cyber Kill Chain and Attacker Mindset
    6 Topics
  29. OSINT and Public Intelligence Gathering
    6 Topics
  30. Network and Port Scanning with Nmap
    6 Topics
  31. Vulnerability Scanning
    6 Topics
  32. Exploitation Fundamentals
    6 Topics
  33. Web Application Security
    5 Topics
  34. Social Engineering
    5 Topics
  35. Password and Hash Cracking
    5 Topics
  36. Module 5 - SOC and Advance Cyber Analyst
    SOC Structure and Operations
    6 Topics
  37. SIEM Fundamentals with Splunk
    6 Topics
  38. Alerting and Dashboards
    6 Topics
  39. Incident Response
    5 Topics
  40. Basic Digital Forensics
  41. Capstone A - The Attack: Breaching Meridian
  42. Capstone B - The Defense: Defending Meridian
  43. ISC2 CC Mock Exam and CSRP Graduation
    2 Quizzes
Lesson 10 of 43
In Progress

Linux CLI Fundamentals

Cyber School 23/11/2026

Presentation Link : https://gamma.app/docs/CSRP-Lesson-7-Linux-CLI-Fundamentals-64el5nu44wim2s9

https://youtu.be/419ecsAe74s

Hands-on lab: first triage on a Meridian server

Lab: First triage on a Meridian server

Loading the lab...

Show the full step-by-step solution

Full solution: Lab: First triage on a Meridian server

The complete solution for every step of the lab. Try the lab on your own first. Flags are personal to each learner, so this page explains how to reach each flag instead of printing it.

  1. Step 1: Look around and read a file

    List the files in your home folder and read the README. The first flag is inside it.

    Answer: your personal flag, found in the lab environment as described below.

    1. Type ls and press Enter. You will see folders (ending in /) and README.txt.

    2. Type cat README.txt and press Enter. cat prints the whole file to the screen.

    3. Copy the line that starts with CSRP{ and ends with } and paste it into this step.

    4. Press Check flag.

  2. Step 2: Move between folders

    Open the incident brief in cases/case-1042 and read it.

    Answer: your personal flag, found in the lab environment as described below.

    1. Type cd cases/case-1042. The prompt now ends with ~/cases/case-1042, which is your new location.

    2. Type ls to see brief.txt.

    3. Type cat brief.txt. The flag is on the second line.

    Shortcut: cat ~/cases/case-1042/brief.txt works from anywhere, because ~ means your home folder.

  3. Step 3: Find a hidden file

    The brief says the engineer left notes in the same folder, but ls does not show them. Find and read the hidden file.

    Answer: your personal flag, found in the lab environment as described below.

    1. Make sure you are in ~/cases/case-1042 (type cd ~/cases/case-1042).

    2. Type ls -a. The -a option lists all files, including hidden ones such as .notes.

    3. Type cat .notes, including the dot.

    4. Copy the flag from the second line.

    Why it matters: attackers often hide tools and data in dot-files, so investigators always run ls -a.

  4. Step 4: Search a log

    The notes point to ~/logs/auth.log. How many failed password attempts came from the address 10.20.30.45? Enter the number.

    Answer: 17

    1. Type cd ~/logs.

    2. Type grep 10.20.30.45 auth.log to see every line for that address.

    3. Now count only the failed ones: grep 10.20.30.45 auth.log | grep -c "Failed password"

    4. The terminal prints a number. Enter it in this step.

    Why it matters: many failed logins for root from one address is a classic sign of password guessing (brute force).

  5. Step 5: Spot a dangerous permission

    In ~/shared, one file can be changed by every user on the server, and it runs as root every night. Which file is it?

    Answer: deploy.sh

    1. Type cd ~/shared and then ls -l.

    2. Read the first column. After the first character, the permissions come in three groups of three: owner, group, others. r = read, w = write, x = execute.

    3. Look for a file whose last group contains w (others can write). Only deploy.sh shows -rwxrwxrwx.

    4. Type cat deploy.sh: the comment says cron runs it as root every night.

    5. Enter deploy.sh.

    Why it matters: any user could edit this script, and their commands would then run as root.

  6. Step 6: Find a forgotten backup

    Somewhere under your home folder there is a leftover backup file that ends in .bak. Find it and read it.

    Answer: your personal flag, found in the lab environment as described below.

    1. Type cd to return to your home folder.

    2. Type find . -name "*.bak". The dot means "start here", -name searches by file name, and "*.bak" matches any name ending in .bak.

    3. You get one result: ./projects/portal/old/db_config.bak

    4. Type cat ./projects/portal/old/db_config.bak and copy the flag from the last line.

    Why it matters: forgotten backups often contain passwords and configuration that attackers look for first.