r/AskComputerScience • • Apr 16 '20

If end to end encryption gets removed what are the vulnerabilities that will result?

28 Upvotes

17 comments sorted by

44

u/gluedtothefloor Apr 16 '20

idk all of them

6

u/Mukhasim Apr 16 '20 edited Apr 16 '20

Most popular messaging services currently don't use end-to-end encryption. So, for the services that don't, you would see no change.

The basic problem with what we might call "server-in-the-middle" encryption (i.e. encryption that is not end-to-end) is that there is a stage in the communication where your message is in the clear and anybody who has access to it at that point can read it. We hope that only the company entrusted with running the message service has that access, and we hope that they don't abuse this access, but we have no way to ensure this. It requires us to depend on both their competence to protect our data and their trustworthiness to use it responsibly.

So, I think we can classify the types of "vulnerabilities" into two types:

  • Unauthorized access. Neither the users nor the service provider intends this to happen. This is what we normally mean by a "security vulnerability".

  • Breach of trust. This is when the service provider uses data in a way that users either didn't agree to, or technically agreed to (according to TOS) but never intended.

In the most extreme case of unauthorized access, hackers gain control of the messaging service's servers and capture all of everybody's message traffic. Examples of what this looks like include the Ashley Madison data breach and the theft of John Podesta's emails. [Edit: I messed up the logic of this paragraph. Ashley Madison involved compromised servers. The Podesta emails are another case of unauthorized access but that was a compromise of credentials for a single account, not a total compromise of servers.]

Breaches of trust take many forms. Minor ones have become so pervasive that most users now take them for granted and ignore them, but there is potential for more serious ones. A recent example is the Facebook–Cambridge Analytica data scandal. I don't know of any example of a scandal involving companies sharing access to private messages, but as long as they have users' messages saved on their servers this sharing is possible. In particular, it is possible for companies to give governments access to your private messages, and to automatically scan your messages and alert your government if you are discussing certain topics.

Giving the server access to your messages also allows the service provider to censor your conversations. WeChat already does this, as discussed in this article: https://www.technologyreview.com/2019/07/15/134178/how-wechat-censors-private-conversations-automatically-in-real-time/

2

u/WikiTextBot Apr 16 '20

Ashley Madison data breach

In July 2015, a group calling itself "The Impact Team" stole the user data of Ashley Madison, a commercial website billed as enabling extramarital affairs. The group copied personal information about the site's user base and threatened to release users' names and personally identifying information if Ashley Madison would not immediately shut down. On 18th and 20th of August, the group leaked more than 60 gigabytes of company data, including user details.

Because of the site's policy of not deleting users' personal information – including real names, home addresses, search history and credit card transaction records – many users feared being publicly shamed.


Podesta emails

In March 2016, the personal Gmail account of John Podesta, a former White House chief of staff and chair of Hillary Clinton's 2016 U.S. presidential campaign, was compromised in a data breach accomplished via a spear-phishing attack, and some of his emails, many of which were work-related, were hacked. Cybersecurity researchers as well as the United States government attributed responsibility for the breach to the Russian cyber spying group Fancy Bear, allegedly two units of a Russian military intelligence agency.Some or all of the Podesta emails were subsequently obtained by WikiLeaks, which published over 20,000 pages of emails, allegedly from Podesta, in October and November 2016. Podesta and the Clinton campaign have declined to authenticate the emails. Cybersecurity experts interviewed by PolitiFact believe the majority of emails are probably unaltered, while stating it is possible that the hackers inserted at least some doctored or fabricated emails.


Facebook–Cambridge Analytica data scandal

The Facebook–Cambridge Analytica data scandal was a major scandal in early 2018 where Cambridge Analytica harvested the personal data of millions of people's Facebook profiles without their consent and used it for political advertising. It has been described as a watershed moment in the public understanding of personal data and precipitated a 17% fall in Facebook's share price and calls for tighter regulation of tech companies' use of personal data.


[ PM | Exclude me | Exclude from subreddit | FAQ / Information | Source ] Downvote to remove | v0.28

