Advanced › Module 3 › Lesson 4
Lab — Classes
Pack padding oracle, MITM/freq, and weak RNG literacy cards — attack-classes file from $CRYPTO_LAB only.
Visual · t28_classes_lab
Lab: attack classes pack. $CRYPTO_LAB only. Original Cyberlium.
Opening
Attack classes pack merges named threats with defender fixes — paperwork before classic CTF module.
Lessons 3-1–3-3 named padding oracle, MITM/frequency analysis, and weak RNG classes. This lab merges three literacy cards with explicit NO production exploit language and M1 ethics cross-reference. No oracle scripts or live MITM — defender paperwork only. Next: Quiz — Attack Classes Named.
1. Lab contract: attack classes pack
Create $HOME/cyberlium-lab/t28-m03-l04-classes-lab.txt merging oracle, MITM/freq, and weak RNG literacy cards with refusal sentences and M1/M2 cross-references.
Optional: one-line note 'classic freq CTF uses MY plaintext only' — no production hostnames.
Command guide
Try these commands — Lab contract: attack classes 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: CWE crypto index (https://cwe.mitre.org/data/definitions/699.html); NIST SP 800-57 (https://csrc.nist.gov/publications/detail/sp/800-57-part-1/rev-5/final); OpenSSL security (https://www.openssl.org/news/vulnerabilities.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 oracle script, sslstrip steps, token predictor, production API names — remove exploit steps if pasted from forums. Pack must contain refusal language.
Confirm zero production finance domains in notes.
3. Lock the proof
chmod 600 on the pack. Quiz next — then Caesar/Vigenere.
Attack-class literacy feeds classic cipher CTF in M4.
4. What you ship: attack classes pack for $CRYPTO_LAB
Merged oracle, MITM/freq, weak RNG cards with refusal language. $CRYPTO_LAB named. NO exploit scripts. chmod 600.
5. What you record before the next lesson
Date. Classes pack path. $CRYPTO_LAB named. File t28-m03-l04-classes-lab.txt chmod 600.
6. Wrong vs right: prod crypto oracles vs CTF toys
Worked failure — same MSF word, opposite target. Right never needs a café Wi-Fi or classmate laptop.
Wrong
Include padding-oracle PoC script in pack. Add live MITM steps for wallet API.
Right
Write YOUR attack classes pack for $CRYPTO_LAB. chmod 600. Next: Quiz — Attack Classes Named.
Mission: freeze YOUR attack classes pack
1) Merge M3 literacy sections. 2) Confirm refusal sentences present. 3) Link M1 ethics cross-ref. 4) chmod 600.
Stuck? Ask Cyberlium AI Mentor
If your pack contains 'step 1 send ciphertext' for production — delete and rewrite defender fixes.
Knowledge Check
APPLY: This lab requires:
Multiple choice
Knowledge Check
APPLY: True or False: Attack classes pack must include refusal language for production exploits.
True or False
Knowledge Check
APPLY: Padding oracle section should:
Multiple choice