CRAICLOct 6, 2023

Hermes: Unlocking Security Analysis of Cellular Network Protocols by Synthesizing Finite State Machines from Natural Language Specifications

arXiv:2310.04381v228 citationsh-index: 10
Originality Highly original
AI Analysis

This addresses the challenge of analyzing security in cellular networks by automating the conversion of complex specifications into formal models, which is incremental but impactful for protocol verification.

The paper tackles the problem of automatically generating formal models from natural language cellular network specifications to enable security analysis, achieving 81-87% accuracy and uncovering 3 new vulnerabilities and 19 previous attacks in 4G and 5G standards.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes