Repository navigation
What's New in v0.13.0
Guided Tutorial System
ICS Simulator now includes a built-in step-by-step tutorial engine for guided attack scenarios.
TutorialPanel — A floating, draggable overlay that appears automatically when you open a scenario containing tutorial steps:
- Progress bar showing current step position
- Instructional body with inline Markdown (bold, code spans, bullet lists)
- Command copy block — one click to copy shell commands into the attack terminal
- Success-check hint confirming what to look for after each step
- Previous / Next navigation + keyboard arrow support (← →)
- Minimise button collapses to a header strip so the canvas stays visible
- Amber 🎓 Tutorial toolbar button reopens the panel after dismissal
Schema additions:
TutorialStepinterface:id,title,body,command?,successCheck?meta.tutorialSteps?: TutorialStep[]inICSLabMetaDnsConfiginterface:domain?,webServerIp?,upstream?DeviceConfig.dns?: DnsConfigwith env injection in compose generator
Tutorial 01 — Modbus Coil Write Attack
scenarios/tutorial-01-modbus-coil-write.icslab
An 8-step guided scenario covering a complete ICS attack chain against a water treatment facility:
| Step | What students do |
|---|---|
| 1 — OSINT | curl the Meridian Process Controls website; discover OT subnet + credentials in HTML source |
| 2 — Page source | Fetch /remote.html; grab HTTP banner (nginx 1.27 via server_tokens on) |
| 3 — DNS enum | Query the dnsmasq DNS server for all meridian-process.com subdomains |
| 4 — Nmap OT scan | Identify Modbus TCP hosts at 10.200.10.10 (PLC) and 10.200.10.20 (process unit) |
| 5 — Modbus read | Read baseline coil + register state via pymodbus |
| 6 — Coil write | Start inlet pump (Coil 0=1) + close outlet valve (Coil 1=0) → tank overflow |
| 7 — Observe | Watch Grafana dashboard; tank level register rises past overflow threshold |
| 8 — Debrief | Remediation: add firewall rule blocking Modbus from attacker-net; explanation of detection signals |
Topology: PLC · Process Unit (water tank) · OT Switch · HMI · Historian · Firewall · DMZ Router · Meridian company website · DNS server · Kali Linux attack machine
Deliberately insecure: The scenario firewall allows Modbus TCP from the attacker subnet — students add a deny rule as the remediation exercise.
What's Next (v0.14.0)
- macOS + Linux Electron packaging and distribution