Hermes:通过从自然语言规范合成有限状态机解锁蜂窝网络协议的安全分析
Hermes: Unlocking Security Analysis of Cellular Network Protocols by Synthesizing Finite State Machines from Natural Language Specifications
AI总结:
Hermes是一个端到端框架,从自然语言蜂窝规范自动合成有限状态机,用于安全分析,在4G/5G规范上达到81-87%准确率,并发现新漏洞。
摘要:
在本文中,我们提出了Hermes,一个端到端框架,用于从自然语言蜂窝规范中自动生成形式化表示。我们首先开发了一个神经成分解析器NEUTREX,用于处理与转换相关的文本并提取转换组件(即状态、条件和动作)。我们还设计了一种领域特定语言,通过利用依赖解析树将这些转换组件转换为逻辑公式。最后,我们编译这些逻辑公式以生成转换,并将形式化模型创建为有限状态机。为了展示Hermes的有效性,我们在4G NAS、5G NAS和5G RRC规范上对其进行了评估,获得了81-87%的总体准确率,这是对现有技术水平的显著改进。我们对提取模型的安全分析发现了4G和5G规范中的3个新漏洞,识别了19个先前已知的攻击,以及商用4G基带中的7个偏差。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。