Skip to main content
QUICK REVIEW

[Paper Review] Gotham Testbed: a Reproducible IoT Testbed for Security Experiments and Dataset Generation

Xabier Sáez-de-Cámara, José Luis Flores|arXiv (Cornell University)|Jul 28, 2022
Network Security and Intrusion DetectionComputer Science5 citations
TL;DR

This paper introduces Gotham Testbed, a reproducible and extensible IoT security testbed that emulates a realistic network of 100 devices using MQTT, CoAP, and RTSP protocols across 30 switches and 10 routers. It enables dynamic generation of up-to-date, representative datasets for machine learning-based intrusion detection by simulating evolving threats, including the full Mirai botnet lifecycle and red-teaming tools, while ensuring reproducibility through documented configurations and modular design.

ABSTRACT

The growing adoption of the Internet of Things (IoT) has brought a significant increase in attacks targeting those devices. Machine learning (ML) methods have shown promising results for intrusion detection; however, the scarcity of IoT datasets remains a limiting factor in developing ML-based security systems for IoT scenarios. Static datasets get outdated due to evolving IoT architectures and threat landscape; meanwhile, the testbeds used to generate them are rarely published. This paper presents the Gotham testbed, a reproducible and flexible security testbed extendable to accommodate new emulated devices, services or attackers. Gotham is used to build an IoT scenario composed of 100 emulated devices communicating via MQTT, CoAP and RTSP protocols, among others, in a topology composed of 30 switches and 10 routers. The scenario presents three threat actors, including the entire Mirai botnet lifecycle and additional red-teaming tools performing DoS, scanning, and attacks targeting IoT protocols. The testbed has many purposes, including a cyber range, testing security solutions, and capturing network and application data to generate datasets. We hope that researchers can leverage and adapt Gotham to include other devices, state-of-the-art attacks and topologies to share scenarios and datasets that reflect the current IoT settings and threat landscape.

Motivation & Objective

  • To address the scarcity of up-to-date, representative public datasets for IoT security research by providing a reproducible testbed for dynamic dataset generation.
  • To overcome the limitations of static datasets that become outdated due to evolving IoT architectures and threat landscapes.
  • To enable researchers to reproduce, adapt, and extend security experiments by sharing not just datasets, but the full testbed configuration and topology.
  • To support the development and evaluation of machine learning models for IoT intrusion detection through realistic, scalable, and extensible emulation environments.
  • To reduce the gap between academic research and real-world deployment by enabling testbeds that reflect current IoT network settings and attack patterns.

Proposed method

  • The Gotham Testbed leverages GNS3 and Docker to emulate a complex IoT network with 100 devices, 30 switches, and 10 routers, supporting protocols such as MQTT, CoAP, and RTSP.
  • It integrates three threat actors, including the full Mirai botnet lifecycle, along with additional red-teaming tools for DoS, scanning, and protocol-specific attacks.
  • The testbed uses a scenario generator script to dynamically modify network link properties, simulating varying network quality over time.
  • Nodes are designed with modularity and reproducibility in mind, allowing reuse across different scenarios with minimal configuration changes.
  • The testbed supports the creation of digital twins of real-world IoT deployments, enabling evaluation of security solutions and distributed ML techniques like federated learning.
  • Security hardening measures are recommended, such as using QEMU-based VMs instead of privileged Docker containers to isolate potentially malicious malware nodes.

Experimental results

Research questions

  • RQ1How can a reproducible and extensible IoT testbed be designed to support dynamic dataset generation for machine learning-based intrusion detection?
  • RQ2To what extent can a testbed emulate real-world IoT network topologies and evolving attack patterns, including full botnet lifecycles?
  • RQ3How does the inclusion of configurable, modular, and well-documented testbed components improve the reproducibility and adaptability of security experiments?
  • RQ4Can a testbed that supports both network-level and application-level data capture enable the creation of more representative and up-to-date datasets than static public datasets?
  • RQ5What are the practical considerations for securely integrating unknown or potentially malicious malware binaries into an emulation environment?

Key findings

  • The Gotham Testbed successfully emulates a realistic IoT environment with 100 emulated devices, 30 switches, and 10 routers, supporting multiple communication protocols including MQTT, CoAP, and RTSP.
  • The testbed captures comprehensive network and application-level traces, enabling the generation of dynamic, scenario-specific datasets for machine learning model training and evaluation.
  • The inclusion of the full Mirai botnet lifecycle and additional red-teaming tools allows for the simulation of evolving, real-world attack patterns that are often missing in static datasets.
  • The modular and well-documented design of the testbed ensures reproducibility and enables researchers to adapt and extend the setup for new devices, attacks, and topologies with minimal effort.
  • The testbed supports advanced use cases such as federated learning by enabling data collection at different network links, facilitating distributed model training in IoT settings.
  • The authors demonstrate that sharing the testbed infrastructure—not just datasets—significantly enhances reproducibility and reduces the gap between academic research and operational deployment environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.