Paper 2023/469 Original: eprint.iacr.org/2023/469 ↗

Four Attacks and a Proof for Telegram

Martin R. Albrecht
Lenka Mareková
Kenneth G. Paterson
Igors Stepanovs
Abstract

We study the use of symmetric cryptography in the MTProto 2.0 protocol, Telegram's equivalent of the TLS protocol. We give positive and negative results. On the one hand, we formally and in detail specify a slight variant of Telegram's "record protocol" and prove that it achieves security in a suitable bidirectional secure channel model, albeit under unstudied assumptions; this model itself advances the state-of-the-art for secure channels. On the other hand, we first motivate our slight deviation from MTProto as deployed by giving two attacks on the original protocol specification: one of practical, one of theoretical interest. Then, we give two attacks on the implementation, which are outside of our formal model: one targeting the client, one targeting the server. The client-side attack enables plaintext recovery by exploiting timing side channels, of varying strength, in three official Telegram clients. On its own this attack is thwarted by the secrecy of header fields that are established by Telegram's key exchange protocol. We thus chain this attack with an attack against the implementation of the key exchange protocol on Telegram's servers. This final attack breaks the authentication properties of Telegram's key exchange, allowing a MitM attack. More mundanely, it also reduces the cost of the client-side plaintext recovery attack. In totality, our results provide the first comprehensive study of MTProto's use of symmetric cryptography, as well as highlight weaknesses in its key exchange.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
History
2026-01-12: last updated
2023-03-31: published
Short URL
https://ia.cr/2023/469
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2023/469,
      author = {Martin R. Albrecht and Lenka Mareková and Kenneth G. Paterson and Igors Stepanovs},
      title = {Four Attacks and a Proof for Telegram},
      howpublished = {Cryptology {ePrint} Archive, Paper 2023/469},
      year = {2023},
      url = {https://eprint.iacr.org/2023/469}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.