Paper 2025/1102

TEEMS: A Trusted Execution Environment based Metadata-protected Messaging System

Sajin Sasy, CISPA Helmholtz Center for Information Security
Aaron Johnson, U.S. Naval Research Laboratory
Ian Goldberg, University of Waterloo
Abstract

Ensuring privacy of online messaging remains a challenge. While the contents or data of online communications are often protected by end-to-end encryption, the metadata of communications are not. Metadata such as who is communicating with whom, how much, and how often, are leaked by popular messaging systems today. In the last four decades we have witnessed a rich literature of designs towards metadata-protecting communications systems (MPCS). While recent MPCS works often target metadata-protected messaging systems, no existing construction simultaneously attains four desirable properties for messaging systems, namely (i) low latency, (ii) high throughput, (iii) horizontal scalability, and (iv) asynchronicity. Existing designs often capture disjoint subsets of these properties. For example, PIR-based approaches achieve low latency and asynchronicity but have low throughput and lack horizontal scalability, mixnet-based approaches achieve high throughput and horizontal scalability but lack asynchronicity, and approaches based on trusted execution environments (TEEs) achieve high throughput and asynchronicity but lack horizontal scalability. In this work, we present TEEMS, the first MPCS designed for metadata-protected messaging that simultaneously achieves all four desirable properties. Our distributed TEE-based system uses an oblivious mailbox design to provide metadata-protected messaging. TEEMS presents novel oblivious routing protocols that adapt prior work on oblivious distributed sorting. Moreover, we introduce the notion of ID and token channels to circumvent shortcomings of prior designs. We empirically demonstrate TEEMS' ability to support clients engaged in metadata-protected conversations in under 1 s, with 205 cores, achieving an 18× improvement over prior work for latency and throughput, while supporting significantly better scalability and asynchronicity properties.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Published elsewhere. Proceedings on Privacy Enhancing Technologies 2025(4)
Keywords
anonymous communicationsmetadata-protecting communicationoblivious algorithms
Contact author(s)
sasy @ cispa de
aaron m johnson213 civ @ us navy mil
iang @ uwaterloo ca
History
2025-06-13: approved
2025-06-12: received
See all versions
Short URL
https://ia.cr/2025/1102
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/1102,
      author = {Sajin Sasy and Aaron Johnson and Ian Goldberg},
      title = {{TEEMS}: A Trusted Execution Environment based Metadata-protected Messaging System},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1102},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1102}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.