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

引导通用C验证器证明密码协议

Guiding a General-Purpose C Verifier to Prove Cryptographic Protocols

François Dupressoir, Andrew D. Gordon, Jan Jürjens, David A. Naumann

摘要:

我们描述了如何使用一个通用的验证器来验证密码协议的C代码的安全性。在密码学的符号模型中证明了安全性定理。我们的技术包括:使用ghost状态将正式的代数项附加到具体的字节数组,并在两个不同的项映射到同一个字节数组时检测冲突;使用基于符号项的合同装饰加密API;以及用C程序表达攻击者模型。我们依赖于通用验证器VCC;我们引导VCC通过在实现文件中编写合适的头文件和注释来证明安全性,而不是通过改变VCC本身。我们形式化的符号模型Coq,以证明增加公理VCC。

英文摘要:

We describe how to verify security properties of C code for cryptographic protocols by using a general-purpose verifier. We prove security theorems in the symbolic model of cryptography. Our techniques include: use of ghost state to attach formal algebraic terms to concrete byte arrays and to detect collisions when two distinct terms map to the same byte array; decoration of a crypto API with contracts based on symbolic terms; and expression of the attacker model in terms of C programs. We rely on the general-purpose verifier VCC; we guide VCC to prove security simply by writing suitable header files and annotations in implementation files, rather than by changing VCC itself. We formalize the symbolic model in Coq in order to justify the addition of axioms to VCC.

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

↑