arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.13627cs.CRcs.AIcs.SC
收藏

CryptoFormalEval:融合大语言模型与形式化验证的密码协议漏洞自动检测

CryptoFormalEval: Integrating LLMs and Formal Verification for Automated Cryptographic Protocol Vulnerability Detection

University of Udine(乌迪内大学);University of Trieste(的里雅斯特大学);AAU Klagenfurt(克拉根福应用技术大学);Apart Research(阿帕特研究院)

Cristian Curaba, Denis D'Ambrosi, Alessandro Minisini, Natalia Pérez-Campanero Antolín

AI总结:

本文提出CryptoFormalEval基准,通过让大语言模型与定理证明器Tamarin交互,自动发现新密码协议漏洞,并验证了前沿模型在网络安全应用中的潜力。

摘要:

密码协议在保障现代数字基础设施安全方面发挥着基础性作用,但它们常常在未经事先形式化验证的情况下就被部署。这可能导致所采用的分布式系统容易受到攻击向量的威胁。另一方面,形式化验证方法需要复杂且耗时的技术,并且缺乏自动化。在本文中,我们引入了一个基准,用于评估大语言模型(LLMs)通过与Tamarin(一个用于协议验证的定理证明器)交互,自主识别新密码协议中漏洞的能力。我们创建了一个经人工验证的、包含新颖且有缺陷的通信协议的数据集,并设计了一种方法来自动验证AI智能体发现的漏洞。我们关于当前前沿模型在该基准上表现的结果,为通过将大语言模型与符号推理系统相结合来实现网络安全应用的可能性提供了见解。

英文摘要:

Cryptographic protocols play a fundamental role in securing modern digital infrastructure, but they are often deployed without prior formal verification. This could lead to the adoption of distributed systems vulnerable to attack vectors. Formal verification methods, on the other hand, require complex and time-consuming techniques that lack automatization. In this paper, we introduce a benchmark to assess the ability of Large Language Models (LLMs) to autonomously identify vulnerabilities in new cryptographic protocols through interaction with Tamarin: a theorem prover for protocol verification. We created a manually validated dataset of novel, flawed, communication protocols and designed a method to automatically verify the vulnerabilities found by the AI agents. Our results about the performances of the current frontier models on the benchmark provides insights about the possibility of cybersecurity applications by integrating LLMs with symbolic reasoning systems.

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

↑