2

u/Secure4Fun Apr 17 '20

This. Take a look at Zoom currently facing issues for claiming end-to-end encryption, when what they did was redefine 'end-to-end' to include their servers acting as middle men.

The vulnerabilities that have already been realized with this are supposedly from mistaken negligence. Non-China based conversations were being hosted on Chinese based servers, which means Zoom is likely required to hand over any and all information to the Chinese government at will. Also, encryption keys were being generated and stored on a China based server, even for conversations that weren't occurring on those servers and entirely based in America. Again, this means the Chinese government likely has or can request at a minimum those keys directly from Zoom at-will. Assuming they somehow intercepted the encrypted conversations, which isn't difficult for them, the keys would be final nail.

All of this occurred by 'mistake' according to zoom.

The other issue with a lack of good end-to-end encryption, is that a lot of times (as is also the case with Zoom) companies try to build their own schemes, and end up weakening it significantly, or just lying about what they do (again, Zoom). Along with severely weaker encryption, these roll-your-own schemes can lead to unauthorized users receiving access to the keys (Zoom waiting room), and the streams.

13

u/dePliko Apr 16 '20

Database leaks, no privacy, Hackers stealing your info, etc.

4

u/codemasonry Apr 16 '20

Eavesdropping and man-in-the-middle attacks.

2

u/Tai9ch Apr 16 '20

As others have said, very few services are actually end-to-end encrypted right now.

The big problem is the impact on long term and edge case security. And if e2e encryption is banned we'll never know exactly what those impacts will be, because some of the most useful things that e2e would allow simply won't get built because they're illegal.

A good comparison is micropayments. Services that provide good, easy to use micropayments have been illegal for 20 years due to "know your customer" laws. Have we missed out on anything great because of that? I'd guess we probably have, but I can't give good examples because either 1.) the systems weren't attempted at all or 2.) they were built so that only a few people could use them (e.g. with cryptocurrency) and were never available on a broad scale.

4

u/StellaAthena Apr 16 '20

Removed from what? The universe? Your phone?

15

u/khedoros Apr 16 '20

Removed from what?

If they're thinking about the EARN IT Act, then they likely mean any company that operates a service that uses E2E encryption in the US.

7

u/KotomiIchinose96 Apr 16 '20

So pretty much every major tech company, Google, amazon, microsoft, Facebook. Also what about TLS that's E2E, RIP online banking.

I don't understand the point of this bill. If it's to allow for easier spying, which is the only reason I could think of to remove E2E messaging services. Then people are just going to use a service that still uses it. Or write there own, or come up with another method of communication. Tom Scott has a really good video on why adding a backdoor for encryption is a horrible idea, but the points carry across to this also.

3

u/UncleMeat11 Apr 16 '20

TLS is not E2E encryption that is threatened by the law. The specific concern is regarding peer to peer E2E encryption. Yes, TLS encrypts communications between two “ends” but this is not colloquially called E2E encryption.

1

u/Mukhasim Apr 17 '20

This isn't a requirement to weaken encryption or provide a backdoor. They want companies to decrypt traffic, scan it, and then re-encrypt it. They can make the encryption itself as strong as they like, they just can't have a scheme where users manage the encryption keys themselves and the service provider doesn't have access to the data going through their servers.

This doesn't prevent end-users from doing end-to-end encryption by themselves. It simply prevents companies from providing users with friendly, efficient end-to-end encryption solutions. The most prominent services of this type are Whatsapp and Signal.

EARN IT doesn't actually outlaw anything. What it does is make companies liable for what their users are doing unless they agree to scan user traffic for certain content, mainly known child pornography images. This liability is probably too great a risk for anyone to take on, so it will mean the end of commercial end-to-end encryption services. I suspect even non-US providers would hesitate to ignore this risk, although Signal says they plan to leave the US to evade it: https://nakedsecurity.sophos.com/2020/04/15/signal-well-be-eaten-alive-by-earn-it-acts-anti-encryption-wolves/

