How sbyoroh/soc-cyber works
This is a small AI-assisted SOC/MDR prototype: a packet sensor aggregates network traffic and submits features to an API, which predicts threats, records alerts, and can block remote IPs through the Windows firewall. A Streamlit dashboard displays recorded incidents and manages the API whitelist. The README contains no usable feature documentation; edges below are based on shown source excerpts, and no unseen modules are assumed.
Main entry points: main.py Detection API · dashboard.py SOC Dashboard · real_sensor.py Packet Sensor · train_light.py Light Model Training
Components 11
Traffic Sensing
- Packet Sensor
real_sensor.py
Detection and Response
- Detection API
main.py - Lightweight XGBoost
main.py - Windows Firewall
- Security Alerts
main.py - Whitelist State
main.py
Operations Dashboard
- SOC Dashboard
dashboard.py
Model Training
- Light Model Training
train_light.py - UNSW-NB15 Dataset
- Light Model Artifact
xgb_model_light.pkl
Other components
- Network Traffic
Connections 11
- Network Traffic → Packet Sensor: provides packets
real_sensor.py - Packet Sensor → Detection API: posts features
real_sensor.py - Detection API → Lightweight XGBoost: predicts threats
main.py - Detection API → Windows Firewall: blocks IP
main.py - Detection API → Security Alerts: writes alerts
main.py - SOC Dashboard → Security Alerts: reads incidents
dashboard.py - SOC Dashboard → Detection API: manages whitelist
dashboard.py - Detection API → Whitelist State: updates and lists
main.py - UNSW-NB15 Dataset → Light Model Training: trains from
train_light.py - Light Model Training → Light Model Artifact: saves model
train_light.py - Light Model Artifact → Lightweight XGBoost: loaded at startup
main.py