How mkzaidi91/ot-security-lab works
This repository is a hands-on OT/ICS security lab, not a general-purpose application. Its main workflow is an unauthorized Modbus write against a simulated PLC, detection by Suricata, forwarding to Wazuh, and OT-safe triage into an incident case. The graph also preserves the lab’s network/process modeling, traffic baselining, behavioral detection, and deployment capabilities. Relationships are based on the README and the sampled SOAR playbook; unsampled configuration and documentation are represented by their exact repository paths, but their internal wiring is not inferred.
Main entry points: ot_soar_response.py OT SOAR Playbook · ot-suricata.sh Suricata Sensor · docker-compose.yml Container Topology · 05-siem-integration.md Wazuh Agent
Components 22
Lab Environment
- Container Topology
docker-compose.yml - OT Network Map
docs/01-network-map.md - Traffic Baseline
docs/02-traffic-baseline.md - OT Router
docker-compose.yml - ESXi Deployment
docs/07-esxi-deployment.md
Attack and Process
- Kali Attacker
- OpenPLC Controller
docker-compose.yml - Process HMI
docker-compose.yml - Attack Walkthrough
docs/03-attack.md
Detection and SIEM
- Suricata Sensor
deploy/ot-suricata.sh - Modbus Signatures
detections/ot-modbus.rules - Behavioral Rules
docs/06-behavioral-detection.md - Detection Walkthrough
docs/04-detection.md - Wazuh Agent
docs/05-siem-integration.md - Wazuh SIEM
docker-compose.yml
SOAR Response
- Wazuh Active Response
soar/active-response.conf - Wazuh Response Rules
soar/local_rules.xml - OT SOAR Playbook
soar/ot_soar_response.py - Incident Case Files
- Response Playbook
soar/ir-playbook-unauthorized-modbus-write.md
Other components
- Operator
- Notification Webhook
Connections 18
- Operator → Process HMI: observes process
README.md - Kali Attacker → OT Router: sends Modbus write
README.md - OT Router → OpenPLC Controller: routes write
README.md - OpenPLC Controller → Process HMI: changes process state
README.md - Suricata Sensor → Modbus Signatures: matches traffic
README.md - Suricata Sensor → Behavioral Rules: checks behavior
README.md - Wazuh Agent → Wazuh SIEM: ships alerts
README.md - Suricata Sensor → Wazuh Agent: emits alerts
README.md - Wazuh SIEM → Wazuh Response Rules: evaluates alert
README.md - Wazuh Response Rules → Wazuh Active Response: triggers response
README.md - Wazuh Active Response → OT SOAR Playbook: runs playbook
README.md - OT SOAR Playbook → Incident Case Files: writes case
soar/ot_soar_response.py - OT SOAR Playbook → Notification Webhook: notifies
soar/ot_soar_response.py - OT SOAR Playbook → Response Playbook: stages recommendation
README.md - Container Topology → OT Router: configures network
README.md - Container Topology → OpenPLC Controller: hosts controller
README.md - Container Topology → Process HMI: hosts HMI
README.md - ESXi Deployment → Suricata Sensor: documents deployment
README.md