Refinement-based Verification of Cryptographic Protocols with Quantitative Values
Itsaka Rakotonirina, Javier Gomez-Martinez, Aoxuan Li, Pedro Moreno-Sanchez, Clara Schneidewind
Abstract
Cryptographic protocols are notoriously hard to design and analyse, giving meaning to analysers such as Tamarin or ProVerif conducting automatic verification in a symbolic model of cryptography. While those tools handle many real-world protocols, they lack support when security relies on quantitative constraints. Examples include time-sensitive protocols, that are crucial for achieving fairness in the presence of a dishonest majority, e.g., to realise fair exchanges.
We present a technique for verifying cryptographic protocols involving critical quantitative features such as timeouts or timelocks. It builds upon existing qualitative analysers as black boxes, to verify a quantitative model through Counter-Example-Guided Abstraction Refinement (CEGAR). It first generates a sound approximated model for the symbolic analyser, checks the potential attack trace it produces, and refines the approximated model based on false alarms. We demonstrate the feasibility of this approach through a fully automated tool using the Tamarin prover as a backend.
Using our tool, we analyse multiple protocols achieving fairness through timed cryptography, e.g., coin flipping or fair signing. Further, we study atomic swap protocols, which enable the exchange of cryptocurrencies among mutually distrusting users. Even though these protocols have been extensively studied in the literature and deployed, our tool identified multiple subtle attack vectors that undermine their security and enable attackers to steal funds.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4cc4740a-5b9f-47a0-8953-887fa0022e69Builds on19
- A Comprehensive Symbolic Analysis of TLS 1.3Cas Cremers, Marko Horvat, Jonathan Hoyland, Sam Scott et al.CCS 2017 · 247 citations
- Universal Atomic Swaps: Secure Exchange of Coins Across All BlockchainsSri Aravinda Krishnan Thyagarajan, Giulio Malavolta, Pedro Moreno-SanchezS&P 2022 · 112 citations
- The EMV Standard: Break, Fix, VerifyDavid A. Basin, Ralf Sasse, Jorge Toro-PozoS&P 2021 · 69 citations
- Bitcoin-Compatible Virtual ChannelsLukas Aumayr, Matteo Maffei, Oguzhan Ersoy, Andreas Erwig et al.S&P 2021 · 62 citations
- Distance-Bounding Protocols: Verification without Time and LocationSjouke Mauw, Zach Smith, Jorge Toro-Pozo, Rolando Trujillo-RasuaS&P 2018 · 58 citations
Related papers
- Tidy: Symbolic Verification of Timed Cryptographic ProtocolsGilles Barthe, Ugo Dal Lago, Giulio Malavolta, Itsaka RakotonirinaCCS 2022 · 8 citations
- Seems Legit: Automated Analysis of Subtle Attacks on Protocols that Use SignaturesDennis Jackson, Cas Cremers, Katriel Cohn-Gordon, Ralf SasseCCS 2019 · 53 citations
- A Sound Translation from Tamarin to ProVerif: Enabling Comparative AnalysisKevin Morio, Yavor Ivanov, Robert KünnemannCCS 2026
- Looping for Good: Cyclic Proofs for Security ProtocolsFelix Linker, Christoph Sprenger, Cas Cremers, David A. BasinCCS 2025
- Automated Reasoning for Indistinguishability in the CCSASimon Jeanteur, Matteo Maffei, Laura Kovacs, Michael RawsonCCS 2026
