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

具有全局状态的安全协议自动分析

Automated analysis of security protocols with global state

Steve Kremer, Robert Künnemann

摘要:

需要保持事务状态的安全API、密钥服务器和协议需要保持全局的、非单调的状态,例如,以数据库或寄存器的形式。然而,大多数现有的自动化验证工具不支持这种有状态的安全协议的分析-有时是因为根本的原因,如编码的协议作为霍恩条款,这是固有的单调性。一个值得注意的例外是最近的tamarin prover,它允许将协议指定为多集重写(msr)规则,这是一种足以表达状态的形式主义。由于多集重写是一种“低级”规约语言,不直接支持并发消息传递,因此正确编码协议是一个困难且容易出错的过程。我们提出了一个进程演算,这是一个变种的应用π演算与构造操作的全局状态的进程并行运行。我们表明,这种语言可以被翻译为msr规则,同时保留所有的安全属性表示在一个专用的一阶逻辑的安全属性。翻译已经实现了一个原型工具,它使用的tamarin证明作为后端。我们将该工具应用于几个案例研究,其中包括PKCS\#11的简化片段,Yubikey安全令牌和乐观的合同签署协议。

英文摘要:

Security APIs, key servers and protocols that need to keep the status of transactions, require to maintain a global, non-monotonic state, e.g., in the form of a database or register. However, most existing automated verification tools do not support the analysis of such stateful security protocols - sometimes because of fundamental reasons, such as the encoding of the protocol as Horn clauses, which are inherently monotonic. A notable exception is the recent tamarin prover which allows specifying protocols as multiset rewrite (msr) rules, a formalism expressive enough to encode state. As multiset rewriting is a "low-level" specification language with no direct support for concurrent message passing, encoding protocols correctly is a difficult and error-prone process. We propose a process calculus which is a variant of the applied pi calculus with constructs for manipulation of a global state by processes running in parallel. We show that this language can be translated to msr rules whilst preserving all security properties expressible in a dedicated first-order logic for security properties. The translation has been implemented in a prototype tool which uses the tamarin prover as a backend. We apply the tool to several case studies among which a simplified fragment of PKCS\#11, the Yubikey security token, and an optimistic contract signing protocol.

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

↑