Zero › Module 5 › Lesson 4
Lab — Segments
Pack microseg overview, east-west matrix, and policy groups — network/microseg file from $ZT_LAB.
Visual · t40_microseg_lab
Lab: microseg pack. $ZT_LAB only. Original Cyberlium.
Opening
Microseg pack merges tier diagram, east-west flows, and policy groups into LAB-ZT-001/network/microseg-pack.md.
Merge M5 lessons into one microseg pack with combined architecture diagram showing segments, flows, and policy group legend. No lateral movement validation, unauthorized scanning, or employer network exports. Next: Quiz — Microsegmentation.
1. Lab contract: microseg pack
microseg-pack.md: overview + east-west matrix + policy groups + combined diagram.
LAB SAMPLE label and link to identity/device packs.
Command guide
Try these commands — Lab contract: microseg pack
═══ TOOLS & WEBSITES ═══ Browse / read these (authorized learning only — stay in YOUR lab / program scope)
NIST SP 800-207 — https://csrc.nist.gov/publications/detail/sp/800-207/final CISA ZTMM Networks — https://www.cisa.gov/zero-trust-maturity-model
═══ INSTALL ═══
Linux (Debian/Ubuntu):
Command — copy this
sudo apt install curl
macOS: Built-in
Windows: Built-in (PowerShell: Invoke-WebRequest)
═══ LINUX / macOS ═══
Command — copy this
export ZT_LAB=${ZT_LAB:-$HOME/cyberlium-lab/t40-zt}
export ZT_NETWORK=${ZT_NETWORK:-$ZT_LAB/LAB-ZT-001/network}
cat > "$ZT_NETWORK/microseg-pack.md" <<'EOF'
# Microsegmentation Pack — LAB-ZT-001
Includes: microseg-overview.md, east-west-flow-matrix.csv, policy-groups-table.md
Combined diagram: tiers + policy group legend + deny-default note
Cross-ref: M3 CA matrix, M4 device compliance tags
Refused: lateral movement validation scripts
LAB SAMPLE — NOT FOR PRODUCTION ARCHITECTURE CLAIMS
EOFCommand — copy this
grep -E 'Microseg|Refused|LAB SAMPLE' "$ZT_NETWORK/microseg-pack.md" cat > "$ZT_LAB/notes/microseg-lab-summary.md" <<'EOF' # Microseg Lab Summary — YOUR lab - east-west-flow-matrix.csv with DENY default row - policy-groups-table.md linked to IdP/MDM ## Integrity - No attack tools; fictional example.zt.local addressing only EOF
Command — copy this
grep -E 'DENY|attack tools' "$ZT_LAB/notes/microseg-lab-summary.md" curl -sS https://csrc.nist.gov/publications/detail/sp/800-207/final | head -3
═══ WINDOWS ═══
Command — copy this
Get-Content $HOME/cyberlium-lab/t40-zt/LAB-ZT-001/network/east-west-flow-matrix.csv | Select-String DENY
Primary tools to practice this lesson: grep, curl. Reference sites: NIST SP 800-207 (https://csrc.nist.gov/publications/detail/sp/800-207/final); CISA ZTMM Networks (https://www.cisa.gov/zero-trust-maturity-model). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.
2. Cross-check
Grep exploit, nmap internal, mimikatz, real subnet CIDRs from employer — remove.
Confirm fictional example.zt.local addressing only.
3. Lock
chmod 600. Quiz next — ZTNA Named.
Microseg pack feeds ZTNA boundary design in M6.
4. What you ship: microseg pack
Merged microseg artifacts in LAB-ZT-001/network/. $ZT_LAB. NO attack tools. chmod 600.
5. What you record before the next lesson
Date. Microseg pack path. $ZT_LAB named. File t40-m05-l04-microseg-lab.txt chmod 600.
6. Wrong vs right: bypass cookbooks vs YOUR ZT design
Worked failure — same MSF word, opposite target. Right never needs a café Wi-Fi or classmate laptop.
Wrong
Add internal pentest script appendix. Paste employer datacenter diagram.
Right
Write microseg pack for $ZT_LAB. Next: Quiz — Microsegmentation.
Mission: microseg pack
1) Merge M5 sections. 2) Combined segment diagram. 3) Ethics cross-refs. 4) chmod 600.
Stuck? Ask Cyberlium AI Mentor
Microseg diagram is core capstone evidence — keep deny-default visible.
Knowledge Check
APPLY: Microseg lab pack includes:
Multiple choice
Knowledge Check
APPLY: True or False: Microseg pack should show deny-default between tiers.
True or False
Knowledge Check
APPLY: Microseg lab refuses:
Multiple choice