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

从结构化规范自动生成密码协议语言生成

Automating Cryptographic Protocol Language Generation from Structured Specifications

Roberto Metere, Luca Arnaboldi

摘要:

密码协议的安全性可以通过用形式语言建立模型并在工具中验证模型来分析。所有这些工具都集中在最后一部分的分析、验证,而对规范的解释只在论文中进行解释。相反,我们专注于解释和建模的一部分,提出了一个工具,以帮助密码在整个过程中,并自动生成代码的目标语言。我们采用以数据为中心的方法,其中协议设计以结构化的方式存储,而不是作为文本规范。以前的工作表明,这种方法有助于解释一个单一的语言(Tamarin),需要事后修改。通过提高规范数据结构的表达能力,我们扩展了工具导出到一个额外的形式语言,ProVerif,以及一个C++完全运行的实现。此外,我们扩展的插件,以验证正确性ProVerif和可执行性引理Tamarin。在本文中,我们的Diffie-Hellman密钥交换模型,这是传统上作为一个案例研究,演示也提供了其他常用的研究协议,Needham-Schroeder和Needham-Schroeder-Lowe。

英文摘要:

Security of cryptographic protocols can be analysed by creating a model in a formal language and verifying the model in a tool. All such tools focus on the last part of the analysis, verification, and the interpretation of the specification is only explained in papers. Rather, we focus on the interpretation and modelling part by presenting a tool to aid the cryptographer throughout the process and automatically generating code in a target language. We adopt a data-centric approach where the protocol design is stored in a structured way rather than as textual specifications. Previous work shows how this approach facilitates the interpretation to a single language (for Tamarin) which required aftermath modifications. By improving the expressiveness of the specification data structure we extend the tool to export to an additional formal language, ProVerif, as well as a C++ fully running implementation. Furthermore, we extend the plugins to verify correctness in ProVerif and executability lemmas in Tamarin. In this paper we model the Diffie-Hellman key exchange, which is traditionally used as a case study; a demo is also provided for other commonly studied protocols, Needham- Schroeder and Needham-Schroeder-Lowe.

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

↑