A Sound Translation from Tamarin to ProVerif: Enabling Comparative Analysis
摘要
Protocol verification tools enable the formal modeling and automatic verification of security protocols. Two prominent tools in this area are Tamarin and ProVerif. While they share the same high-level goal, they differ significantly in their underlying formalisms and verification techniques, making a systematic comparison challenging. Tamarin uses multiset rewrite rules with sound and complete verification, whereas ProVerif employs an extension of the applied-𝜋 calculus that provides fast but potentially incomplete results. In this work, we present a sound translation from Tamarin to ProVerif that enables a rigorous comparison of the two tools. Our translation introduces techniques for formula rewriting, encoding multiset rewrite semantics, and handling simultaneous events, showing how Tamarin's features can be expressed in ProVerif's formalism while precisely characterizing the cases where this is not possible. The translation supports a large subset of Tamarin's features-including multiset rewrite rules, lemmas and restrictionsthereby aligning the semantics of the two formalisms. We compare the expressiveness of Tamarin's logic fragment with that of ProVerif, identifying which properties can be faithfully translated. Moreover, we provide formal soundness and completeness proofs: within the faithful translation fragment, soundness ensures that any property verified in ProVerif also holds in the original Tamarin model, while completeness ensures that exists-trace properties not involving attacker knowledge are preserved by the translation. Best-effort encodings, in particular XOR, are reported separately and are outside these guarantees. Finally, we conduct an extensive evaluation of our translation on 121 Tamarin models. The ProVerif front end accepts executable translations for 523 of 566 lemma tasks. Among non-XOR tasks with definitive results from both tools, 237 of 238 agree, with the remaining verdict explicitly flagged as using an incomplete model. Among the 344 tasks for which Tamarin returns a Boolean result and ProVerif completes with a logical result, ProVerif is faster in 316 cases (91.9 %), with median per-task runtime and peak-memory ratios of 6.74× and 6.13×, respectively.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- SAPIC+: protocol verifiers of the world, unite! 引用了 DEEPSEC: Deciding Equivalence Properties in Security Protocols Theory and Practice
- SAPIC+: protocol verifiers of the world, unite! 引用了 ProVerif with Lemmas, Induction, Fast Subsumption, and Much More
- SAPIC+: protocol verifiers of the world, unite! 引用了 SoK: Computer-Aided Cryptography
- SAPIC+: protocol verifiers of the world, unite! 引用了 A Comprehensive Symbolic Analysis of TLS 1.3
- ProVerif with Lemmas, Induction, Fast Subsumption, and Much More 引用了 DEEPSEC: Deciding Equivalence Properties in Security Protocols Theory and Practice
- SoK: Computer-Aided Cryptography 引用了 DEEPSEC: Deciding Equivalence Properties in Security Protocols Theory and Practice
- SoK: Computer-Aided Cryptography 引用了 A Comprehensive Symbolic Analysis of TLS 1.3
它引用的 Paper7
- A Comprehensive Symbolic Analysis of TLS 1.3Cas Cremers, Marko Horvat, Jonathan Hoyland, Sam Scott 等CCS 2017 · 247 次引用
- SoK: Computer-Aided CryptographyManuel Barbosa, Gilles Barthe, Karthik Bhargavan, Bruno Blanchet 等S&P 2021 · 169 次引用
- DEEPSEC: Deciding Equivalence Properties in Security Protocols Theory and PracticeVincent Cheval, Steve Kremer, Itsaka RakotonirinaS&P 2018 · 77 次引用
- ProVerif with Lemmas, Induction, Fast Subsumption, and Much MoreBruno Blanchet, Vincent Cheval, Véronique CortierS&P 2022 · 61 次引用
- SAPIC+: protocol verifiers of the world, unite!Vincent Cheval, Charlie Jacomme, Steve Kremer, Robert KünnemannUSENIX Security 2022
相关 Paper
- Sound Verification of Security Protocols: From Design to Interoperable ImplementationsLinard Arquint, Felix A. Wolf, Joseph Lallemand, Ralf Sasse 等S&P 2023
- Symbolic Protocol Verification modulo XOR in ProVerifVincent Cheval, Stéphanie DelauneCCS 2026 · 1 次引用
- Looping for Good: Cyclic Proofs for Security ProtocolsFelix Linker, Christoph Sprenger, Cas Cremers, David A. BasinCCS 2025
- Refinement-based Verification of Cryptographic Protocols with Quantitative ValuesItsaka Rakotonirina, Javier Gomez-Martinez, Aoxuan Li, Pedro Moreno-Sanchez 等CCS 2026
- Seems Legit: Automated Analysis of Subtle Attacks on Protocols that Use SignaturesDennis Jackson, Cas Cremers, Katriel Cohn-Gordon, Ralf SasseCCS 2019 · 53 次引用
