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

形式化引导的模糊测试:面向5G及未来网络从规范到实现的安全保障

Formal-Guided Fuzz Testing: Targeting Security Assurance from Specification to Implementation for 5G and Beyond

Jingda Yang, Sudhanshu Arya, Ying Wang

AI总结:

本研究提出形式化引导的模糊测试方法,结合形式化验证与模糊测试的优势,分层检测5G协议到软件栈的漏洞,在srsRAN平台发现61个漏洞,将计算成本从指数增长降为线性增长。

摘要:

5G及未来网络的软件化与虚拟化特性要求开展全面测试,以保障关键基础设施与网络的安全,需要识别从协议设计到软件栈实现全链路的漏洞与非预期突发行为。为提供高效且全面的解决方案,我们提出了一种首创的新颖方法,该方法结合了形式化方法与模糊测试方法的优势与覆盖范围,能够分层高效检测跨协议逻辑与实现栈的漏洞。我们设计并实现了形式化验证以检测关键协议中的攻击轨迹,这些轨迹用于引导后续的模糊测试,同时结合模糊测试的反馈来拓宽形式化验证的范围。这种创新方法显著提升了效率,能够自动发现从3GPP协议到软件栈的漏洞与非预期突发行为。基于该方法,我们发现了1种标识符泄露模型、1种DoS攻击模型和2种窃听攻击模型,这些漏洞源于协议缺乏基本的中间人(MITM)防护,尽管针对该问题的传输层安全(TLS)解决方案已存在十余年。更值得注意的是,在识别出的形式化分析与攻击模型的引导下,我们通过模糊测试在srsRAN平台上挖掘出了61个漏洞。这些已识别的漏洞有助于强化协议层假设并优化搜索空间。与最先进的模糊测试方法相比,我们的形式化与模糊测试联合方法通过系统性发现漏洞实现了自动安全保障。它显著降低了计算复杂度,将原本不具备实用性的计算成本指数增长转化为线性增长。

英文摘要:

Softwarization and virtualization in 5G and beyond necessitate thorough testing to ensure the security of critical infrastructure and networks, requiring the identification of vulnerabilities and unintended emergent behaviors from protocol designs to their software stack implementation. To provide an efficient and comprehensive solution, we propose a novel and first-of-its-kind approach that connects the strengths and coverage of formal and fuzzing methods to efficiently detect vulnerabilities across protocol logic and implementation stacks in a hierarchical manner. We design and implement formal verification to detect attack traces in critical protocols, which are used to guide subsequent fuzz testing and incorporate feedback from fuzz testing to broaden the scope of formal verification. This innovative approach significantly improves efficiency and enables the auto-discovery of vulnerabilities and unintended emergent behaviors from the 3GPP protocols to software stacks. Following this approach, we discover one identifier leakage model, one DoS attack model, and two eavesdrop attack models due to the absence of rudimentary MITM protection within the protocol, despite the existence of a Transport Layer Security (TLS) solution to this issue for over a decade. More remarkably, guided by the identified formal analysis and attack models, we exploit 61 vulnerabilities using fuzz testing demonstrated on srsRAN platforms. These identified vulnerabilities contribute to fortifying protocol-level assumptions and refining the search space. Compared to state-of-the-art fuzz testing, our united formal and fuzzing methodology enables auto-assurance by systematically discovering vulnerabilities. It significantly reduces computational complexity, transforming the non-practical exponential growth in computational cost into linear growth.

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

↑