USENIX Security2024Top-tier venue
Hermes: Unlocking Security Analysis of Cellular Network Protocols by Synthesizing Finite State Machines from Natural Language Specifications
Abdullah Al Ishtiaq, Sarkar Snigdha Sarathi Das, Syed Md. Mukit Rashid, Ali Ranjbar, Kai Tu, Tianwei Wu, Zhezheng Song, Weixuan Wang, Mujtahid Akon, Rui Zhang, Syed Rafiul Hussain
Abstract
In this paper, we present Hermes, an end-to-end framework to automatically generate formal representations from natural language cellular specifications. We first develop a neural constituency parser, NEUTREX, to process transition-relevant texts and extract transition components (i.e., states, conditions, and actions). We also design a domain-specific language to translate these transition components to logical formulas by leveraging dependency parse trees. Finally, we compile these logical formulas to generate transitions and create the formal model as finite state machines. To demonstrate the effectiveness of Hermes, we evaluate it on 4G NAS, 5G NAS, and 5G RRC specifications and obtain an overall accuracy of 81-87%, which is a substantial improvement over the state-of-the-art. Our security analysis of the extracted models uncovers 3 new vulnerabilities and identifies 19 previous attacks in 4G and 5G specifications, and 7 deviations in commercial 4G basebands.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- SNI5GECT: A Practical Approach to Inject aNRchy into 5G NR cites 5GReasoner: A Property-Directed Security and Privacy Analysis Framework for 5G Cellular Network Protocol
- SNI5GECT: A Practical Approach to Inject aNRchy into 5G NR cites Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE cites Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- CITesting: Systematic Testing of Context Integrity Violations in LTE Core Networks cites LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- CITesting: Systematic Testing of Context Integrity Violations in LTE Core Networks cites CoreCrisis: Threat-Guided and Context-Aware Iterative Learning and Fuzzing of 5G Core Networks
- CITesting: Systematic Testing of Context Integrity Violations in LTE Core Networks cites A Formal Analysis of 5G Authentication
- CITesting: Systematic Testing of Context Integrity Violations in LTE Core Networks cites Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane
- CITesting: Systematic Testing of Context Integrity Violations in LTE Core Networks cites Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- CellularLint: A Systematic Approach to Identify Inconsistent Behavior in Cellular Network Specifications cites LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- CellularLint: A Systematic Approach to Identify Inconsistent Behavior in Cellular Network Specifications cites Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane
- CellularLint: A Systematic Approach to Identify Inconsistent Behavior in Cellular Network Specifications cites 5GReasoner: A Property-Directed Security and Privacy Analysis Framework for 5G Cellular Network Protocol
- CoreCrisis: Threat-Guided and Context-Aware Iterative Learning and Fuzzing of 5G Core Networks cites LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- CoreCrisis: Threat-Guided and Context-Aware Iterative Learning and Fuzzing of 5G Core Networks cites A Formal Analysis of 5G Authentication
- CoreCrisis: Threat-Guided and Context-Aware Iterative Learning and Fuzzing of 5G Core Networks cites Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane
- CoreCrisis: Threat-Guided and Context-Aware Iterative Learning and Fuzzing of 5G Core Networks cites Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- State Machine Mutation-based Testing Framework for Wireless Communication Protocols cites LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- State Machine Mutation-based Testing Framework for Wireless Communication Protocols cites Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane
- State Machine Mutation-based Testing Framework for Wireless Communication Protocols cites Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- A Formal Analysis of 5G Authentication cites LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- A Formal Analysis of 5G Authentication cites Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane cites LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane cites Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- 5GReasoner: A Property-Directed Security and Privacy Analysis Framework for 5G Cellular Network Protocol cites LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- 5GReasoner: A Property-Directed Security and Privacy Analysis Framework for 5G Cellular Network Protocol cites A Formal Analysis of 5G Authentication
- 5GReasoner: A Property-Directed Security and Privacy Analysis Framework for 5G Cellular Network Protocol cites Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane
- 5GReasoner: A Property-Directed Security and Privacy Analysis Framework for 5G Cellular Network Protocol cites Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
Cited by top-tier papers7
- CellularLint: A Systematic Approach to Identify Inconsistent Behavior in Cellular Network SpecificationsMirza Masfiqur Rahman, Imtiaz Karim, Elisa BertinoUSENIX Security 2024 · 17 citations
- State Machine Mutation-based Testing Framework for Wireless Communication ProtocolsSyed Md. Mukit Rashid, Tianwei Wu, Kai Tu, Abdullah Al Ishtiaq et al.CCS 2024 · 4 citations
- SNI5GECT: A Practical Approach to Inject aNRchy into 5G NRShijie Luo, Matheus E. Garbelini, Sudipta Chattopadhyay, Jianying ZhouUSENIX Security 2025
- CITesting: Systematic Testing of Context Integrity Violations in LTE Core NetworksMincheol Son, Kwangmin Kim, Beomseok Oh, CheolJun Park et al.CCS 2025
- CoreCrisis: Threat-Guided and Context-Aware Iterative Learning and Fuzzing of 5G Core NetworksYilu Dong, Tianchang Yang, Abdullah Al Ishtiaq, Syed Md. Mukit Rashid et al.USENIX Security 2025
Builds on16
- A Formal Analysis of 5G AuthenticationDavid A. Basin, Jannik Dreier, Lucca Hirschi, Sasa Radomirovic et al.CCS 2018 · 428 citations
- Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication SystemsAltaf Shaik, Jean-Pierre Seifert, Ravishankar Borgaonkar, N. Asokan et al.NDSS 2016 · 342 citations
- LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTESyed Rafiul Hussain, Omar Chowdhury, Shagufta Mehnaz, Elisa BertinoNDSS 2018 · 225 citations
- 5GReasoner: A Property-Directed Security and Privacy Analysis Framework for 5G Cellular Network ProtocolSyed Rafiul Hussain, Mitziu Echeverria, Imtiaz Karim, Omar Chowdhury et al.CCS 2019 · 188 citations
- Touching the Untouchables: Dynamic Security Analysis of the LTE Control PlaneHongil Kim, Jiho Lee, Eunkyu Lee, Yongdae KimS&P 2019 · 174 citations
Related papers
- Sherlock on Specs: Building LTE Conformance Tests through Automated ReasoningYi Chen, Di Tang, Yepeng Yao, Mingming Zha et al.USENIX Security 2023
- Bookworm Game: Automatic Discovery of LTE Vulnerabilities Through Documentation AnalysisYi Chen, Yepeng Yao, XiaoFeng Wang, Dandan Xu et al.S&P 2021 · 57 citations
- Semantics Over Syntax: Uncovering Pre-Authentication 5G Baseband VulnerabilitiesQiqing Huang, Xingyu Wang, Wanda Guo, Guofei Gu et al.USENIX Security 2026
- Instructions Unclear: Undefined Behaviour in Cellular Network SpecificationsDaniel Klischies, Moritz Schloegel, Tobias Scharnowski, Mikhail Bogodukhov et al.USENIX Security 2023
- 5GC-Fuzz: Finding Deep Stateful Vulnerabilities in 5G Core Network with Black-Box FuzzingYu Sun, Xinyu Liu, Qian Sun, Jiaming Wang et al.INFOCOM 2025 · 5 citations
