Skip to main content
QUICK REVIEW

[Paper Review] Formal and Fuzzing Amplification: Targeting Vulnerability Detection in 5G and Beyond

Jingda Yang, Ying Wang|arXiv (Cornell University)|Jul 11, 2023
Software Testing and Debugging TechniquesComputer Science5 citations
TL;DR

This paper proposes a unified framework that integrates formal verification and fuzz testing through a reinforcing feedback loop to detect vulnerabilities in 5G Non-Standalone (NSA) networks. By using formal verification to guide fuzz testing with attack traces and refining formal assumptions based on fuzzing feedback, the method reduces computational complexity from exponential to linear growth, detecting 53 vulnerabilities in the RRC connection process with only 9 targeted test cases.

ABSTRACT

Softwarization and virtualization in 5G and beyond require rigorous testing against vulnerabilities and unintended emergent behaviors for critical infrastructure and network security assurance. Formal methods operates efficiently in protocol-level abstract specification models, and fuzz testing offers comprehensive experimental evaluation of system implementations. In this paper, we propose a novel framework that leverages the respective advantages and coverage of both formal and fuzzing methods to efficiently detect vulnerabilities from protocol logic to implementation stacks hierarchically. The detected attack traces from the formal verification results in critical protocols guide the case generation of fuzz testing, and the feedbacks from fuzz testing further broaden the scope of the formal verification. We examine the proposed framework with the 5G Non Standard-Alone (NSA) security processes, focusing on the Radio Resource Control (RRC) connection process. We first identify protocol-level vulnerabilities of user credentials via formal methods. Following this, we implement bit-level fuzzing to evaluate potential impacts and risks of integrity-vulnerable identifier variation. Concurrently, we conduct command-level mutation-based fuzzing by fixing the assumption identifier to assess the potential impacts and risks of confidentiality-vulnerable identifiers. During this approach, we established 1 attack model and detected 53 vulnerabilities. The vulnerabilities identified used to fortify protocol-level assumptions could further refine search space for the following detection cycles. Consequently, it addresses the prevalent scalability challenges in detecting vulnerabilities and unintended emergent behaviors in large-scale systems in 5G and beyond.

Motivation & Objective

  • Address the scalability and coverage limitations of standalone formal verification and fuzz testing in complex 5G systems.
  • Overcome the inefficiency of brute-force and rule-based fuzzing by guiding test generation with formal verification results.
  • Enable hierarchical vulnerability detection from protocol logic to implementation stacks in 5G and beyond.
  • Reduce computational complexity in vulnerability detection by establishing a symbiotic feedback loop between formal methods and fuzzing.
  • Improve security assurance in 5G by identifying and hardening high-risk protocol assumptions, such as missing MITM protection.

Proposed method

  • Apply formal verification to the 5G NSA RRC connection process to identify protocol-level vulnerabilities, including user credential exposure and lack of MITM protection.
  • Generate three input categories for fuzzing: formal-based legal inputs, formal-based illegal inputs, and randomly generated out-of-rule inputs.
  • Implement bit-level fuzzing on the RRC Connection Request command (40-bit UE-Identity, 4-bit EstablishmentCause, 1-bit spare) using formal assumptions to constrain test space.
  • Conduct command-level mutation-based fuzzing by fixing the UE-Identity to assess confidentiality vulnerabilities in identifier handling.
  • Establish a reinforcing loop where fuzzing feedback refines formal verification scope and strengthens protocol assumptions.
  • Use the feedback from fuzz testing to iteratively refine the search space and reduce false positives or overlooked edge cases in formal models.
Figure 1: System Design
Figure 1: System Design

Experimental results

Research questions

  • RQ1How can formal verification and fuzz testing be systematically integrated to improve vulnerability detection coverage in 5G protocol stacks?
  • RQ2To what extent can formal verification reduce the computational burden of fuzz testing in 5G systems?
  • RQ3What is the impact of protocol-level assumptions—such as missing MITM protection—on implementation-level security when exposed via fuzzing?
  • RQ4Can a feedback-driven loop between formal and fuzzing methods significantly reduce test case explosion while increasing vulnerability detection accuracy?
  • RQ5How does the proposed framework compare in efficiency and effectiveness to traditional brute-force or rule-based fuzzing strategies in 5G security testing?

Key findings

  • The framework reduced the number of required fuzzing test cases from over 2^45 (brute-force) and 2^40 + 2^4 + 1 (rule-based) to just 9 by leveraging formal verification constraints.
  • A total of 53 vulnerabilities were detected across the RRC connection process, including critical issues such as missing MITM protection despite the availability of TLS for over a decade.
  • The feedback loop between formal verification and fuzzing enabled the refinement of protocol-level assumptions, particularly around identifier handling and access control.
  • The computational complexity of vulnerability detection was reduced from exponential to linear growth, significantly improving scalability for large-scale 5G systems.
  • The method successfully identified high-risk assumptions—such as integrity-vulnerable identifier variation and confidentiality-vulnerable identifiers—through targeted, formal-guided testing.
  • The framework demonstrated practical feasibility and high efficiency in detecting both logical protocol flaws and implementation-level vulnerabilities in a real-world 5G NSA scenario.
Figure 2: 5G NSA Security Process.
Figure 2: 5G NSA Security Process.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.