Cyberlium

Vulnerability › Module 3 › Lesson 4

BeginnerModule 3Lesson 4/5

Inventory Lab

Asset inventory pack on $LAB_HOST — asset row, discovery note, scope list; lab-only discovery optional.

15 min+40 XP3 quiz
Module progress4 of 5

Visual · inventory_lab

Lab: asset inventory pack. $LAB_HOST only. Original Cyberlium.

Opening

One asset, one scope file, optional single-host nmap — zero dorm sweeps.

Module 3 lessons covered assets, discovery literacy, and scope lists. This lab ships combined evidence: asset row, discovery template or optional nmap -sV against $LAB_HOST only, scope list — merged under $HOME/cyberlium-lab. Optional: run nmap -sV on $LAB_HOST after RoE check; forbidden: any other IP range. Next: Quiz — Asset Inventory.

1. Lab contract: scope before packets

Open scope list — confirm only $LAB_HOST in-scope. Merge asset row and discovery sections into t18-m03-l04-inventory-lab.txt.

Optional nmap: single host $LAB_HOST from your workstation; save redacted output to notes — no stranger IPs.

Command guide

Try these commands — Lab contract: scope before packets

═══ TOOLS & WEBSITES ═══ Browse / read these (authorized learning only — stay in YOUR lab / program scope)

Nmap output — https://nmap.org/book/man-output.html Greenbone OpenVAS — https://www.greenbone.net/en/openvas/

═══ INSTALL ═══

Linux (Debian/Ubuntu):

Command — copy this

sudo apt install nmap

macOS:

Command — copy this

brew install nmap

Windows:

Command — copy this

choco install nmap  # or download https://nmap.org/download.html

═══ LINUX / macOS ═══

Command — copy this

source "$HOME/cyberlium-lab/t18-lab.env"
nmap -oN "$HOME/cyberlium-lab/t18-inventory.txt" -sV --top-ports 20 "$LAB_HOST"
grep -E '^[0-9]+/|open' "$HOME/cyberlium-lab/t18-inventory.txt" | head -15

Primary tools to practice this lesson: nmap, grep. Reference sites: Nmap output (https://nmap.org/book/man-output.html); Greenbone OpenVAS (https://www.greenbone.net/en/openvas/). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.

2. Merge module artifacts

Combine lessons 3-1 through 3-3. Update asset row service column if optional discovery ran.

Redact any accidental neighbor mentions to out-of-scope column.

3. Lock the proof

chmod 600. Quiz next — then Scanner Literacy.

Clean scope files prevent the worst VA failure: scanning the wrong network.

4. What you ship: asset inventory pack for $LAB_HOST

Asset row, discovery note, scope list. Optional nmap $LAB_HOST only. chmod 600.

5. What you record before the next lesson

Date. Inventory pack on $LAB_HOST. File t18-m03-l04-inventory-lab.txt chmod 600.

6. Wrong vs right: stranger nets vs YOUR lab assets

Worked failure — same MSF word, opposite target. Right never needs a café Wi-Fi or classmate laptop.

  • Wrong

    Include dorm nmap output. Scope list with /16 campus range.

  • Right

    Inventory pack on $LAB_HOST. Next: Quiz — Asset Inventory.

Mission: inventory evidence pack

1) Verify scope list — $LAB_HOST only. 2) Merge asset, discovery, scope sections. 3) Optional nmap -sV $LAB_HOST. 4) chmod 600. Never scan out-of-scope IPs.

Stuck? Ask Cyberlium AI Mentor

If nmap shows unexpected ports, note them — do not scan neighbors to compare.

Knowledge Check

1

APPLY: Inventory Lab optional nmap runs against:

Multiple choice

Knowledge Check

2

APPLY: True or False: Scope list should be finalized before discovery packets.

True or False

Knowledge Check

3

APPLY: Neighbor IP in nmap output by mistake:

Multiple choice

← Previous

Answer all 3 knowledge checks to continue. (0/3 answered)