MobiDojo: A Virtual Security Combat Platform for 5G Cellular Networks

Hyunwoo Lee, Haohuang Wen, Phillip Porras, Vinod Yegneswaran, Ashish Gehani, Prakhar Sharma, Zhiqiang Lin2025

Introduction

The transition to 5G cellular networks introduces a significantly expanded attack surface. While 5G offers high throughput and low latency, its software-defined nature and legacy 4G vulnerabilities create complex security challenges. Research in this domain often faces high barriers to entry, including the extreme complexity of deploying open-source 5G stacks like OpenAirInterface (OAI), the requirement for expensive Software Defined Radios (SDRs), and a lack of intuitive visual tools for monitoring network health during security testing.

Conceptual 5G network architecture including User Equipment (UE), Base Station, and Core Network functions.

MobiDojo addresses these hurdles by providing a virtualized, "one-click" security combat platform. It containerizes the entire 5G stack, allowing researchers and students to deploy, monitor, and attack a full 5G network without specialized hardware.

System Architecture and Methods

MobiDojo is built upon a containerized architecture utilizing Docker and the OpenAirInterface 5G stack. The platform's core innovation is its integrated management and visualization layer, accessible via a web-based graphical user interface (GUI).

The MobiDojo dashboard, featuring the network architecture visualizer, control panel, log monitor, and attack simulation tools.

Key components of the platform include:

  • One-Click Deployment: A Flask-based GUI manages Docker Compose configurations, enabling users to instantiate the User Equipment (UE), Base Station (gNB), and Core Network (including AMF, UPF, and SMF) with a single interaction.
  • Integrated Attack Plugins: The platform incorporates 5G-Spector for pre-configured protocol-level attacks and 5Greplay for traffic injection.
  • PCAP Modifier: A specialized tool for modifying 5G packets (specifically NGAP messages). It supports both manual hexadecimal editing and an "Auto Modifier" that ensures structural validity according to 3GPP standards.
  • Real-Time Monitoring: A live dashboard provides visual status indicators for all network components alongside a real-time log monitor to diagnose the impact of exploits.

Key Insights: Democratizing 5G Security

The primary contribution of MobiDojo is the democratization of 5G security research. By abstracting away the complexities of SDR hardware and command-line configuration, the platform enables 5G security education in classroom settings and Capture-the-Flag (CTF) competitions.

A critical feature is the visual feedback loop. When an attack, such as a Base Transceiver Station (BTS) resource depletion, is launched, the dashboard provides immediate visual cues—such as the gNB icon turning red—and displays corresponding error messages in the log monitor. This immediate correlation between an exploit and its system-wide impact is invaluable for learning network resilience.

Experimental Results

The platform's efficacy was validated through two primary scenarios:

  1. Automated DoS Attack: A BTS resource depletion attack was executed, and MobiDojo successfully visualized the gNB failure and the subsequent disconnection of all UEs.
  2. Manual Protocol Manipulation: Using the PCAP Modifier, researchers altered a Public Land Mobile Network (PLMN) code within an InitialUEMessage. Replaying this modified packet triggered an "illegal gNB association" error in the AMF logs, demonstrating the tool's utility in identifying edge cases in core network logic.

Conclusion and Future Work

MobiDojo provides a robust, accessible environment for 5G security testing. While currently focused on the NGAP interface, future development aims to expand coverage to other standard interfaces (e.g., F1) and integrate with Open RAN (O-RAN) components like the RAN Intelligent Controller (RIC). While purely virtual environments cannot replicate all physical layer (RF) nuances, MobiDojo serves as a vital bridge for researchers entering the 5G security landscape.

Summary updated

BibTeX
@misc{lee2025mobidojo,
  author = {Hyunwoo Lee and Haohuang Wen and Phillip Porras and Vinod Yegneswaran and Ashish Gehani and Prakhar Sharma and Zhiqiang Lin},
  title = {{MobiDojo: A Virtual Security Combat Platform for 5G Cellular Networks}},
  year = {2025},
  doi = {10.14722/futureg.2025.23035},
}
Figure