Incident › Module 5 › Lesson 4
Lab — Containment
Pack containment options, short vs long, and decision trees cards — containment file from $IR_LAB only.
Visual · t34_containment_lab
Lab: containment pack. $IR_LAB only. Original Cyberlium.
Opening
Containment pack merges options to short/long to decision trees — paperwork before eradication module.
Lessons 5-1–5-3 named containment options, short vs long tiers, and decision trees. This lab merges three sections into one $IR_LAB containment artifact with M1 ethics and M4 analysis cross-references. No stranger-network isolation or ransomware payloads — containment literacy paperwork only. Next: Quiz — Containment Literacy.
1. Lab contract: containment pack
Create $HOME/cyberlium-lab/t34-m05-l04-containment-lab.txt merging options, short vs long, and decision tree sections with $IR_LAB fictional scenario and M1/M4 cross-references.
Optional: link decision tree root to analysis hypothesis from M4 pack.
Command guide
Try these commands — Lab contract: containment pack
═══ LINUX / BASH (SOC Analyst Triage) ═══
Filter system logs for security-relevant warnings and errors
Command — copy this
journalctl -p 3 -xb --no-pager | head -20
Search for suspicious persistent cron entries or service changes
Command — copy this
ls -lat /etc/cron.* /etc/systemd/system/ | head -15
═══ WINDOWS POWERSHELL ═══ Triage recent system service installations (Event 7045)
Command — copy this
Get-WinEvent -FilterHashtable @{LogName='System';Id=7045} -MaxEvents 5 -ErrorAction SilentlyContinue | Format-Table TimeCreated, Message -WrapCheck open listening network connections with process owners
Command — copy this
Get-NetTCPConnection -State Listen | Select-Object LocalAddress, LocalPort, OwningProcess | Sort-Object LocalPort
Primary tools to practice this lesson: grep, python3. Reference sites: NIST SP 800-61 (https://csrc.nist.gov/publications/detail/sp/800-61/rev-2/final); CISA (https://www.cisa.gov/stopransomware); ISO/IEC 27035 (https://www.iso.org/standard/78973.html). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.
2. Cross-check ethics
Grep for stranger-network refs, ransomware payload steps, unauthorized isolate commands — remove. Confirm all actions target YOUR org assets on paper only.
Tabletop narrative only — no live containment execution required in this lab.
3. Lock the proof
chmod 600 on the pack. Quiz next — then Eradication Named.
Containment literacy feeds eradication and recovery lessons in M6.
4. What you ship: containment pack for $IR_LAB
Merged options, short/long, tree sections. $IR_LAB named. YOUR org only. chmod 600.
5. What you record before the next lesson
Date. Containment pack path. $IR_LAB named. File t34-m05-l04-containment-lab.txt chmod 600.
6. Wrong vs right: stranger networks vs YOUR IR tabletop
Worked failure — same MSF word, opposite target. Right never needs a café Wi-Fi or classmate laptop.
Wrong
Include stranger-network isolate steps. Deploy ransomware to test tree.
Right
Write YOUR containment pack for $IR_LAB. chmod 600. Next: Quiz — Containment Literacy.
Mission: freeze YOUR containment pack on disk
1) Merge M5 literacy sections. 2) Confirm YOUR org asset scope only. 3) Link M1/M4 cross-refs. 4) chmod 600.
Stuck? Ask Cyberlium AI Mentor
One governed containment pack beats ad-hoc isolate commands under stress.
Knowledge Check
APPLY: This lab requires:
Multiple choice
Knowledge Check
APPLY: True or False: Containment pack actions must scope to YOUR org assets.
True or False
Knowledge Check
APPLY: Containment pack supports:
Multiple choice