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

基于符号执行的C协议密码模型提取与验证

Extracting and Verifying Cryptographic Models from C Protocol Code by Symbolic Execution

Mihhail Aizatulin, Andrew D. Gordon, Jan Jürjens

摘要:

考虑用C语言编写的密码协议的安全性验证问题。我们提出了一个自动的解决方案,既不需要预先存在的协议描述,也不需要手动注释的源代码。首先,象征性地执行C程序,以获得协议发送的网络消息的象征性描述。其次,应用代数重写来获得进程演算描述。第三,运行现有的协议分析器(ProVerif)来证明安全属性或发现攻击。我们正式我们的算法,并呼吁现有的结果ProVerif在适当的情况下建立计算的可靠性。我们只分析一个执行路径,所以我们的结果仅限于没有显著分支的协议。本文的结果提供了第一个计算上的声音验证弱保密性和认证(单执行路径)的C代码。

英文摘要:

Consider the problem of verifying security properties of a cryptographic protocol coded in C. We propose an automatic solution that needs neither a pre-existing protocol description nor manual annotation of source code. First, symbolically execute the C program to obtain symbolic descriptions for the network messages sent by the protocol. Second, apply algebraic rewriting to obtain a process calculus description. Third, run an existing protocol analyser (ProVerif) to prove security properties or find attacks. We formalise our algorithm and appeal to existing results for ProVerif to establish computational soundness under suitable circumstances. We analyse only a single execution path, so our results are limited to protocols with no significant branching. The results in this paper provide the first computationally sound verification of weak secrecy and authentication for (single execution paths of) C code.

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

↑