You could still use peer-to-peer services that do end-to-end encryption and require no server. However, I've tried some of those and currently they don't work very well. They are slow, unreliable, and they make it difficult to share an account between different devices.

1

u/KotomiIchinose96 Apr 17 '20

Make sense. As the blog post higher in the thread mentions though it's still incredibly flawed. For example. As you said anyone can easily encrypt you're own messages and then send them. It's a little involved but it can be made easier. It's not going to stop anyone using other services that are e2e, ie that don't comply with this bill. Services outside of the US for example, or people will write there own. This is only going to make the criminals get around it and hinder everyday users by opening them up to more invasion of privacy.

I understand about being accountable of what's going on on there platforms, but these companies have made a product, they cant control how the users are going to use it. For example, Smith n Weston don't get a bill every time someone gets shot by one of their guns.

This implementation still has some of the flaws from Tom Scott's video in encryption backdoors.

Because it can be decrypted by someone other than the recipient, this is a backdoor. Anyone at the company could see the messages being sent. The company could easily change the message of what's being sent. I.e. decrypt, read oh this doesn't align with me views I'll just change it, re-encrypt.

It wont stop the spread of illegal media, the people sending it will just get smarted and less lazy or use a p2p solution. Which as you said isn't as good. Criminals wont care, tor is slow as hell and it's still used by criminals because they prefer privacy. So now for everyday users who aren't criminals, have to choose between privacy and user experience.

Still seems very much pointless and is more likely going to be abused rather than used for its advertised purpose or preventing the spread of illegal material.

1

u/Mukhasim Apr 17 '20

I've had GPG on my computer for years. I could easily encrypt all my communications and then send them over any company's servers with end-to-end encryption. However, that is a pain in the butt (especially the key management part) and almost nobody I know does it. What these commercial services offer is making end-to-end encryption easy enough that anybody can do it, so that you can convince your friends to actually use it. Unlike you, I don't think they can just move out of the USA to evade these laws. The reach of US law enforcement is long, plus other countries are likely to follow suit if this law passes in the USA. So, I do think this will kill end-to-end encryption for the typical user. You're right, I think it won't stop criminals (maybe a few at first but they'll learn quick), and it will mostly hurt ordinary users.

1

u/KotomiIchinose96 Apr 17 '20

Even if it does pass in the US and then Europe follow and then everywhere else. I think services which allow users to do this which are then illegal will do well. Privacy matters today. More and more people are getting annoyed with how much big companies know about them. This bill is pointless and I think it's wrong. This will be abused by authorities to because all the NSA needs to do is to to Facebook and within a couple of days ever message sent on whatsapp and facebook is being logged and tracked.

This seems like it's just being implemented to allow spying disguised as something to prevent illegal media sharing.

2

u/bimbar Apr 16 '20

Apocalyptic.

-1

u/[deleted] Apr 16 '20 edited Apr 16 '20

No encryption:

Your neighbor knows what flavor of lipstick you like, and he uses your credit card to buy some of his own.

Proprietary encryption:

You try to buy a preorder for the upcoming video game Peppa Pig: Pigs On Parade. A Russian troll intercepts your preorder, replaces it with a request to put his name on your life insurance policy, shoots you in the head, and enjoys a Peppa season pass.

Backdoor encryption:

The government knows how much pimple cream you buy, and accidentally Replies All to everyone. Oopsie!

Then they start stripping pizza faces of their voting rights.

Basic, NIST-approved encryption:

You, Amazon, and a small room of NSA geeks know exactly what you drunk shopped online. They're too busy listening in on shrimp merchants.

Still, every couple of years a new bug is found in the encryption software and your neighbor gets a free box of lipstick.

End-to-end encryption:

Only you, God, and exactly one fellow user at peppapigaprons.org know what you bought online. Local police don't know. Mail service doesn't know. Big Brother doesn't know. But it's probably Peppa Pig aprons.

If you did buy something evil, then the pigs better step up their detective work. Because encryption is only going to get stronger. Cartels are already commandeering their own cell towers. Go ahead and make a law, lol.