Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. EPFL thesis
  4. On the Theory and Practice of Modern Secure Messaging
 
doctoral thesis

On the Theory and Practice of Modern Secure Messaging

Collins, Daniel Patrick  
2024

Billions of people now have conversations daily over the Internet. A large portion of this communication takes place via secure messaging protocols that offer "end-to-end encryption'" guarantees and resilience to compromise like the widely-used Double Ratchet protocol of Perrin and Marlinspike. This thesis explores secure messaging from a cryptographic perspective in both the analysis and improvement of existing messaging solutions as well as the design of protocols with new security and efficiency characteristics.

The first half of the thesis considers communication between two parties. We first draw our attention to the impending threat of quantum computers on Diffie-Hellman-based key exchange protocols, and in particular on the widely used X3DH key exchange protocol of Perrin and Marlinspike. We propose a new deniable authenticated key exchange protocol, K-Waay, that is based on the relatively conservative plain learning-with-errors (LWE) assumption and is faster than previous proposals. We then consider active attack detection to ensure parties can detect if and when they have been compromised and impersonated by an adversary, even if messages can be delivered out-of-order like in the Double Ratchet protocol. We consider both in-band and out-of-band detection (the latter offering better security but being less convenient for users) and prove formally that immediate active attack detection is sometimes inherently expensive but, despite this, a relaxed yet meaningful notion of active attack detection can be achieved practically.

The second half of this thesis then deals with communication between a dynamic group of parties. Firstly, we formalise the group administration problem where a (dynamic) portion of a given group is entrusted with additional privileges: we identify and formalise their core role of enforcing access control. We propose two protocols extending the continuous group key agreement methodology underpinning the recent IETF Messaging Layer Security (MLS) standard, and demonstrate experimentally that administration can be achieved with very little overhead for MLS. Finally, we formalise the practical Sender Keys group messaging protocol used by WhatsApp and Signal (which in fact relies on two-party communication at its core) and prove in a new security model that the core protocol structure is sound. Through our formalisation, we report some drawbacks of Sender Keys, especially in terms of its resilience to state compromise, and propose some tweaks to overcome them using standard cryptographic primitives, each of which either incurs little overhead or in fact improves practical efficiency.

  • Files
  • Details
  • Metrics
Type
doctoral thesis
DOI
10.5075/epfl-thesis-10544
Author(s)
Collins, Daniel Patrick  
Advisors
Vaudenay, Serge  
Jury

Prof. Rachid Guerraoui (président) ; Prof. Serge Vaudenay (directeur de thèse) ; Prof. Michael Kapralov, Prof. Paul Rösler, Dr Bertram Poettering (rapporteurs)

Date Issued

2024

Publisher

EPFL

Publisher place

Lausanne

Public defense year

2024-04-25

Thesis number

10544

Total of pages

295

Subjects

secure messaging

•

authenticated key exchange

•

two-party messaging

•

group messaging

•

ratcheting

•

forward security

•

post-compromise security

EPFL units
LASEC  
Faculty
IC  
School
IINFCOM  
Doctoral School
EDIC  
Available on Infoscience
April 15, 2024
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/207084
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés