Lune

USENIX Security2023Top-tier venue

Sherlock on Specs: Building LTE Conformance Tests through Automated Reasoning

Yi Chen, Di Tang, Yepeng Yao, Mingming Zha, XiaoFeng Wang, Xiaozhong Liu, Haixu Tang, Baoxu Liu

Abstract

Conformance tests are critical for finding security weaknesses in carrier network systems. However, building a conformance test procedure from specifications is challenging, as indicated by the slow progress made by the 3GPP, particularly in developing security-related tests, even with a large amount of resources already committed. A unique challenge in building the procedure is that a testing system often cannot directly invoke the condition event in a security requirement or directly observe the occurrence of the operation expected to be triggered by the event. Addressing this issue requires an event chain to be found, which once initiated leads to a chain reaction so the testing system can either indirectly triggers the target event or indirectly observe the occurrence of the expected event. To find a solution to this problem and make progress towards a fully automated conformance test generation, we developed a new approach called Contester, which utilizes natural language processing and machine learning to build an event dependency graph from a 3GPP specification, and further perform automated reasoning on the graph to discover the event chains for a given security requirement. Such event chains are further converted by Contester into a conformance test procedure, which is then executed by a testing system to evaluate the compliance of user equipment (UE) with the security requirement. Our evaluation shows that given 22 security requirements from the LTE NAS specification, Contester successfully generated over a hundred test procedures in just 25 minutes. After running these procedures on 22 popular UEs including iPhone 13, Pixel 5a and IoT devices, our approach uncovered 197 security requirement violations, with 190 never reported before, rendering these devices to serious security risks such as MITM, fake base station and reply attacks.

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.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • 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 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 Automated Attack Synthesis by Extracting Finite State Machines from Protocol Specification Documents
  • CellularLint: A Systematic Approach to Identify Inconsistent Behavior in Cellular Network Specifications 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 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 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 Logic Gone Astray: A Security Analysis Framework for the Control Plane Protocols of 5G Basebands
  • 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
  • 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
  • Logic Gone Astray: A Security Analysis Framework for the Control Plane Protocols of 5G Basebands cites LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
  • Logic Gone Astray: A Security Analysis Framework for the Control Plane Protocols of 5G Basebands cites Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane
  • Logic Gone Astray: A Security Analysis Framework for the Control Plane Protocols of 5G Basebands cites Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Logic Gone Astray: A Security Analysis Framework for the Control Plane Protocols of 5G BasebandsKai Tu, Abdullah Al Ishtiaq, Syed Md. Mukit Rashid, Yilu Dong et al.USENIX Security 2024 · 26 citations
  2. CellularLint: A Systematic Approach to Identify Inconsistent Behavior in Cellular Network SpecificationsMirza Masfiqur Rahman, Imtiaz Karim, Elisa BertinoUSENIX Security 2024 · 17 citations
  3. LineBreaker: Finding Token-Inconsistency Bugs with Large Language ModelsHongbo Chen, Yifan Zhang, Xing Han, Tianhao Mao et al.ASE 2025 · 3 citations
  4. CITesting: Systematic Testing of Context Integrity Violations in LTE Core NetworksMincheol Son, Kwangmin Kim, Beomseok Oh, CheolJun Park et al.CCS 2025
  5. 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 on12

  1. A Survey of Data Augmentation Approaches for NLPSteven Y. Feng, Varun Gangal, Jason Wei, Sarath Chandar et al.ACL Findings 2021 · 708 citations
  2. 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
  3. LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTESyed Rafiul Hussain, Omar Chowdhury, Shagufta Mehnaz, Elisa BertinoNDSS 2018 · 225 citations
  4. Touching the Untouchables: Dynamic Security Analysis of the LTE Control PlaneHongil Kim, Jiho Lee, Eunkyu Lee, Yongdae KimS&P 2019 · 174 citations
  5. Automated Attack Synthesis by Extracting Finite State Machines from Protocol Specification DocumentsMaria Leonor Pacheco, Max von Hippel, Ben Weintraub, Dan Goldwasser et al.S&P 2022 · 58 citations

Related papers

  1. Hermes: Unlocking Security Analysis of Cellular Network Protocols by Synthesizing Finite State Machines from Natural Language SpecificationsAbdullah Al Ishtiaq, Sarkar Snigdha Sarathi Das, Syed Md. Mukit Rashid, Ali Ranjbar et al.USENIX Security 2024 · 28 citations
  2. Semantics Over Syntax: Uncovering Pre-Authentication 5G Baseband VulnerabilitiesQiqing Huang, Xingyu Wang, Wanda Guo, Guofei Gu et al.USENIX Security 2026
  3. Bookworm Game: Automatic Discovery of LTE Vulnerabilities Through Documentation AnalysisYi Chen, Yepeng Yao, XiaoFeng Wang, Dandan Xu et al.S&P 2021 · 57 citations
  4. Seeing the Forest for the Trees: Understanding Security Hazards in the 3GPP Ecosystem through Intelligent Analysis on Change RequestsYi Chen, Di Tang, Yepeng Yao, Mingming Zha et al.USENIX Security 2022
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines