Red & Blue Team Simulation in an Enterprise IoT Infrastructure
End-to-end Cyber Kill Chain executed against a flat SME LAN (192.168.137.0/24) exposing a containerized Tomcat runtime and physical IoT sensors, paired with layered perimeter, NIDS, deception, and Wazuh SIEM correlation.
Offensive Kill Chain
Nmap recon, Tomcat Manager deployment (cmd.jsp / WAR), privileged Docker escape (chroot), offline John the Ripper cracking, Base64 reverse shell, ED25519 SSH persistence (:2222), and Layer-2 ARP spoofing/MitM.
Defense-in-Depth Stack
iptables NAT/DROP perimeter, promiscuous Snort NIDS alerts, Pentbox honeypot with spoofed Raspberry Pi MAC OUI + honeytokens, hardened Portenta H7 HTTP rate protection (503/413, UDP syslog :514), and Wazuh Agent + FIM.
Custom Wazuh Correlation Rules & Firmware Hardening
| Rule ID | Telemetry Source | Detection Objective |
|---|---|---|
100002 |
Pentbox Log | Detects unauthorized INTRUSION ATTEMPT access against decoy HTTP service. |
100011 / 100012 |
Portenta H7 Syslog (:514) | Triggers on physical server-room acoustic spikes and PIR motion alerts. |
100020 / 100030 |
Snort NIDS -> Wazuh | Correlates internal port scans and ARP MITM alerts targeting Portenta H7 & honeypot. |
Firmware hardening extracted hardcoded Wi-Fi/Wazuh IPs into a git-ignored template (arduino_secrets.h.example), enforced bounded 512-byte HTTP header buffers with Slowloris read timeout (HTTP 413), and added a non-blocking 5 s acoustic cooldown.