A question about secure chats

Two questions.

My family insist on using Whatsapp for the family chats. I have to keep a copy on a device just so I can communicate with them. I do so under protest, as I was always told it isn’t secure. My brother has just said

“oh Whatsapp is encrypted, it’s perfectly secure”.

First, is it actually as encrypted and safe as my brother claims? That would solve everything.

Second, if it isn’t, where can I get some proof that we should switch to Telegram or whatever? Proof which doesn’t make me look like a raving loony?

belkka,
@belkka@iusearchlinux.fyi avatar
Anticorp,
  1. Meta claims it is e2e encrypted
  2. Meta claims they don’t have the keys and don’t scan the messages
  3. Meta doesn’t need to scan the messages to get meaningful marketing data about users
  4. Meta are known liars who will do literally anything for money

Do with that information what you will

Thisfox,

Due to a lack of any reliable way of backing that up, I cannot convince anyone else using the opinions of a random on the internet. I was looking for a place I can show them with evidence, so I don’t look like a conspiracy theorist with a pinboard full of string and coloured paper.

Anticorp,

It’s proprietary software. You can’t know what they’re actually doing without getting a job there and getting assigned to that project. But given Facebook’s long history of user hostile behavior, the statements from Zuckerberg that people who trust him are idiots, and the class action lawsuits against them for violating consumer trust and straight-up selling user data, I wouldn’t believe anything they say. Why use a 3rd party app run by a user hostile company whose entire business model revolves around capturing user data, when there are better alternatives out there? I understand that I’m preaching to the choir and I apologize. I’ve had the same argument with my two best friends trying to get them to use literally anything other than Whatsapp and they won’t. So we still communicate with a group sms on our phones. That’s better than Whatsapp as far as I’m concerned. You have my sympathies since your group is probably too big to just refuse to participate in and still get communications from.

onlinepersona,

When you type a message a message and send it to your counter part, WhatsApp says it encrypts it and the recipient will decrypt it on their side with WhatsApp. However, WhatsApp is closed source. That means you trust WhatsApp to do what it says.

It’s like going to a contractor and telling them your message and handing them a key. The contractor says they’ll deliver it to the other party in a manner that nobody else will be able to read that message. You can ask them provide the tools they do it, explain how they do it, and show you how it’s done, but they say “no can do, trade secret”. Do you trust them?

Alright, let’s say you do trust them, they really do make the message unreadable to anybody but the other party. But every time you want to send a message, you have to go to their building, write down the message on a notepad, and then hand it + the key to the messenger. If you told them “Just to be sure, I’d like to verify that nobody else is here possibly looking at the message while I write, nor reading it when you go into the backroom to render it unreadable” and asked “Can I check for other people here?” to which they respond “no can do, trade secret”. Do you trust them?

Alright alright, so you still trust them. They won’t let you check anything, but you still trust them. The messenger is employed by the one and Sauron Inc. The owner has been caught lying about stuff before, but you trust them. No problem.

Let’s says the messenger says “hey, you know, all the communications you have when you go into the small room there, we can make copies for you! if the messages were ever misplaced, this building burned down or anything, you could always have the communication history”. You find it a great idea! Wow, it’s so convenient. They even suggest to put copies in a building in another city and the building is owned by Darth Vader Inc. You’re ecstatic! To get the process started, WhatsApp walks into your room with a bunch of blank papers and chest, then asks you to hand over your key and closes the door behind them. You are escorted out of the building and wait for the process to be over.

A few months later, the city is bombarded by Megatron. The WhatsApp building is destroyed and your communications are gone! The key you had for the messenger to render your communications unreadable? Gone too! Well, luckily you can just go to another WhatsApp building. You enter, say your name, fill in your details and you are escorted to a room that looks just like the one in the building the Megatron destroyed!
The elation is great! … until you notice that all your messages are readable. Not only that, but the key that’s used to make then unreadable by WhatsApp is sitting there on the desk - pristine and undamaged as it ever was.

Wait a moment… how did the unreadable messages and the key get restored? What exactly did Darth Vader Inc. get from WhatsApp?

Must just be a coincidence, right? You probably had the key in your pocked the whole time and gave it to WhatsApp while you were at the reception filling in your contact details. Your trust is unwavering, the security unrattled, and your communication unscathed.

Rinox,

You are right, we don’t and can’t know if any of what Meta says is true, but at least on the surface it seems to check out. If they are stealing your private key and unlocking all your chats in secret, then they are doing a bloody good job, since no one has leaked anything yet.

