Top Qs
Timeline
Chat
Perspective

End-to-end encryption

Encryption model where only the sender and the sender's intended recipient can read message content From Wikipedia, the free encyclopedia

End-to-end encryption
Remove ads

End-to-end encryption (E2EE) is a method of implementing a secure communication system where only communicating users can participate. No one else, including the system provider, telecom providers, Internet providers or malicious actors, can access the cryptographic keys needed to read or send messages.[1]

Thumb
Under end-to-end encryption, no third parties like platforms and service providers can decrypt messages, dramatically reducing attack surface.

End-to-end encryption prevents data from being read or secretly modified, except by the true sender and intended recipients. Frequently, the messages are relayed from the sender to the recipients by a service provider. However, messages are encrypted by the sender and no third party, including the service provider, has the means to decrypt them. The recipients retrieve the encrypted messages and decrypt them independently. Since third parties cannot decrypt the data being communicated or stored, services that provide end-to-end encryption are better at protecting user data when they are affected by data breaches.[2] Such services are also unable to share user data with government authorities, domestic or international.[3][4]

In 2022, the UK's Information Commissioner's Office, the government body responsible for enforcing online data standards, stated that opposition to E2EE was misinformed and the debate too unbalanced, with too little focus on benefits, since E2EE helped keep children safe online and law enforcement access to stored data on servers was "not the only way" to find abusers.[5]

Remove ads

Definitions

Summarize
Perspective

End-to-end encryption is a means of ensuring the security of ensuring the security of communications in applications like secure messaging.[6] Under E2EE, messages are encrypted on the sender's device such that they can be decoded only by the final recipient's device.[7] In many non-E2EE messaging systems, including email and many chat platforms, messages pass through intermediaries and are stored by a third party service provider,[8] from which they are retrieved by the recipient. Even if messages are encrypted, they are only encrypted 'in transit', and are thus accessible by the service provider.[9] Server-side disk encryption is also distinct from E2EE because it does not prevent the service provider from viewing the information, as they have the encryption keys and can simply decrypt it.

The term "end-to-end encryption" originally only meant that the communication is never decrypted during its transport from the sender to the receiver.[10] For example, around 2003, E2EE was proposed as an additional layer of encryption for GSM[11] or TETRA,[12] in addition to the existing radio encryption protecting the communication between the mobile device and the network infrastructure. This has been standardized by SFPG for TETRA.[13] Note that in TETRA, the keys are generated by a Key Management Centre (KMC) or a Key Management Facility (KMF), not by the communicating users.[14]

Later, around 2014, the meaning of "end-to-end encryption" started to evolve when WhatsApp encrypted a portion of its network,[15] requiring that not only the communication stays encrypted during transport,[16] but also that the provider of the communication service is not able to decrypt the communications—maliciously or when requested by law enforcement agencies. Similarly, messages must be undecryptable in transit by attackers through man-in-the-middle attacks.[17] This new meaning is now the widely accepted one.[18]

Remove ads

Motivations

The lack of end-to-end encryption can allow service providers to easily provide search and other features, or to scan for illegal and unacceptable content. However, it also means that content can be read by anyone who has access to the data stored by the service provider, by design or via a backdoor.[19] This can be a concern in many cases where privacy is important, such as in governmental and military communications, financial transactions, and when sensitive information such as health and biometric data are sent. If this content were shared without E2EE, a malicious actor or adversarial government could obtain it through unauthorized access or subpoenas targeted at the service provider.[4]

E2EE alone does not guarantee privacy or security.[20] For example, the data may be held unencrypted on the user's own device or accessed through their own app if their credentials are compromised.

Remove ads

Modern implementations

Summarize
Perspective

Messaging

As of 2025, messaging apps like Signal[21] and WhatsApp[22] are designed to exclusively use end-to-end encryption. Both Signal and WhatsApp use the Signal Protocol. Other messaging apps and protocols that support end-to-end encryption include Facebook Messenger[23], iMessage[24], Telegram[25], Matrix[26], and Keybase[27]. Although Telegram supports end-to-end encryption, it has been criticized for not enabling it by default, instead supporting E2EE through opt-in "secret chats". As of 2020, Telegram did not support E2EE for group chats and no E2EE on its desktop clients.

In 2022, after controversy over the use of Facebook Messenger messages in an abortion lawsuit in Nebraska, Facebook added support for end-to-end encryption in the Messenger app.[28][29] Writing for Wired, technologist Albert Fox Cahn criticized Messenger's approach to end-to-end encryption, which required the user to opt into E2EE for each conversation and split the message thread into two chats which were easy for users to confuse.[30] In December 2023, Facebook announced plans to enable end-to-end encryption by default despite pressure from British law enforcement agencies.[31]

As of 2016,[32] many server-based communications systems did not include end-to-end encryption.[33] These systems can only guarantee the protection of communications between clients and servers,[34] meaning that users have to trust the third parties who are running the servers with the sensitive content. End-to-end encryption is regarded as safer[35] because it reduces the number of parties who might be able to interfere or break the encryption.[36] In the case of instant messaging, users may use a third-party client or plugin to implement an end-to-end encryption scheme over an otherwise non-E2EE protocol.[37]

Video conferencing

Since 2020, Signal supports end-to-encryption for group video calls.[38]

