CellSecInspector : Safeguarding Cellular Networks via Automated Security Analysis on Specifications Conference: Preprint; Preprint; Preprint

Ke Xie, Xingyi Zhao, Yiwen Hu, Munshi Saifuzzaman, Wen Li, Shuhan Yuan, Tian Xie, Guan-Hua Tu · 2025

Read CellSecInspector : Safeguarding Cellular Networks via Automated Security Analysis on Specifications Conference: Preprint; Preprint; Preprint by Ke Xie, Xingyi Zhao, Yiwen Hu, Munshi Saifuzzaman, Wen Li, Shuhan Yuan, Tian Xie, Guan-Hua Tu (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2512-24682.txt.

Introduction

Ke Xie, Xingyi Zhao, Min-Yue Chen, Yu-An Chen, and co-authors introduce CellSecInspector, a tool that searches cellular network rules for security flaws automatically. Modern 3GPP specifications are huge, linked, and fast changing, so manual review misses deep links between clauses. Their system turns procedures into structured state, condition, and action records.

Those records are chained into full network functions and checked against nine basic security properties under four attacker scenarios. The tool also generates test cases from what it finds. Readers in mobile security get an end-to-end method for finding specification weaknesses that rule lists and small hand-made checks often miss.

Catalog record

CREATORKe Xie, Xingyi Zhao, Yiwen Hu, Munshi Saifuzzaman, Wen Li, Shuhan Yuan, Tian Xie, Guan-Hua Tu
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE85 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2512-24682

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

CellSecInspector : Safeguarding Cellular Networks via Automated Security Analysis on Specifications Conference: Preprint; Preprint; Preprint Ke Xie, Xingyi Zhao, Yiwen Hu, Munshi Saifuzzaman, Wen Li, Shuhan Yuan, Tian Xie, Guan-Hua Tu Abstract . The complexity, interdependence, and rapid evolution of 3GPP specifications present fundamental challenges for ensuring the security of modern cellular networks. Manual reviews and existing automated approaches, which often depend on rule-based parsing or small sets of manually crafted security requirements, fail to capture deep semantic dependencies, cross-sentence/clause relationships, and evolving specification behaviors. In this work, we present CellSecInspector , an automated framework for security analysis of 3GPP specifications. CellSecInspector extracts structured state–condition–action (SCA) representations, models mobile network procedures with comprehensive function chains, systematically validates them against 9 foundational security properties under 4 adversarial scenarios, and automatically generates test cases. This end-to-end pipeline enables the automated discovery of vulnerabilities without relying on manually predefined security requirements or rules. Applying CellSecInspector to the well-studied 5G and 4G NAS and RRC specifications, it discovers 43 vulnerabilities, 8 of which are previously unreported. Our findings show that CellSecInspector is a scalable, adaptive, and effective solution to assess 3GPP specifications for safeguarding operational and next-generation cellular networks. 1. Introduction Cellular networks are critical for modern global connectivity, with 5G and 4G forming the backbone of modern mobile communication systems. Technical specifications and architectures are standardized by the 3rd Generation Partnership Project (3GPP), an association of seven Organizational Partners, including ATIS in the U.S., ETSI in Europe, and CCSA in China. Thousands of specifications are published by 3GPP to ensure global interoperability across mobile networks and devices. Consequently, mobile equipment vendors and operators are required to ensure compliance with 3GPP specifications. However, this standardization introduces systemic risks: design flaws in 3GPP specifications can propagate into all compliant networks and devices, creating widespread threats with global negative impact . Moreover, the increasing complexity, frequent revisions, and evolving new generations of mobile networks continue to expand attack surfaces. To mitigate those risks, researchers spend increasing effort to scrutinize cellular network specifications and services documented in the 3GPP specifications to identify design issues. However, the traditional manual analysis by experts is slow, error-prone, and infeasible at scale. State-of-the-art automated approaches primarily rely on rule-based approaches (e.g., dependency parsing ( 16 ; 5 ) , and keyword-driven scanning (e.g., hazard indicators ( 16 ) ), failing to capture the deeper and implicit knowledge in 3GPP specifications. As a result, vulnerabilities in critical mobile network procedures continue to be exploited, enabling attacks such as downgrade attacks ( 46 ; 16 ; 6 ; 33 ; 36 ; 37 ; 31 ; 29 ; 34 ; 12 ) . These methods suffer from three fundamental limitations: (1) they lack deep insights into the logic, processes, and context of specification texts, particularly when dealing with cross-sentence/clause dependencies; (2) their security requirements are manually developed for specific procedures, which severely limits scalability across the thousands of 3GPP specifications; (3) their analysis pipelines require costly manual updates to remain synchronized with evolving 3GPP releases. These limitations highlight the urgent need for an intelligent, automated system capable of understanding 3GPP specifications and systematically assessing them. In this study, we develop CellSecInspector ( Cell ular Network Sec urity Inspector ), an intelligent, automated framework capable of understanding 3GPP specifications and systematically assessing them via foundational security properties. CellSecInspector models mobile networks in structured SCA (state-condition–action) representations from 3GPP specifications, and examines them with foundational security properties. By integrating specification analysis with automated test case generation, CellSecInspector delivers a scalable, adaptive, and future-proof solution for 3GPP specification security assessment. In this study, CellSecInspector analyzes the critical NAS and RRC layers for current operational 5G and 4G mobile networks. While most NAS and RRC designs function properly, CellSecInspector not only discovers 35 previously reported vulnerabilities but also uncovers 8 new vulnerabilities across 5G and 4G NAS and RRC specifications. We summarize our contributions as follows. New Framework: We developed CellSecInspector , a novel framework for automated security assessment of 3GPP specifications, advancing toward fully automated and scalable specification analysis for safeguarding not only operational 5G/4G cellular networks but also Next-G mobile networks. New Dataset: To support training, evaluation, and community research, we develop a new dataset that integrates 5G/4G NAS and RRC specifications, comprising over 29,000 normalized sentences. From them, we construct three evaluation benchmarks. To the best of our knowledge, this is the first publicly available dataset that systematically organizes 3GPP specifications and provides corresponding evaluation tasks tailored to assess models’ ability to read and understand 3GPP specifications. New findings: Applying CellSecInspector to 5G and 4G NAS and RRC specifications, we discovered 43 vulnerabilities, 8 of which were previously unreported. They are shown to have serious security consequences, demonstrating the urgent need for automated 3GPP specification analysis and the effectiveness of CellSecInspector in identifying known and previously undetected vulnerabilities. It shows that our discovery can indeed help protect the cellular network systems. 2. Background Non-Access Stratum (NAS): The NAS is a key component of the control plane in modern 5G and 4G cellular networks, managing mobility, session control, and security between user equipment (UE) and the core network. It ensures seamless session establishment, authentication, and mobility across different networks. Radio Resource Control (RRC): The RRC operates within the Access Stratum (AS) of both 5G and 4G networks and manages signaling between the UE and the radio access network (RAN). It handles connection setup, maintenance, release, handovers, paging, measurement reporting, and security configuration. Large Language Models (LLMs): LLMs have emerged as powerful systems trained on massive text corpora to perform a wide range of natural language processing tasks, including comprehension, reasoning, and generation. Modern LLMs, including ChatGPT ( 11 ) , DeepSeek ( 7 ) , have demonstrated impressive emergent abilities across diverse tasks, showing that LLMs can go beyond text processing to support domain-specific reasoning. This capability makes LLMs a promising foundation for analyzing complex 3GPP specifications, where precision, contextual understanding, and reasoning across specifications are critical. 3. Overview of CellSecInspector Figure 1 . CellSecInspector Overview 3.1. Approach Skeleton Figure 1 shows the overview of CellSecInspector , which can automatically comprehend 5G and 4G complicated 3GPP specifications, model the mobile network functions using structured state-condition-action (SCA) representations, and examine whether the 3GPP-designed procedures can violate foundational security properties. Five primary components of CellSecInspector are developed: SpecTrainer ( Spec ification Trainer ), SCA Representation Extractor , Function Chain Builder , SecOracle ( Sec urity Oracle ), and VulnTester ( Vuln erability Tester ). SpecTrainer takes the collected and curated corpus, composed of 3GPP 5G and 4G technical specifications. These specifications are used to train our system for learning the cellular network domain knowledge. Two components are involved to comprehensively model the complicated mobile network functions. SCA Representation Extractor parses and extracts the SCA nodes from 3GPP specifications and the internal domain knowledge learned via SpecTrainer . Function Chain Builder connected scattered SCA nodes into function chains for comprehensively modeling the cellular network services specified in 3GPP specifications. Next, SecOracle conducts the security checking using the foundational security properties. Lastly, VulnTester automatically generates test cases for validating vulnerabilities in the real world. 3.2. Challenges and Insights C1: Inherent complexity and vastness of 3GPP specifications. The first challenge

Read the complete text