Just to clear things a bit, in your analogy you don’t hand the courier both the chest and the key. The chest has a special keypad that accepts two keys, one is your key, the other is the recipient’s key. What you do is you lock the chest with your key and then give it to the courier, which will deliver the chest to the other party, which will then open the chest with his key. In theory the courier never had access to the key.

Now the issues are that you are indeed writing your message from within the Whatsapp building and you can never know if there cameras watching you or not. You also cannot know if Whatsapp has made a copy of your key, or the recipient’s key without your knowledge.

As for how can you recover all your chat history even after you destroy your phone, it’s quite easy and Whatsapp doesn’t need to know anything in particular. The functionality allows you to make a backup and store it on Google Drive. That backup gets encrypted with your password and it’s probably the most secure thing of all, if nothing else because Meta would gain nothing from the backup having poor security (as it would already have all the data if they wanted it) while it would only make them loose face, plus would allow anyone else to gain access to all ~~your ~~their data. After you restore the backup on a new device a new key+padlock pair gets created and the lock gets shared to all your contacts (which will see the yellow box telling them your padlock has changed).

I’m not claiming it doesn’t have privacy issues mind you, I’m just saying that you can’t be sure either way, unfortunately. Still, better than Telegram that doesn’t even encrypt most of your chats.

onlinepersona,

That backup gets encrypted with your password

Maybe that’s a new feature? Does WhatsApp require a password when backing up now? Haven’t used it in a few years, but back when I had it, the backup to Google didn’t require anything besides your phone number and access the google drive on your account - it was only retrievable from WhatsApp and not visible on a Google Drive interface nor API.

Rinox,

They added the password some time ago. I would say maybe a couple years

infreq,

They will not switch anyway…

Thisfox,

They will if I don’t sound paranoid and can give rational answers backed up with real articles that aren’t conspiracy sites. Much of my family are teachers, everyone has at least one university degree, and is capable of rational thought and critical thinking. They just don’t see a reason to switch. I need to put forward a reason that is worth their time.

infreq,

I like your (ungrounded) optimism

GiM,

The contents of the chat messages are e2e encrypted, so meta can’t see what you are sending.

But they can see all of the Meta data, ie how often you chat with someone, how often you send pictures/videos/voice messages, etc.

That is more than enough to know everything about you and your friends.

ono, (edited )

The contents of the chat messages are e2e encrypted, so meta can’t see what you are sending.

Even if we assume correct e2ee is used (which we have no way of knowing), Meta can still see what you are sending and receiving, because they control the endpoints. It’s their app, after all.

Rose,

They use the Signal protocol for e2ee.

min_fapper,

Or so they claim. We can’t really verify their implementation though.

rmuk,

Even if they do, you can’t know whether they can access the encryption keys. It’s all just layers of “but this, but that” and at the very bottom a layer of “trust me, bro”.

LoveSausage, (edited )
@LoveSausage@lemmygrad.ml avatar

My way around the issue with the app and its collection is :

  1. Install in a separate profile with empty everything. (So they get an empty contact list)
  2. Install beeper in a different profil and connect WhatsApp to beeper.
  3. Remove all permissions from WhatsApp. There if I need to reconnect sometime.

Oh and using fake number is also a good idea. And yes not as good as selfhosting I know. Signal is an option if you can get them to switch. Telegram is crap.

noodlejetski,

so now Beeper has got all of your Whatsapp messages going through their servers, unencrypted.

LoveSausage, (edited )
@LoveSausage@lemmygrad.ml avatar

www.beeper.com/faq#how-does-beeper-connect-to-enc…

So yea a bit of trust put in beeper. Matrix bridge and self host is as I said better.

This is easy. For services that’s not so good to start with , like SMS , WhatsApp etc.

For sensitive stuff i use signal with a fake number. Or other channels.

neutron,

In a similar situation as you (entire society revolves around whatsapp). I came to this conclusion:

  1. Others won’t share my view on personal privacy at all will happily give out any metadata or data. No matter what secure channel we use, the destination (people) will always leak.
  2. Because of (1), consider all communication with others as public, no matter the inferred intimacy, no matter the platform or its security.
  3. Consider (2) as true even if they somehow used Signal or any secure platform, because of (1). (E.g. “Hey, did you hear about $familyMember? Yes, the weird kiddo who forced me to use some strange blue shit for chat. He got positive on blood exam for $badCondition. Go check on him”)

