arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.05758cs.CR
收藏

形式化与模糊测试放大:面向5G及后续网络的漏洞检测

Formal and Fuzzing Amplification: Targeting Vulnerability Detection in 5G and Beyond

Jingda Yang, Ying Wang

AI总结:

本文提出融合形式化验证与模糊测试的分层框架,通过双向反馈在5G NSA的RRC流程中建立1个攻击模型并发现53个漏洞,提升大规模网络漏洞检测的可扩展性。

摘要:

5G及后续网络中的软件化和虚拟化要求针对漏洞和非预期涌现行为进行严格测试,以保障关键基础设施和网络安全。形式化方法在协议级抽象规范模型上运行高效,而模糊测试则可对系统实现进行全面实验评估。本文提出一种新颖框架,利用形式化方法与模糊测试各自的优势和覆盖范围,从协议逻辑到实现栈分层高效检测漏洞。关键协议形式化验证结果中检测到的攻击轨迹用于指导模糊测试的用例生成,而模糊测试反馈又进一步拓宽形式化验证的范围。我们以5G非独立组网(NSA)安全流程检验该框架,重点关注无线资源控制(RRC)连接过程。首先通过形式化方法识别用户凭证的协议级漏洞;随后实施比特级模糊测试,评估易受完整性攻击的标识符变化可能造成的影响和风险。同时,通过固定假设标识符开展基于变异的命令级模糊测试,以评估易受保密性攻击的标识符的潜在影响和风险。在此过程中,我们建立了1个攻击模型并检测到53个漏洞。所识别的漏洞用于强化协议级假设,可进一步细化后续检测周期的搜索空间。因此,该框架解决了5G及后续大规模系统中检测漏洞和非预期涌现行为时普遍存在的可扩展性挑战。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