Lune

USENIX Security2025Top-tier venue

A Formal Analysis of Apple's iMessage PQ3 Protocol

Felix Linker, Ralf Sasse, David A. Basin

Abstract

We present the formal verification of Apple's iMessage PQ3, a highly performant, device-to-device messaging protocol offering strong security guarantees even against an adversary with quantum computing capabilities. PQ3 leverages Apple's identity services together with a custom, post-quantum secure initialization phase and afterwards it employs a double ratchet construction in the style of Signal, extended to provide postquantum, post-compromise security. We present a detailed formal model of PQ3, a precise specification of its fine-grained security properties, and machinechecked security proofs using the TAMARIN prover. Particularly novel is the integration of post-quantum secure key encapsulation into the relevant protocol phases and the detailed security claims along with their complete formal analysis. Our analysis covers both key ratchets, including unbounded loops, which was believed by some to be out of scope of symbolic provers like TAMARIN (it is not!).

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.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Keeping Up with the KEMs: Stronger Security Notions for KEMs and Automated Analysis of KEM-based Protocols cites Seems Legit: Automated Analysis of Subtle Attacks on Protocols that Use Signatures
  • Secrecy in Squirrel and the Post-Compromise Security of a Ratchet cites Automated Formal Analysis of Signal's Double Ratchet: Attacks, Fixes and Security Proofs
  • 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
  • Formal Security Analysis of the Olvid Messenger cites Seems Legit: Automated Analysis of Subtle Attacks on Protocols that Use Signatures
  • Formal Security Analysis of the Olvid Messenger cites Formal verification of the PQXDH Post-Quantum key agreement protocol for end-to-end secure messaging
  • Refinement-based Verification of Cryptographic Protocols with Quantitative Values cites Seems Legit: Automated Analysis of Subtle Attacks on Protocols that Use Signatures
  • Refinement-based Verification of Cryptographic Protocols with Quantitative Values cites Formal verification of the PQXDH Post-Quantum key agreement protocol for end-to-end secure messaging
  • Automated Formal Analysis of Signal's Double Ratchet: Attacks, Fixes and Security Proofs cites Universally Composable End-to-End Secure Messaging
  • Automated Formal Analysis of Signal's Double Ratchet: Attacks, Fixes and Security Proofs cites A More Complete Analysis of the Signal Double Ratchet Algorithm
  • Automated Formal Analysis of Signal's Double Ratchet: Attacks, Fixes and Security Proofs cites Formal verification of the PQXDH Post-Quantum key agreement protocol for end-to-end secure messaging
  • 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
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Automated Formal Analysis of Signal's Double Ratchet: Attacks, Fixes and Security ProofsVincent Cheval, Charlie Jacomme, Jessica RichardsS&P 2026 · 3 citations
  2. Anamorphic Messaging: Analyzing the Double Ratchet, Triple Ratchet, PQ3, and MLSHien Chu, Alessandro Corsi, Paul RöslerUSENIX Security 2026
  3. Secrecy in Squirrel and the Post-Compromise Security of a RatchetClément Hérouard, Charlie Jacomme, Adrien Koutsos, Joseph LallemandCCS 2026
  4. Formal Security Analysis of the Olvid MessengerNoemi Terzo), Cas Cremers, Ruben Gonzalez, Peter Schwabe) et al.CCS 2026
  5. Refinement-based Verification of Cryptographic Protocols with Quantitative ValuesItsaka Rakotonirina, Javier Gomez-Martinez, Aoxuan Li, Pedro Moreno-Sanchez et al.CCS 2026

Builds on9

  1. Seems Legit: Automated Analysis of Subtle Attacks on Protocols that Use SignaturesDennis Jackson, Cas Cremers, Katriel Cohn-Gordon, Ralf SasseCCS 2019 · 53 citations
  2. A More Complete Analysis of the Signal Double Ratchet AlgorithmAlexander Bienstock, Jaiden Fairoze, Sanjam Garg, Pratyay Mukherjee et al.CRYPTO 2022 · 31 citations
  3. Universally Composable End-to-End Secure MessagingRan Canetti, Palak Jain, Marika Swanberg, Mayank VariaCRYPTO 2022 · 30 citations
  4. 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
  5. Keeping Up with the KEMs: Stronger Security Notions for KEMs and Automated Analysis of KEM-based ProtocolsCas Cremers, Alexander Dax, Niklas MedingerCCS 2024 · 11 citations

Related papers

  1. Formal Analysis of Session-Handling in Secure Messaging: Lifting Security from Sessions to ConversationsCas Cremers, Charlie Jacomme, Aurora NaskaUSENIX Security 2023
  2. Clone Detection in Secure Messaging: Improving Post-Compromise Security in PracticeCas Cremers, Jaiden Fairoze, Benjamin Kiesl, Aurora NaskaCCS 2020 · 17 citations
  3. On the Tight Security of the Double RatchetDaniel Collins, Doreen Riepel, Si An Oliver TranCCS 2024 · 3 citations
  4. How to Compare Bandwidth Constrained Two-Party Secure Messaging Protocols: A Quest for A More Efficient and Secure Post-Quantum ProtocolBenedikt Auerbach, Yevgeniy Dodis, Daniel Jost, Shuichi Katsumata et al.USENIX Security 2025
  5. A Formal Analysis of Signal's Sparse Post-Quantum Ratchet Protocol and its ImplementationKarthikeyan Bhargavan, Maxime Buyse, Graeme Connell, Franziskus Kiefer et al.CCS 2026
Dusk over the sea between two cliffs drawn in fine vertical lines