arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2212.02626cs.CRcs.PL
收藏

安全协议实现的模块化验证通用方法(扩展版)

A Generic Methodology for the Modular Verification of Security Protocol Implementations (extended version)

Linard Arquint, Malte Schwerhoff, Vaibhav Mehta, Peter Müller

AI总结:

本文提出一种直接在协议实现层面进行强安全属性模块化验证的通用方法,利用先进验证逻辑和工具支持多种语言,并在Go和C语言的原型实现中验证了多个协议的内存安全性和安全性。

摘要:

安全协议是现代IT系统的重要构建块。其设计或实现中的细微缺陷可能危及整个系统的安全。因此,通过形式化验证证明此类缺陷不存在非常重要。许多现有工作专注于协议*模型*的验证,这不足以证明其*实现*实际上是安全的。针对协议实现的验证技术(例如,通过代码生成或模型提取)通常对所使用的编程语言和代码设计施加严格限制,这可能导致次优的实现。在本文中,我们提出了一种直接在协议实现层面进行强安全属性模块化验证的方法。我们的方法利用最先进的验证逻辑和工具来支持广泛的实现和编程语言。我们通过验证Needham-Schroeder-Lowe、Diffie-Hellman密钥交换和WireGuard协议的Go实现的内存安全性和安全性(包括WireGuard的前向保密和注入性一致性)来证明其有效性。我们还展示了我们的方法不依赖于特定语言或程序验证器,并提供了C语言的原型实现。

英文摘要:

Security protocols are essential building blocks of modern IT systems. Subtle flaws in their design or implementation may compromise the security of entire systems. It is, thus, important to prove the absence of such flaws through formal verification. Much existing work focuses on the verification of protocol *models*, which is not sufficient to show that their *implementations* are actually secure. Verification techniques for protocol implementations (e.g., via code generation or model extraction) typically impose severe restrictions on the used programming language and code design, which may lead to sub-optimal implementations. In this paper, we present a methodology for the modular verification of strong security properties directly on the level of the protocol implementations. Our methodology leverages state-of-the-art verification logics and tools to support a wide range of implementations and programming languages. We demonstrate its effectiveness by verifying memory safety and security of Go implementations of the Needham-Schroeder-Lowe, Diffie-Hellman key exchange, and WireGuard protocols, including forward secrecy and injective agreement for WireGuard. We also show that our methodology is agnostic to a particular language or program verifier with a prototype implementation for C.

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

↑