Skip to main content
Gateway to Research (GTR)

This is a new service – your feedback (opens in new tab) will help us to improve it.

Back

Important

If you use the GtR API

GtR has a new application programming interface (API).

If you use the previous API, you will need to update your tools.

Find out how you can get started with the new API
Project

Analysing Real-world Protocols for Secure Group Messaging

Study period:
1 October 2020 to 14 January 2025
Funder:
Engineering and Physical Sciences Research Council (EPSRC)
Project status:
Closed
Project category:
Studentship
Project reference:
2442701
Lead research organisation:
Royal Holloway University of London

Contents

Overview

Abstract

Secure group messaging protocols allow groups of people to communicate securely over an insecure link, using end-to-end encryption. Until recently, the design and analysis of secure messaging in the literature has focused on two-party messaging protocols. The past few years has seen a number of new secure group messaging protocols being introduced, many as input into the Messaging Layer Security standardisation process. However, applications such as Matrix [0], WhatsApp [1] and Signal [2] have provided end-to-end encryption in their group messaging products since as early as 2014. The design of these systems differ considerably from those being introduced in current years. In this thesis we aim to answer the following questions: 1. What are the security goals that current secure group messaging applications aim for? How do these differ from designs in the literature? * We survey the documentation and specifications of real-world secure group messaging applications to determine the security guarantees that these applications aim for. * We identify a new security model, Device-Oriented Group Messaging, to capture both the intended functionality and security guarantees of such protocols. 2. Do real-world secure group messaging protocols achieve these security goals in practice? * Focusing our analysis on Matrix, we analyse both its specification and implementation to determine whether they achieve these guarantees. * We present practically-exploitable attacks against Matrixs design and implementation, suggesting improvements to the protocol and its implementation that would remediate these issues. * We present security proofs, within the Device-Oriented Group Messaging model, determining the precise security guarantees these protocols provide. Through this process we identify a number of gaps between the security of group messaging protocols as they are deployed in practice and constructions provided in the literature. We note a number of practical considerations that have lead to real-world deployments with non-optimal security, and consider how such problems might be solved without sacrificing security. Our approach combines provable security, following the code-based game-playing approach described by Bellare and Rogaway in [3], with protocol descriptions based upon their implementations. (0) https://matrix.org/ (1) https://www.whatsapp.com/ (2) https://signal.org/ (3) https://eprint.iacr.org/2004/331.pdf

Last updated: 2 November 2026