As for whatsapp itself, i use Android and isolate it in a separate profile, also frozen until opened. I also used a burner phone number for account registration, not my actual number.

People are more receptive of whatsapp accounts with “alternate” numbers when you explain you “got hacked in the past” or any plausible reason.

foyrkopp,

Whatsapp is encrypted. The problem is the Metadata they want - i.e. your whole address book.

I do not agree to Facebook having my phone number, but if you use WA and have my number, they have it, too - even if I don’t use WA myself.

If you can convince your family to switch, use Signal or Matrix.

Otherwise, use Shelter on your phone with a limited, WA-ony address book.

TwilightKiddy, (edited )

You can actually use it without giving it contacts permission, but you’ll have to add people via short links, like wa.me/(number).

foyrkopp,

Good to know, thanks.

Pantherina,

No Telegram lol. Thats way worse. Whatsapp sais they are E2EE but its all “trust me bro” because you cannot look at the code.

With Telegram its a little pain to open encrypted chats and groups are always unencrypted. So its useless.

Let them try Signal, its nearly identical but you can trust it.

Kultronx,
@Kultronx@lemmygrad.ml avatar

Iunno if I would say that Signal can be trusted considering their ties to the US State Dept

rmuk,

The beauty of using Signal with an open-source Signal client is that you don’t need to trust them, which is kind of the point.

FairLight,

Cybersec researcher here. The content of your chat is encrypted end to end. Their servers can’t read what you write. This is because they use the same protocol as signal, x3dh and double ratchet. However, they can and will collect everything else. Contact info, for example, phone, etc

BearOfaTime,

If you login to another device with WhatsApp, does it show your chat history? If so, then the servers have your key.

I’ve never used any FB service, so I don’t know., and I don’t know anyone who uses WhatsApp.

redeven,
@redeven@lemmy.world avatar

To “link” other devices you have to scan a qr from your phone, so it’s certainly possible that during that process the devices connect and share the key, and the servers don’t have it.

Or the servers could have it. Idk, it’s closed source, that’s the problem at hand.

nightwatch_admin,

No, the protocol is sound enough, WhatsApp doesn’t have the key, doesn’t want the key (so they will probably not be responsible for what you are communicating with others), and doesn’t need the key - as others have put so eloquently, the metadata is rich enough for them.

BearOfaTime, (edited )

Sounds like it transfers the ID Out-of-band, so that’s good, does the desktop get the chat history then? (It’s possible it pulls chat history from the phone).

Oh, I agree with the closed source issue. That makes it a no-sale for me.

Rinox,

Initially you could only log in from one device, as it created a new private key every time you switched device. Then they implemented Whatsapp Web, which essentially required the primary device to be connected to the internet, the chats would then be transferred from the primary device to the secondary devices (I assume through an encrypted tunnel of some sorts). Then as of late they have implemented a new technology that allows you to share your private key among multiple devices, making them all the “primary device”. The chat history and all the messages can be shared from one device to another while encrypted. The weak spot at one point was the chat backup, which was unencrypted and stored in your Google Drive, so technically Google could have had access to all your chats. Today though, you can encrypt the backup through a password.

In theory Whatsapp has never needed to read your chats to have the functionality it has. That’s in theory because it’s closed source and we cannot know anything for certain. All this is just what Meta/Whatsapp said or pure speculation.

Lime66,

