Paper 2026/1979

From Specs to Apps: Verifying and Monitoring Models of Signal and WhatsApp

Moustafa Said
Aurora Naska
Kevin Morio
Robert Künnemann
Abstract

The Signal protocol is a prominent messaging protocol that se- cures 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 re- search 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 reproducibil- ity. 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.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Published elsewhere. Minor revision. ACM CCS 2026
DOI
10.1145/3830454.3846691
Keywords
SignalWhatsAppFormal VerificationSpecMonTamarinRuntime MonitoringSecurity Protocol
Contact author(s)
moustafa said @ cispa de
aurora naska @ cispa de
kevin morio @ cispa de
robert kuennemann @ cispa de
History
2026-09-13: approved
2026-09-11: received
See all versions
Short URL
https://ia.cr/2026/1979
License
Creative Commons Attribution-ShareAlike
CC BY-SA

BibTeX

@misc{cryptoeprint:2026/1979,
      author = {Moustafa Said and Aurora Naska and Kevin Morio and Robert Künnemann},
      title = {From Specs to Apps: Verifying and Monitoring Models of Signal and {WhatsApp}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1979},
      year = {2026},
      doi = {10.1145/3830454.3846691},
      url = {https://eprint.iacr.org/2026/1979}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.