Litcius/Paper detail

Four Attacks and a Proof for Telegram

M. Albrecht, Lenka Mareková, Kenneth G. Paterson, Igors Stepanovs

20222022 IEEE Symposium on Security and Privacy (SP)22 citationsDOI

Abstract

We study the use of symmetric cryptography in the MTProto 2.0 protocol, Telegram’s equivalent of the TLS record protocol. We give positive and negative results. On the one hand, we formally and in detail model 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 modelling deviation from MTProto as deployed by giving two attacks – one of practical, one of theoretical interest – against MTProto without our modifications. We then also give a third attack exploiting timing side channels, of varying strength, in three official Telegram clients. On its own this attack is thwarted by the secrecy of salt and id fields that are established by Telegram’s key exchange protocol. To recover these, we chain the third attack with a fourth one against the implementation of the key exchange protocol on Telegram’s servers. In totality, our results provide the first comprehensive study of MTProto’s use of symmetric cryptography.

Topics & Concepts

Computer scienceKey exchangeComputer securityProtocol (science)SecrecyForward secrecyServerCryptographyKey (lock)Cryptographic protocolSide channel attackComputer networkPublic-key cryptographyEncryptionMedicineAlternative medicinePathologyCryptographic Implementations and SecurityCoding theory and cryptographyChaos-based Image/Signal Encryption