Cyberlium
Cyberlium
Cyberlium on Android·Google Play Store

Learn cybersecurity with hands-on labs and AI mentor support on your phone.

Security › Module 2 › Lesson 4

BeginnerModule 2Lesson 4/5

Lab — DiD

Pack layers named, perimeter vs zero trust, and compensating controls — defense-in-depth file from $ARCH_LAB only.

25 min+40 XP3 quiz
Module progress4 of 5

Visual · t41_defense_lab

Lab: defense-in-depth pack. $ARCH_LAB only. Original Cyberlium.

Opening

Defense pack merges layers to model comparison to compensating controls — paperwork before security-by-design module.

Lessons 2-1–2-3 named layers, perimeter vs zero trust, and compensating controls. This lab merges three sections into one $ARCH_LAB defense artifact with M1 ethics cross-reference. No real employer diagram imports or attack cookbooks — defense-in-depth paperwork only. Next: Quiz — Defense in Depth.

1. Lab contract: defense-in-depth pack

Create $HOME/cyberlium-lab/t41-m02-l04-defense-lab.txt merging layers, perimeter vs zero trust, and compensating sections with $ARCH_LAB fictional org LAB-ARCH-001 and M1 ethics cross-reference.

Optional: link layer map to org inventory from M1.

Command guide

Try these commands — Lab contract: defense-in-depth pack

═══ LINUX / macOS (Terminal Practice) ═══

Check system state and user context

Command — copy this

id
whoami
uname -a

Inspect network sockets listening for connections

Command — copy this

ss -tuln 2>/dev/null || netstat -tuln

Audit active processes

Command — copy this

ps aux | grep -v "\[" | head -15

═══ WINDOWS (POWERSHELL) ═══ Query user identity and system information

Command — copy this

whoami /all
Get-ComputerInfo | Select-Object CsName, OsName, OsVersion

Primary tools to practice this lesson: grep, python3. Reference sites: OWASP ASVS (https://owasp.org/www-project-application-security-verification-standard/); Microsoft SDL (https://www.microsoft.com/en-us/securityengineering/sdl/); NIST 800-160 (https://csrc.nist.gov/publications/detail/sp/800-160/vol-1/rev-1/final). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.

2. Cross-check refusal boundaries

Grep pack for attack cookbook language, employer VLAN exports, live target references — redact or delete. Pack stays documentary defensive literacy on fictional org.

Update pack if you rename fictional systems — note new labels.

3. Lock the proof

chmod 600 on the pack. Quiz next — then Shift Left Named.

Defense-in-depth literacy feeds security-by-design lessons in M3.

4. What you ship: defense-in-depth pack for $ARCH_LAB

Merged layers, model comparison, compensating sections. $ARCH_LAB named. NO attack cookbooks. chmod 600.

5. What you record before the next lesson

Date. Defense pack path. $ARCH_LAB named. File t41-m02-l04-defense-lab.txt chmod 600.

6. Wrong vs right: offensive playbooks vs YOUR threat models

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

  • Wrong

    Include employer network diagram in pack. Skip compensating controls section.

  • Right

    Write YOUR defense-in-depth pack for $ARCH_LAB. chmod 600. Next: Quiz — Defense in Depth.

Mission: freeze YOUR defense-in-depth pack

1) Merge M2 literacy sections. 2) Confirm zero attack cookbook or employer diagram refs. 3) Link M1 ethics cross-ref. 4) chmod 600.

Stuck? Ask Cyberlium AI Mentor

One governed defense pack beats ten inconsistent layer screenshots.

Knowledge Check

1

APPLY: This lab requires:

Multiple choice

Knowledge Check

2

APPLY: True or False: Defense pack should reference $ARCH_LAB fictional org LAB-ARCH-001 systems.

True or False

Knowledge Check

3

APPLY: Defense pack should include:

Multiple choice

← Previous

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