Metraipolis › archive › dc_1ee3a6c2a317
From Specs to Apps: Verifying and Monitoring Models of Signal and WhatsApp — arXiv:2609.11882
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.11882
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T05:46:48.226Z
- SHA-256 of the archived text
c2be45b68f9cb27c651bbe3931e0f6969105cc6cdb8a361ffb401d2021df79ec- Stable URL of this page
https://metraipolis.com/documento/dc_1ee3a6c2a317
How to cite
From Specs to Apps: Verifying and Monitoring Models of Signal and WhatsApp — arXiv:2609.11882 — arXiv (en), https://arxiv.org/abs/2609.11882 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1ee3a6c2a317 (Metraipolis archive dc_1ee3a6c2a317, sha256 c2be45b68f9cb27c651bbe3931e0f6969105cc6cdb8a361ffb401d2021df79ec)
BibTeX
@misc{dc1ee3a6c2a317,
title = {From Specs to Apps: Verifying and Monitoring Models of Signal and WhatsApp — arXiv:2609.11882},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.11882},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1ee3a6c2a317; sha256 c2be45b68f9cb27c651bbe3931e0f6969105cc6cdb8a361ffb401d2021df79ec},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.11882. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
The Signal protocol is a prominent messaging protocol that secures communication for billions of users. It powers WhatsApp, the most widely used messaging application worldwide, and the Signal app, popular among privacy-conscious users. Extensive research in the computational and Dolev-Yao settings provides strong formal security guarantees for the protocol itself. However, a gap remains between the guarantees of the protocol specification and the implementation's actual behavior at runtime. In this work, we bridge this gap by applying SpecMon, a recently proposed runtime monitor, to check whether observed executions conform to formal protocol models. To this end, we instrument two applications (WhatsApp Web and Signal Desktop) to capture their interactions with the network and the cryptographic components. Using this instrumentation, we develop two multiset-rewrite models that are compatible with Tamarin, thus enabling verification. We derive the first model of WhatsApp Web's implementation of the Signal protocol and the most detailed model to date of Signal's original protocol. Monitoring establishes that observed executions conform to these models, relative to the trusted event extraction and the symbolic abstraction. For the core components of the Signal protocol, we verify authentication and secrecy properties. Finally, monitoring reveals previously undocumented differences between the original libsignal library and WhatsApp's fork. We evaluate our methodology and demonstrate its reproducibility. Developing the WhatsApp Web model, instrumenting the app, adding fuzzing, and running the experiments took three person-weeks. We also demonstrate efficient monitoring of real-world applications and detection of deliberately injected security faults, with low overhead in our measured setting. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-11 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2609.11882 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-16T05:30:39.408Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).