How gt-iotedu/attackzoo-sbseg26 works
AttackZoo is a Docker-based testbed for controlled network and IoT attack experiments. The principal workflow is to select a catalogued attack, run it against a target alongside benign traffic, capture packets and collect probes or telemetry, then extract features, build datasets, and generate reports. CLI and optional Streamlit UI expose these capabilities; experiment campaigns and attack/target containers are also documented product branches. Some connections rely on README statements or SOURCE INDEX references because source excerpts are partial; unsampled wiring is not assumed.
Main entry points: commands.py CLI commands · experiment.py Experiment orchestration · registry.py Attack catalog · attackzoo_st.py Streamlit UI
Components 22
User interfaces
- AttackZoo CLI
attackzoo.py - CLI dispatcher
modules/attackzoo/main.py - Command parser
modules/attackzoo/parser.py - CLI commands
modules/attackzoo/commands.py - Streamlit UI
modules/attackzoo_st.py
Scenario execution
- Attack catalog
modules/registry.py - Attack containers
docker/attackers - Target servers
docker/servers - Benign clients
docker/clients - Experiment orchestration
modules/attackzoo/experiment.py - Campaign workflows
contrib/scripts
Evidence collection
- Packet capture
modules/attackzoo/capture.py - Availability probes
modules/attackzoo/probes.py - Resource telemetry
modules/attackzoo/telemetry.py - PCAP and run artifacts
Dataset and analysis
- Feature extraction
modules/features.py - Dataset builder
modules/datasets.py - Availability reports
modules/attackzoo/reports/availability.py - Server statistics
modules/attackzoo/reports/server_stats.py - Stability reports
modules/attackzoo/reports/stability.py
Other components
- Experimenter
- Docker runtime
Connections 35
- Experimenter → AttackZoo CLI: invokes
- Experimenter → Streamlit UI: uses
- AttackZoo CLI → CLI dispatcher: starts
- CLI dispatcher → Command parser: builds parser
modules/attackzoo/main.py - Command parser → CLI commands: dispatches to
modules/attackzoo/parser.py - CLI commands → Attack catalog: queries
modules/attackzoo/commands.py - CLI commands → Experiment orchestration: runs
modules/attackzoo/commands.py - CLI commands → Packet capture: controls
modules/attackzoo/commands.py - CLI commands → Feature extraction: extracts
modules/attackzoo/commands.py - CLI commands → Dataset builder: builds
modules/attackzoo/commands.py - CLI commands → Availability reports: generates
modules/attackzoo/commands.py - CLI commands → Server statistics: generates
modules/attackzoo/commands.py - CLI commands → Stability reports: generates
modules/attackzoo/commands.py - Streamlit UI → Attack catalog: lists attacks
modules/attackzoo_st.py - Streamlit UI → Feature extraction: extracts
modules/attackzoo_st.py - Streamlit UI → Dataset builder: builds
modules/attackzoo_st.py - Attack catalog → Attack containers: loads definitions
modules/registry.py - Attack catalog → Docker runtime: launches
modules/registry.py - Experiment orchestration → Attack catalog: resolves attack
modules/attackzoo/experiment.py - Experiment orchestration → Packet capture: starts capture
modules/attackzoo/experiment.py - Experiment orchestration → Availability probes: starts probes
modules/attackzoo/experiment.py - Experiment orchestration → Resource telemetry: collects metrics
modules/attackzoo/experiment.py - Experiment orchestration → PCAP and run artifacts: writes run data
- Experiment orchestration → Target servers: targets services
- Experiment orchestration → Benign clients: runs alongside
- Packet capture → PCAP and run artifacts: writes PCAP
- Availability probes → PCAP and run artifacts: writes probe data
- Resource telemetry → PCAP and run artifacts: writes metrics
- Feature extraction → PCAP and run artifacts: reads PCAP
- Feature extraction → Dataset builder: provides CSVs
modules/datasets.py - Dataset builder → PCAP and run artifacts: writes datasets
- Availability reports → PCAP and run artifacts: reads probes
modules/attackzoo/reports/availability.py - Server statistics → PCAP and run artifacts: reports statistics
- Stability reports → PCAP and run artifacts: summarizes runs
modules/attackzoo/reports/stability.py - Experimenter → Campaign workflows: runs campaigns