How dokanii/blue_lab_security works
Project type and purpose
• This is a small-scale “home SOC” (Security Operations Center) mini-lab.
File structure
• configs/ – backups of Raspberry Pi & switch configurations.
• docs/ – IP plan and network topology image.
• README.md – project goals, hardware, current state.
Key components
a. Network switch (Netgear GS305EP) with multiple VLANs and port-mirroring configured.
b. Raspberry Pi 5 (8 GB) hosting Docker + Suricata container(s).
c. Laptop/PC running Nmap scanning scripts and IDE for writing automation.
d. (Planned) Central logging & dashboard (OpenSearch + Kibana).
Relationships and data flows
• Traffic on VLANs (e.g., VLAN10 = servers, VLAN20 = workstations) flows through the switch.
• Switch mirrors all VLAN traffic to the Suricata interface on the Pi (via a mirrored port).
• Suricata inspects mirrored packets, generates alerts/logs.
• Suricata container ships logs (e.g., via Filebeat/Logstash agents) to the central OpenSearch cluster.
• The PC can trigger Nmap scans (targeting VLAN subnets), and Suricata or a script can raise alerts on scan activity.
• Administrators view alerts/dashboards in OpenSearch/Kibana.
Architectural patterns and design principles
• Clear separation of data-plane (mirrored traffic) and management (SSH to Pi, IDE on PC).
• Modular “log forwarder → search index → visualization” pipeline (future).
• VLAN segmentation enforces micro-perimeter within the lab.
• Containerization isolates Suricata and related services on the Pi.
Technologies and frameworks
• Docker (Suricata container, possibly Filebeat/Logstash).
• Suricata IDS engine.
• OpenSearch (or ElasticSearch fork) + Kibana.
• Nmap for active scanning.
• Linux networking (VLAN interfaces on Pi, switch configuration).