In 2020, following an acquisition of Keybase, Zoom announced plans to add end-to-end encryption support for paying customers.[39][40] After criticism from human rights advocates for making privacy a paid feature, Zoom enabled end-to-end encryption for all customers with Zoom accounts.[41][42] In 2021, Zoom agreed to a $85M class action lawsuit settlement for misrepresentation about end-to-end encryption.[43] The FTC announced that Zoom had access to cryptographic keys that would let it access meetings on the platform.[44]

Other uses

Some encrypted backup and file sharing services provide client-side encryption. This type of encryption is not referred to as end-to-end encryption because only one end has the ability to decrypt the data. However, the term "end-to-end encryption" is sometimes incorrectly used to describe client-side encryption.[45]

Some non-E2EE systems, such as Lavabit and Hushmail, have described themselves as offering "end-to-end" encryption when they did not.[46]

Remove ads

Law enforcement and regulation

Summarize
Perspective
Thumb
Unsealed 2021 subpoena addressed to Signal Messenger LLC requesting records for a redacted Signal profile name.

In 2022, Facebook Messenger came under scrutiny because the messages between a mother and daughter in Nebraska were used to seek criminal charges in an abortion-related case against both of them. The daughter told the police that she had a miscarriage and tried to search for the date of her miscarriage in her Messenger app. Police suspected there could be more information within the messages and obtained and served a warrant against Facebook to gain access. The messages allegedly mentioned the mother obtaining abortion pills for her daughter and then burning the evidence.

While E2EE can offer privacy benefits that make it desirable in consumer-grade services, many businesses have to balance these benefits with their regulatory requirements. For example, many organizations are subject to mandates that require them to be able to decrypt any communication between their employees or between their employees and third parties.[47] This might be needed for archival purposes, for inspection by Data Loss Prevention (DLP) systems, for litigation-related eDiscovery or for detection of malware and other threats in the data streams. For this reason, some enterprise-focused communications and information protection systems might implement encryption in a way that ensures all transmissions are encrypted with the encryption being terminated at their internal systems (on-premises or cloud-based) so they can have access to the information for inspection and processing.

Remove ads

Challenges

Summarize
Perspective

Man-in-the-middle attacks

End-to-end encryption ensures that data is transferred securely between endpoints. But, rather than try to break the encryption, an eavesdropper may impersonate a message recipient (during key exchange or by substituting their public key for the recipient's), so that messages are encrypted with a key known to the attacker. After decrypting the message, the snoop can then encrypt it with a key that they share with the actual recipient, or their public key in case of asymmetric systems, and send the message on again to avoid detection. This is known as a man-in-the-middle attack (MITM).[1][48]

Authentication

Thumb
"Verify safety number" screen on Signal Android 7.43.1

Most end-to-end encryption protocols include some form of endpoint authentication specifically to prevent MITM attacks. For example, one could rely on certification authorities or a web of trust.[49] An alternative technique is to generate cryptographic hashes (fingerprints) based on the communicating users’ public keys or shared secret keys. The parties compare their fingerprints using an outside (out-of-band) communication channel that guarantees integrity and authenticity of communication (but not necessarily secrecy[citation needed]), before starting their conversation. If the fingerprints match, there is, in theory, no man in the middle.[1]

When displayed for human inspection, fingerprints usually use some form of binary-to-text encoding[citation needed].[50] These strings are then formatted into groups of characters for readability. Some clients instead display a natural language representation of the fingerprint.[51] As the approach consists of a one-to-one mapping between fingerprint blocks and words, there is no loss in entropy. The protocol may choose to display words in the user's native (system) language.[51] This can, however, make cross-language comparisons prone to errors.[52]

In order to improve localization, some protocols have chosen to display fingerprints as base 10 strings instead of more error prone hexadecimal or natural language strings.[53][52]

Modern messaging applications can also display fingerprints as QR codes that users can scan off each other's devices.[53]

Endpoint security

The end-to-end encryption paradigm does not directly address risks at the communications endpoints themselves. Each user's computer can still be hacked to steal their cryptographic key (to create a MITM attack) or simply read the recipients’ decrypted messages both in real time and from log files. Even the most perfectly encrypted communication pipe is only as secure as the mailbox on the other end.[1] Major attempts to increase endpoint security have been to isolate key generation, storage and cryptographic operations to a smart card such as Google's Project Vault.[54] However, since plaintext input and output are still visible to the host system, malware can monitor conversations in real time. A more robust approach is to isolate all sensitive data to a fully air gapped computer.[55] PGP has been recommended by experts for this purpose.[56] However, as Bruce Schneier points out, Stuxnet developed by US and Israel successfully jumped air gap and reached Natanz nuclear plant's network in Iran.[57] To deal with key exfiltration with malware, one approach is to split the Trusted Computing Base behind two unidirectionally connected computers that prevent either insertion of malware, or exfiltration of sensitive data with inserted malware.[58]

Backdoors

A backdoor is usually a secret method of bypassing normal authentication or encryption in a computer system, a product, an embedded device, etc.[59] Companies may also willingly or unwillingly introduce backdoors to their software that help subvert key negotiation or bypass encryption altogether. In 2013, information leaked by Edward Snowden showed that Skype had a backdoor which allowed Microsoft to hand over their users' messages to the NSA despite the fact that those messages were officially end-to-end encrypted.[60][61]

Following terrorist attacks in San Bernardino in 2015 and Pensacola in 2019, the FBI requested backdoors to Apple's iPhone software. The company, however, refused to create a backdoor for the government, citing concern that such a tool could pose risk for its consumers’ privacy.[62]

Remove ads

See also

Remove ads

References

Further reading

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads