Automated Formal Analysis of Signal's Double Ratchet: Attacks, Fixes and Security Proofs
Vincent Cheval, Charlie Jacomme, Jessica Richards
Abstract
The Double Ratchet (DR) protocol is a core security component of several end-to-end encrypted communications services, primarily Signal Messenger, WhatsApp, and Facebook Messenger, servicing billions of users. In this work, we provide the first formal analysis of the DR covering all of its features, including out-of-order message arrivals. This analysis is highly automated, allows for all possible key compromises and notably proves Post-Compromise Security (PCS). We also provide partial results for the security of more complex protocol variants, these being the extension of the DR with encrypted headers, and composition with PQXDH as the initial key-exchange.
Our analysis uncovered three attacks on the protocol, two of which we confirmed to be present in the main implementation, and a third which exists in the specification. Each of these attacks weakened or broke Forward Secrecy, and are to the best of our knowledge the first such known attacks. In each case, the issues were reported to the Signal developers and subsequently fixed. Overall, our analysis provides new guarantees of the security of Signal Messenger, and demonstrates the high level of security provided by the DR under a variety of strong threat models.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Secrecy in Squirrel and the Post-Compromise Security of a Ratchet cites Universally Composable End-to-End Secure Messaging
- Secrecy in Squirrel and the Post-Compromise Security of a Ratchet cites A More Complete Analysis of the Signal Double Ratchet Algorithm
- Secrecy in Squirrel and the Post-Compromise Security of a Ratchet cites On the Tight Security of the Double Ratchet
- Universally Composable End-to-End Secure Messaging cites A More Complete Analysis of the Signal Double Ratchet Algorithm
- A More Complete Analysis of the Signal Double Ratchet Algorithm cites Universally Composable End-to-End Secure Messaging
- Formal verification of the PQXDH Post-Quantum key agreement protocol for end-to-end secure messaging cites A More Complete Analysis of the Signal Double Ratchet Algorithm
- On the Tight Security of the Double Ratchet cites Universally Composable End-to-End Secure Messaging
- On the Tight Security of the Double Ratchet cites A More Complete Analysis of the Signal Double Ratchet Algorithm
Cited by top-tier papers1
Builds on10
- ProVerif with Lemmas, Induction, Fast Subsumption, and Much MoreBruno Blanchet, Vincent Cheval, Véronique CortierS&P 2022 · 61 citations
- A More Complete Analysis of the Signal Double Ratchet AlgorithmAlexander Bienstock, Jaiden Fairoze, Sanjam Garg, Pratyay Mukherjee et al.CRYPTO 2022 · 31 citations
- Universally Composable End-to-End Secure MessagingRan Canetti, Palak Jain, Marika Swanberg, Mayank VariaCRYPTO 2022 · 30 citations
- Formal verification of the PQXDH Post-Quantum key agreement protocol for end-to-end secure messagingKarthikeyan Bhargavan, Charlie Jacomme, Franziskus Kiefer, Rolfe SchmidtUSENIX Security 2024 · 27 citations
- On the Tight Security of the Double RatchetDaniel Collins, Doreen Riepel, Si An Oliver TranCCS 2024 · 3 citations
Related papers
- Formal Analysis of Session-Handling in Secure Messaging: Lifting Security from Sessions to ConversationsCas Cremers, Charlie Jacomme, Aurora NaskaUSENIX Security 2023
- Clone Detection in Secure Messaging: Improving Post-Compromise Security in PracticeCas Cremers, Jaiden Fairoze, Benjamin Kiesl, Aurora NaskaCCS 2020 · 17 citations
- Integrating Causality in Messaging ChannelsShan Chen, Marc FischlinEUROCRYPT 2024 · 5 citations
- Triple Ratchet: A Bandwidth Efficient Hybrid-Secure Signal ProtocolYevgeniy Dodis, Daniel Jost, Shuichi Katsumata, Thomas Prest et al.EUROCRYPT 2025 · 10 citations
- A Formal Analysis of Apple's iMessage PQ3 ProtocolFelix Linker, Ralf Sasse, David A. BasinUSENIX Security 2025
