Injection Attacks Against End-to-End Encrypted Applications
Authors:
- 19 May 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 2648-2665
Abstract
We explore an emerging threat model for end-to-end (E2E) encrypted applications: an adversary sends chosen messages to a target client, thereby "injecting" adversarial content into the application state. Such state is subsequently encrypted and synchronized to an adversarially-visible storage. By observing the lengths of the resulting cloud-stored cipher-texts, the attacker backs out confidential information.We investigate this injection threat model in the context of state-of-the-art encrypted messaging applications that support E2E encrypted backups. We show proof-of-concept attacks that can recover information about E2E encrypted messages or attachments sent via WhatsApp, assuming the ability to compromise the target user’s Google or Apple account (which gives access to encrypted backups). We also show weaknesses in Signal’s encrypted backup design that would allow injection attacks to infer metadata including a target user’s number of contacts and conversations, should the adversary somehow obtain access to the user’s encrypted Signal backup.While we do not believe our results should be of immediate concern for users of these messaging applications, our results do suggest that more work is needed to build tools that enjoy strong E2E security guarantees.Keywords
All Related Versions
This publication has 32 references indexed in Scilit:
- Security Analysis of the WhatsApp End-to-End Encrypted Backup Protocol2023
- Universally Composable End-to-End Secure Messaging2022
- A More Complete Analysis of the Signal Double Ratchet Algorithm2022
- A Formal Security Analysis of the Signal Messaging ProtocolJournal of Cryptology, 2020
- Data Security and Privacy Protection for Cloud Storage: A SurveyIEEE Access, 2020
- Efficient Ratcheting: Almost-Optimal Guarantees for Secure Messaging2019
- The Double Ratchet: Security Notions, Proofs, and Modularization for the Signal Protocol2019
- OPAQUE: An Asymmetric PAKE Protocol Secure Against Pre-computation Attacks2018
- Security of Symmetric Encryption in the Presence of Ciphertext Fragmentation2012
- Compression and Information Leakage of Plaintext2002