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
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SNI5GECT: A Practical Approach to Inject aNRchy into 5G NR 引用了 5GReasoner: A Property-Directed Security and Privacy Analysis Framework for 5G Cellular Network Protocol
- SNI5GECT: A Practical Approach to Inject aNRchy into 5G NR 引用了 Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE 引用了 Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- CITesting: Systematic Testing of Context Integrity Violations in LTE Core Networks 引用了 LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- CITesting: Systematic Testing of Context Integrity Violations in LTE Core Networks 引用了 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 引用了 A Formal Analysis of 5G Authentication
- CITesting: Systematic Testing of Context Integrity Violations in LTE Core Networks 引用了 Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane
- CITesting: Systematic Testing of Context Integrity Violations in LTE Core Networks 引用了 Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- CellularLint: A Systematic Approach to Identify Inconsistent Behavior in Cellular Network Specifications 引用了 LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- CellularLint: A Systematic Approach to Identify Inconsistent Behavior in Cellular Network Specifications 引用了 Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane
- CellularLint: A Systematic Approach to Identify Inconsistent Behavior in Cellular Network Specifications 引用了 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 引用了 LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- CoreCrisis: Threat-Guided and Context-Aware Iterative Learning and Fuzzing of 5G Core Networks 引用了 A Formal Analysis of 5G Authentication
- CoreCrisis: Threat-Guided and Context-Aware Iterative Learning and Fuzzing of 5G Core Networks 引用了 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 引用了 Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- State Machine Mutation-based Testing Framework for Wireless Communication Protocols 引用了 LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- State Machine Mutation-based Testing Framework for Wireless Communication Protocols 引用了 Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane
- State Machine Mutation-based Testing Framework for Wireless Communication Protocols 引用了 Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- A Formal Analysis of 5G Authentication 引用了 LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- A Formal Analysis of 5G Authentication 引用了 Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
- Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane 引用了 LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane 引用了 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 引用了 LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
- 5GReasoner: A Property-Directed Security and Privacy Analysis Framework for 5G Cellular Network Protocol 引用了 A Formal Analysis of 5G Authentication
- 5GReasoner: A Property-Directed Security and Privacy Analysis Framework for 5G Cellular Network Protocol 引用了 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 引用了 Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
引用它的顶会 Paper7
- CellularLint: A Systematic Approach to Identify Inconsistent Behavior in Cellular Network SpecificationsMirza Masfiqur Rahman, Imtiaz Karim, Elisa BertinoUSENIX Security 2024 · 17 次引用
- State Machine Mutation-based Testing Framework for Wireless Communication ProtocolsSyed Md. Mukit Rashid, Tianwei Wu, Kai Tu, Abdullah Al Ishtiaq 等CCS 2024 · 4 次引用
- 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 等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 等USENIX Security 2025
它引用的 Paper16
- A Formal Analysis of 5G AuthenticationDavid A. Basin, Jannik Dreier, Lucca Hirschi, Sasa Radomirovic 等CCS 2018 · 428 次引用
- Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication SystemsAltaf Shaik, Jean-Pierre Seifert, Ravishankar Borgaonkar, N. Asokan 等NDSS 2016 · 342 次引用
- LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTESyed Rafiul Hussain, Omar Chowdhury, Shagufta Mehnaz, Elisa BertinoNDSS 2018 · 225 次引用
- 5GReasoner: A Property-Directed Security and Privacy Analysis Framework for 5G Cellular Network ProtocolSyed Rafiul Hussain, Mitziu Echeverria, Imtiaz Karim, Omar Chowdhury 等CCS 2019 · 188 次引用
- Touching the Untouchables: Dynamic Security Analysis of the LTE Control PlaneHongil Kim, Jiho Lee, Eunkyu Lee, Yongdae KimS&P 2019 · 174 次引用
相关 Paper
- Sherlock on Specs: Building LTE Conformance Tests through Automated ReasoningYi Chen, Di Tang, Yepeng Yao, Mingming Zha 等USENIX Security 2023
- Bookworm Game: Automatic Discovery of LTE Vulnerabilities Through Documentation AnalysisYi Chen, Yepeng Yao, XiaoFeng Wang, Dandan Xu 等S&P 2021 · 57 次引用
- Semantics Over Syntax: Uncovering Pre-Authentication 5G Baseband VulnerabilitiesQiqing Huang, Xingyu Wang, Wanda Guo, Guofei Gu 等USENIX Security 2026
- Instructions Unclear: Undefined Behaviour in Cellular Network SpecificationsDaniel Klischies, Moritz Schloegel, Tobias Scharnowski, Mikhail Bogodukhov 等USENIX Security 2023
- 5GC-Fuzz: Finding Deep Stateful Vulnerabilities in 5G Core Network with Black-Box FuzzingYu Sun, Xinyu Liu, Qian Sun, Jiaming Wang 等INFOCOM 2025 · 5 次引用