deleted_by_author

  • Loading...
  • 0xD,

    You literally send the message you report, that has nothing to do with breaking encryption.

    That’s like me showing you a letter I don’t like and then accusing you of intercepting my mail, lmao.

    iturnedintoanewt,
    @iturnedintoanewt@lemm.ee avatar

    Link previews however, are calculated server-side. So, yeah. They see any link posted.

    h3ndrik, (edited )

    I case they’re set on WhatsApp:

    You could use something like:

    github.com/mautrix/whatsapp

    and bridge WA to a secure Matrix server of your choice. That way you can have a secure environment and they can use whatever they like.

    Here is an overview table about messengers, in case you want to compare them and have more arguments in the discussion:

    www.messenger-matrix.de/messenger-matrix-en.html

    I wouldn’t consider WA secure. They do tracking, they have your phone numbers and those of all of your friends and know exactly who you talk to, when, and how often. Even if they don’t know the content of the message because it’s encrypted, that’s a lot of information for the algorithm to feed on. Apart from that, I’m not sure if they have access to the encryption keys. They might be able to decrypt everything if they want.

    I’m sure someone wrote a lengthy blog article about WA. But unless someone does a proper security audit including where the encryption keys are stored and the implications of that and how extra features like breaking encryption in case someone flags an inappropriate post turns out… The ‘it’s safe’ is just a claim by your brother or Meta. You’re free to believe in anything you want. But it’s not necessarily true.

    Ferk, (edited )
    @Ferk@kbin.social avatar

    With the new European regulations Whatapp will soon be forced to offer some compatibility towards 3rd party apps, so there are chances that perhaps bridging in this way will become easier in the near future, or at least have some level of official support. But we won't know for certain how will it work until it happens. All we know is that Whatsapp is currently working on a way for 3rd parties to connect with them.

    Personally, I'd hold for a bit to see where does that go and then decide what method to use.

    h3ndrik, (edited )

    I don’t want to sound overly negative here. But that idea is more a hypothetical proposal “we should do something about it” at this point. There is a working group mimi. But not even a draft or technical proposal, yet. And interoperability is hard, and they also want to come up with a solution that makes it secure, the messages confidential and maybe grant anonymous access. These problems aren’t solved at all as of today. On top you have to deal with spam, malicious servers, users, lawful interception and all kinds of things in a distributed platform. Then they need to come up with a text for the regulation. Write it, discuss and do several revisions, debate it. And there will be lobbyism against it and court cases because it cuts into the business model of large companies. Then it has to be adopted into national legislation and it will get a grace period.

    So if you want to wait 'til 2029 (or so) to reply to your mom, go ahead and wait for the EU. I don’t have a crystal ball to be sure, but I highly doubt that this will happen in the next few years.

    And on top, there is no guarantee that it turns out good or usable in the first place. There is a lot of lobbyism happening in the EU. Especially by big tech. They’ll find a way to make it a thing that just connects Apple, Meta and Google and exclude independant or secure services.

    Ferk, (edited )
    @Ferk@kbin.social avatar

    Yes, I agree that it feels unrealistic that there will be something stable and good by the time the law actually takes effect. But the regulation (the Digital Markets Act) has been already approved since 2022 and we already have a deadline for Whatsapp set by the EU: March 2024 (6 months from 6th September 2023, which is when the Commission designated Meta as "Gatekeeper" and Whatsapp as a "Core Platform Service").

    So, while I'm very skeptical that the result will be satisfactory, I'm very curious to see what will Whatsapp come up with when the deadline hits, because, allegedly, they are already working on it.

    h3ndrik, (edited )

    Thx for the additional links!

    I’m curious what Meta is going to unveil. Usually big tech companies get ahead of legislation, in order to set a standard they like, or to prevent possible more strict regulation from happening. We see the same thing with AI and practically everything the big tech companies lobby for. I’m a bit wary.

    poVoq,
    @poVoq@slrpnk.net avatar

    Whatsapp is under the hood still a lightly modified XMPP system, and given Zucks recent comments about federated protocols (albright in a Threads i.e. ActivityPub context), they might just get their XMPP federation working again.

    vikinghoarder,

    I assume Whatsapp encryption is equivalent to https, your connection to the server is encrypted and “impossible” to be intercepted and decrypted, but on the server end everything arrives as clear text, so the only people that can watch your conversation is the recipient of the messages and whatsapp.

    h3ndrik, (edited )

    That’s not correct. WA claims to use end-to-end encryption. I have no reason to doubt that. It probably arrives encrypted at the servers, not as clear-text.

    That’d also align with the business-model of big tech. They do lots of things with meta-data. And algorithms can infer lots of important things just by looking at that. I wouldn’t be surprised if they really don’t care about the exact content of WA messages.

    vikinghoarder,

    Reading whatsapp definition of e2ee seems to be the case, I stand corrected.

    h3ndrik, (edited )

    Yeah. I think they partnered with the makers of Signal and took the encryption from Signal back in 2014 or 2015. I still remember the first of my friends adopting WA and it had zero encryption or protection against impersonating people. I used XMPP (Jabber) back then and just shook my head.

    But it’s different now.

    tioute, (edited )

    deleted_by_author

  • Loading...
  • nIi7WJVZwktT4Ze, (edited )

    Content of the Tweet if you don’t want to click X links:

    What collects and stores:

    1. Unencrypted messages, photos, videos, and files
    2. Encrypted photos and videos from secret chats
    3. Phone numbers and contacts
    4. Metadata such as IP addresses

    What collects and stores:

    1. None.

    By @WireMin

    ddnomad, (edited )

    Switch to Telegram

    You know it’s not even E2EE by default, and when it is it uses a homegrown algo that is not exactly well spoken of? (at least V1)

    DudeDudenson,

    But how can I virtue signal when using the mainstream app???

    PupBiru,
    @PupBiru@kbin.social avatar

    for clarity, i think that the worst thing anyone’s been able to decisively prove about telegrams encryption is that it’s vulnerable to replay attacks… which in the context of privacy rather than full security isn’t suuuuper problematic

    that’s not to say that there aren’t other flaws; that’s kinda the point behind “rule number 1: DONT INVENT YOUR OWN CRYPTO”: you just don’t know what flaws there are… AES (etc) has had a LOT of eyes on it

    but for the most part, the negativity with the crypto boils down to what-ifs

    nightwatch_admin,

    IIRC Telegram is only e2e if you explicitly enable it, and not at all for group chats. My info is probably (and hopefully) outdated though.

    PupBiru,
    @PupBiru@kbin.social avatar

    yeah that’s also correct and a very valid criticism

    ddnomad,

    And E2EE is only available on phones, circa a couple of years ago anyways

    JubilantJaguar,

    As I see it, the key advantage of Telegram is not technical, it is political.

    Yes, Telegram is a slightly shady company with an ambiguous business model and a possibly-dodgy encryption algorithm (when it is even turned on).

    But Telegram is based outside the reach of the West (in UAE, eastern Europe, maybe even Russia). Whatever its other problems, nobody thinks that Telegram is under the thumb of Western governments, as the Big Tech corporate messengers almost certainly are.

    Personally I don’t care much if Russia or even China is spying on me. Because if we can be certain of anything in this world, it’s that Russia and China are not sharing their spyware data with Western intelligence agencies. And as Westerners we live outside the reach of the Russian and Chinese police states, fortunately. So for us it’s win-win for privacy. That’s the way I see it.

    The ideal solution, of course, is a truly private messenger which protects everyone’s privacy, including Chinese and Russians.

    ddnomad,

    Telegram’s servers are located in US, Singapore, Netherlands (and maybe some other countries) from what I’ve gathered. And all chats that are not E2EE’ed are stored there, encrypted at rest at best with keys in the same database, or somewhere else that can still be accessed in automated way. Maybe it is not even encrypted at rest.

    The point is, all those countries are either in 5 eyes or have information sharing agreements with 5 eyes countries. So as far as I’m concerned, TLAs can still have their fingers in those pies, in addition to Telegram’s overall shadiness and Russian ties. So maybe you get KGB strongman keeping a watch over your chats too.

    This is not something I’d have much confidence in to be honest.

    JubilantJaguar,

    For the average Westerner, the threat from shady Russian agents seems orders of magnitude less serious than that from their own governments and police forces.

    For EE2E, the corporate spyware messengers are asking us to take their word for it. Hard.

    About the server locations, that’s interesting and does indeed undermine my argument a bit.

    fiat_lux, (edited )

    To be frank with you, humans are the weakest security point in any system. Even if you did somehow (impossibly) 100% secure your device... you’re literally sending everything to X other family members who don't care about security anyway and take zero preventative measures. That's sort of the point of a chat app. All they would need to do is target your family instead of you to get the exact same info - this is how Facebook has everyone's telephone number and profile photo, even if they don't have an account. And if it's a WhatsApp data breach... well. Your family is just one in a sea of millions of potentially better/easier targets.

    If there's anything interesting about your family chats that is actually secret info, it probably shouldn't be put into text anywhere except maybe a password manager. Just tell them not to send passwords or illegal stuff or security question info via whatsapp. It's all you can realistically do in situations like this.

    We literally cannot keep all information private from everyone all the time, you have to pick and choose your battles. And even then, you'll still lose some, even if you're perfect.

    Zak,
    @Zak@lemmy.world avatar

    That’s true in the sense that if a very sophisticated organization directly targets your family chat for surveillance, they’re going to find a way to access its content no matter what communication method you use.

    Threat modeling is core to security, and that kind of threat probably isn’t the issue here. Mass surveillance, both government and corporate is, and neither is likely to secretly install malware on a family-members phone that can access the contents of the group chat. Doing that to large numbers of people would get them caught; they save it for valuable targets.

    Governments openly forcing the install of spyware, as I’ve read China does in some cases would be an exception; you cannot have a secure conversation involving a device so compromised.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • privacy@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #