204 points · by snowboarder63 · 3y ago · 201 comments
I've thought about it since I used to use https://www.pushbullet.com/ (a great app, by the way) to show my mobile push notifications on my desktop. Really convenient, but a bit worrisome that an app can read these notifications in the first place!
I'm aware that you can change the notifications to not show their contents, which may resolve this issue, but (a) I imagine they're still being _transmitted_ in full, and (b) most users don't do that, of course.
Anyone know the answer to this?
https://firebase.google.com/docs/cloud-messaging/android/rec...
when the phone starts the user has to first start the app though (and I found this to be true for Signal, Skype and probably for WhatsApp too)
Once the messaging app has downloaded the message securely, the "end" in "end-to-end" is satisfied and what you do with your notification is your decision. If you elect to explicitly grant Pushbullet permission to read your notifs and forward them to your desktop, then that's your choice I guess.
I think maybe you forget that they need to first get the accessibility permit before it can read notification, which is a very high level permission in Android. You cannot even grant it directly in normal permission menu and there will be pop up warnings. (Well then there is the question of how many 0day on earth are there in android)
One of the extensions is Message Encryption, which effectively keeps the message secure during transit at least (but could be more!). Quite important really because most browsers are configured to use push services provided by the browser maker, which are public & high availability. Browsers then ask the push service for their messages.
https://datatracker.ietf.org/doc/html/rfc8291
I rather doubt Signal would have worked with PushBullet but now that it's no longer an SMS client too it's less interesting to think about.
For Android users, there's a free and more flexible alternative: Join https://joaoapps.com/join/
I've been using Join's API for years to send a notification to my phone when my programs are done running with a simple request.
You can also exchange files between your devices using your Google Drive account, and many other features.
I'm not sure that payload can be decrypted by an app without unlocking the phone or launching the app though.
Did it?
The problem here is way way behind the computer.
The weakest link here, is that Facebook has to respect US laws.
They don't have a choice there.
So, if US law permits or requests in some way interception of communications, or that operators have to report certain activities, then your right to secrecy is done.
Of course, a random user won't have its dog food or gardening communications intercepted, but once you trigger certain patterns, welcome to the new "user trials / feature flags / beta".
Not saying it specifically for WhatsApp, it's valid for any US-based app
-> and broadly any app where the founders may eventually be arrested by the US (as the US has a lot of extra-jurisdiction power).
(think about it, how easy it would be to decrypt Mega.nz file, for example in a real-life scenario. One push of code on one URL to send back the part about the # sign, and done, or to activate new trials in Google Chrome, or to push a Play Store update to single users, etc...).
I'd be really surprised that Zuck takes responsibility and ends up in jail because he refuses to execute a legal request regarding imminent terrorism attack (risking penal risk and being charged as helping the criminals, well, there's a plus; that's more time to spend in the Metaverse).
The most likely scenario, is that the US-gov is very powerful and capable to enforce laws in their own country and that you have to respect the laws if you want you company to continue.
Same with China.
With this rolled out, the WhatsApp app itself will be able to detect, by default without any manual verification, if FB attempts to MITM the connection.
While this doesn't make it technically impossible for Facebook to modify the app and servers, it does make it organizationally almost impossible to do so secretly. Such a move would require the involvement of numerous individuals across multiple teams and would be noticeable to security researchers through changes to the app.
This approach is taking off in a bunch of similar problem spaces (web PKI, code signing, etc), so very exciting to see it applied here.
Randomly, and somewhat weirdly, Facebook actually offered one of the first Certificate Transparency monitoring tools, which made it possible to monitor all certificates issued for your domain using a very similar approach: https://www.facebook.com/notes/3497286220327506/
I don't see what prevents the app from pushing a decoded copy of the conversation ?
Even a variant of Skype was caught doing such (we only know about it because they left the server which had the raw logs completely open).
And still, Skype is very secure/encrypted/blablabla; which is true, but within the borders of local regulations.
https://web.archive.org/web/20090210230204/http://www.inform...
The end comment/advice from the US part is even a bit funny: "travelers should assume that all communications are monitored."
https://scroll.in/article/1044425/how-a-cross-border-love-st...
The fact is, Indian govt has long been able to intercept WhatsApp and failing which they force group admins to get "registered"
https://thenextweb.com/news/kashmirs-police-want-people-to-r...
With local Intel suggesting malware being installed when admins to go the station for "registration". Remember, this was before all the state sponsored malware came into light a few years ago so we locally have known this for quite some time now.
Yep. FISA Section 702 allows that but supposedly only if you're not in the US and not an US citizen. Will an American get caught up the in the net? Maybe? Oh and it doesn't require a warrant. It's set to expire the end of this year but they've been known to renew it. https://www.eff.org/702-spying
https://globalvoices.org/2014/02/22/pro-maidan-video-goes-vi...
https://www.documentcloud.org/documents/1146789-durov1
(Besides these guys I mean: https://www.ndi.org/eurasia/ukraine)
And he just posted the middle finger on his site.
Pretty soon he started receiving the standard “tax evader” treatment (i.e. offices being ransacked, veiled personal threats etc.), his shareholders pushed him out and he and his brother fled the country and started Telegram.
Pavel is a true libertarian who’s stood for his beliefs against his own government, and lost control of his company as a result. Unlike Moxie Marlinspike (founder of WhatsApp and also Signal) who claims he is an “anarchist”, Pavel walked the walk.
When he started Telegram, he pissed off his US investor who got heat for Telegram being used by ISIS to communicate. The investors were pissed off that they never made a profit on Telegram and was mentally associated with helping ISIS. Although Pavel eventually did take action: https://www.wsj.com/articles/telegram-app-tackles-islamic-st...
Pavel also claims his team was approached by the CIA multiple times and they successfully resisted it. Telegram offices are nowhere to be found in Dubai: https://m.youtube.com/watch?v=Pg8mWJUM7x4
That is how you run a free speech absolutist social network that governments all want to control. Telegram is probably the most secure and trusted centralized social network (with Signal a distant second).
But that is insane. We don’t have to trust Pavel or Moxie to be our “last line of defense.” Why do we rely on giant, centralized corporations to host all our private conversations?
This was my response to Moxie’s critique of Web3 and decentralization:
https://community.intercoin.app/t/web3-moxie-signal-telegram...
Not to mention that even when chats are e2e encrypted, they are encrypted using their proprietary algorithm?
i think it's aimed at solving the problem of someone impersonating whatsapp server and responding with corrupted public keys ( but then this person could also impersonate the key repository server ?)
it doesn't however protect users against whatsapp cooperating with states to introduce spying devices / intermediate in your conversation. Does it ?
While we do maintain the directory, we are held to an honest standard by our audit logs. Should any auditor find invalid records, they can publicly hold us accountable.
1. Acquired my Canadian number.
2. Identified it as "my" account, and downloaded a picture of my social media to use as a Whatsapp display picture.
3. Somehow, identified my cousin as a potential target. Not sure how they did it.
4. Located where roughly my cousin lived. Perhaps via social media check-ins or some other way.
5. Asked my cousin to meet in a park not too far from his house, because I was in trouble and needed money.
Thankfully, my cousin did not fall for the scam and contacted me via other means to verify.
Either whatsapp knows the phone is hacking the account to a new number / device, in which case it should simply disable it, or it doesn't and then it will treat it exactly like a normal one.
Has anyone ever found barcodes that mismatch, indicating a MITM?
If my understanding is correct, then for this to happen, either someone must be impersonating whatsapps server (which involves faking an HTTPS cert), or whatsapp themselves must be running en evil server. Both of those are quite a high bar, even for a state sponsored attack.
Key transparency makes standard MITM much more detectable, and so it will significantly dissuade agencies and private actors from investing in those capabilities. It obviously doesn't solve all problems (governments will still be able to hack, and hypothetically even to mandate client changes that break the disable transparency) it removes a piece of low-hanging fruit and signals to governments that it isn't worth trying to exploit protocol weaknesses.
[0] https://www.lawfareblog.com/principles-more-informed-excepti...
Just the private actors. Agencies would just spend more on it, or investigate side channels that achieve the same ends.
That's the whole point of security: you try to make it too costly for your opponent to do it. That's why you have a threat model: to decide how much is "too costly".
For me, I also just like the idea of not having to trust the servers. Probably is fine, like with IRC and MSN and old unencrypted WhatsApp and Facebook's homegrown chat (etc.) I don't think there have been major breaches either. Doesn't mean it's not nice to have better options and exercise them, at least in my opinion. (Not that I use WhatsApp, but I casually apply this principle on Signal/Threema/Wire, just whenever I meet someone irl whose key changed.)
I wonder if Facebook keeps stats on how many people do the key verification. It would be such a shame if the servers knew whom to mitm and who not.
Is that data encrypted in such a way that Meta can't sell or make the data available to third-parties who might use it in nefarious ways? Or do they deposit that data directly into their bank account?
I'm in the US, but the owner of the company I work for lives in Europe and refuses to use anything other than WhatsApp to communicate, so it's a tremendous pain in the ass. I wish Apple had the concept of multiple address books so I could choose a limited or even fake dataset to hand over in cases like this.
I feel your pain. It doesn't even make that much sense anymore: So many people in Europe have Signal these days…
So what this means is that when the owner starts a group chat and adds people I haven’t chatted with in WhatsApp before, those third parties show up as just numbers, and I can’t label them even once I learn who they are.
Also, if the owner says “let’s hop on WhatsApp; start a chat and invite (other co-worker)” I have to say that I can’t start group calls, and explaining why gets a lot of eye rolling. And maybe the eye rolling is justified? Trying to maintain privacy is tiring, and I’m probably accomplishing exactly nothing by refusing to let WhatsApp have my address book. They can probably tell me what’s in it with 95% accuracy already, so it does feel a bit like making a stand to prove a point, except literally nobody cares. It would be like if I had a mustache and chose sustainably-produced mustache wax instead of the regular kind, and it turns out the sustainable-mustache-wax company is a subsidiary of Nestle anyway; that’s about the level of impact I’m having here by refusing to press certain buttons inside WhatsApp.
And Mastodon: https://ioc.exchange/@matthew_d_green/110192257970175203
Currently, I can see that if I have a conversation with a user, but with this public log, I can see the same info for the whole world?
Like, key transparency only helps in a situation where Facebook's servers are compromised, right? That's the most obvious way a man in the middle attack could happen. But if you're worried about an attacker who can compromise Facebook servers, why not also worry about whether that same attacker can compromise the WhatsApp client app, or even compromise Facebook itself at an organizational level?
I don't want to downplay this change too much; it's a genuinely useful security measure that I don't think I've seen any other messaging app implement. But at this point, adding further defenses against external attackers is starting to feel like layering more and more complicated locking mechanisms onto a vault door that's made out of glass.
Open source code is a prerequisite to either of those being useful though.
Meta probably doesn't make any money from WhatsApp anyway it doesn't really hurt them to open source the WhatsApp mobile apps.
But if they do open source it, then it will take a lot of hard work to revert it.
In other words, it's a company and this is their asset.
It's just that people are too lazy to switch, because they don't care about their client being open source.
See https://faq.whatsapp.com/1217634902127718/
They are trying to make "unofficial" synonymous with harmful. Sure the article doesn't outright say that all apps are harmful. But it definitely doesn't make any suggesting that a third-party app from a trusted developer could be ok.
One point to keep in mind is that almost all open-source projects don't really have transparent builds, and the transparent builds are rarely built really transparent (using public compilers, etc), but more behind the curtains.
Plus, even an open-source app that would have perfectly transparent builds (which is not the case from what I've seen), the app publisher can find way to push targeted updates (via app stores), feature flags, betas or settings to very specific users, etc if compelled to do so.
And there is always a potential excuse that store builds don't match open-source code, because the stores are re-signing the apps (and changing the checksums).
So it's more about who you decide to trust, unless you build the client yourself, which is an extreme outlier.
Most Signal users I know (even very sensitive users), they have iOS, they don't build the code themselves, they don't review the code, etc.
They just press Install (and I understand them, I would do the same).
Most Signal users don't need to do that. But sensitive users can. I think it matters.
If open source clients aren't that of a big deal or big privacy win as you've explained, then maybe there shouldn't be a need to justify the decisions of a company like Facebook either.
Seems clear we cannot trust Meta, given they've been fined more than a billion Euros for lax data protection. Meta have set aside two billion Euros to cover potential fines in 2023.
1. FB Won't push code that relays your messages somwhere
2. Google won't backdoor your Android
3. Some networking driver does its job
4. Broadband manufacturer hasn't introduced hardware backdoor
5. Hope GOV won't ask things to FB
Sure there are tons of more points. But the good thing is, everything else out of this circle has a really hard time penetrating your privacy.
But you're right, you need to trust something at some point (be it your hardware, at the lowest level).
Ie. could a third party app use it as a way for two people to verify each other's identity securely knowing only the other persons telephone number?
Anyway this idea is out there and most typically done with PGP, using the standard tooling to sign whatever info (or key) you want people to be able to verify regardless of what platform you're on.
I don't think so. Anyone could run a third-party audit record, right? At least I thought that was the whole point of it...
0: encourage people to switch to Signal, Session, Briar, Matrix, etc.
1: you can use matrix bridges and similar things so you don't have to have Facebook's spyware on your phone. Examples:
-beeper.com (pulls together many messaging platforms, WhatsApp Twitter Slack IRC Instagram Telegram...) (can self-host)
-element.io operates another matrix-bridge-for-hire (can self-host)
-texts.com does something similar, but I don't know the details
-probably more I don't know about :-)
The system discussed in the article (Parakeet) is also append only. So it would be vulnerable to the same sort of attacks. The difference is that it can eventually expire old entries in a reasonable way to free up resources. So no help against signature attacks but possibly of help against the resource usage of bogus identities. The bogus identities would still exist though.
I think there might be merit to the overall idea of having a semi-trusted entity in charge of the system and then making it so that others can judge that what that entity is doing is reasonable. Still a problem if the entity goes rogue and you have to replace it. I suppose that is a problem in the Whatsapp case as well.
Can you expand on what you mean by this?
Apple's whole identity system is basically kerberos+ldap. This is how Apple deals with identity and authentication. Apple has made recent announcements at handing this management to the user. This is how Apple will open up the App Store. There will be a status quo set-up and an open set-up. The status quo will be for those who could give a flying flip about all the freedom people claim they are missing out on. The open set-up will let the identity owner share their keys with anyone they one want. Apple can use all sorts of alerts and lock down all of data held by Apple and the user can create and share keys with whoever they want without providing unintended data access held by Apple. Facebook users will create keys to use with their iOS device and and that will be the point that FB can start to collect data. The only thing this is based on is my Sysadmining Macs since about 1989.
Yikes.
The authenticator apps cause loss of credentials more often because people don't back them up and then drop their phones in the toilet. The thing that makes SMS weak to sim swaps is also the thing that keeps a mountain of people from losing access to their accounts.
- which completely bypasses end-to-end encryption by putting plaintext chat history into the hands of Google et al.
(Not a WhatsApp user myself anymore, don't know, sorry, if someone can confirm this in the comments would be nice.
But it had been nagging to enable cloud backup long after they have been advertising "encryption" already.)
”When they do match this confirms a secure, end-to-end encrypted conversation.” - Says Meta.
This doesn’t matter. Why would we trust the word of a giant corporation that has lied to us repeatedly and abused every single loophole they can, to safeguard our private chats?
Lies and deceit just in the last few years:
WhatsApp messages: https://www.businessinsider.com/facebook-reads-whatsapp-mess...
Audio: https://www.bloomberg.com/news/articles/2019-08-13/facebook-...
Video: https://medium.com/macoclock/apples-ios-14-catches-facebook-...
Metadata: https://www.propublica.org/article/how-facebook-undermines-p...
They could easily ship any version of a client to anyone at any time. The answer is just to opt out of Big Tech and communicate without using clients and infrastructure of giant centralized corporations! Use open source alternatives.
Capitalism and the profit motive will always be pitting them against their own users, trying to extract value from the data for their shareholders.
Still this project in particular seems nice. Why couldn't Signal deploy a similar thing, for instance?
Again, no :-). The third-party audit record is there such that... well... a third-party server can do that verification.
For WhatsApp it may be marginal because the client is proprietary (hence you can't audit it and verify that it actually uses the feature), but the Signal client is open source. So you could actually see that your Signal client checks the keys using third-party servers. That's something, I think.
Publishing the source online doesn't fundamentally change the way that interested parties can inspect the client. And the reversing process has the nice property of actually guaranteeing that the thing you are looking at is what runs on the device.
One question I have is how the protocol handles forks, or in other word what prevents the centralized service from sharing different views to different users?
To me the problem screams: you need a consensus protocol. Without a consensus protocol you’re just hopping that users might be able to detect malicious forks by gossiping.
If there’s a non-cryptocurrency usecase for blockchains, this is it.
They just explain in their blog post how they solve it.
There is no non-cryptocurrency use-case for blockchains, period.
The practical problem is that you don't want to consume a ton of battery juice so this just isn't really feasible on mobile. (PoS wouldn't help because you'd still have to keep up with two billion users doing key changes.) Keybase ran into the same issue, there's a Github ticket somewhere where this was discussed. There was some blockchain lite they were hoping to implement, but that never happened, not sure if it was just off their radar or has issues of its own. I don't remember what its properties would be / if that would genuinely have distributed the trust for key exchanges. (Keybase was already publishing merkle root hashes on a chain, but the client didn't verify anything so it didn't help anyone, just like here with WhatsApp publishing the keys on a second system but that's still their own server controlled by a single party.)
No it would not: the third-party audit record is there to prevent the malicious server issue, while being infinitely more practical than blockchain.
Blockchain enables crypto-currencies. For the rest, we have more practical solutions already.
It used to be relatively clear that you had to verify everyone and maintain that verification. This seems potentially more complicated...
Furthermore, Facebook issued the private keys to us for every contact, therefore they have the private and public key to every contact pair we've ever made.. and can therefore decrypt every message we've ever made. What proof do we have that this is not the case?
Afaik, the backups are encrypted but Apple has the key and is the one doing this encryption.
https://www.macrumors.com/2022/12/07/new-imessage-apple-id-s...
> WhatsApp multi-device uses a client-fanout approach, where the WhatsApp client sending the message encrypts and transmits it N number of times to N number of different devices — those in the sender and receiver’s device lists.
https://engineering.fb.com/2021/07/14/security/whatsapp-mult...
Presumably this means that the device knows how many devices it will be send to.
Like putting a screen door on a submarine.
So no, not their servers.
As another commenter noted, they just generate another key and when someone sends you a message they have to encrypt the same message twice (one for each key).
(I don't use WhatsApp so I don't know if they do the same.)
edit: Maybe I'm missing something in how the web device is provisioned (maybe treating it like a group chat with multiple keys?), but I don't see how it could decrypt messages intended for my phone without just getting a copy of the key
edit: Is there documentation somewhere? Makes no sense to me that my friend is encrypting with the same public key (before, during, and after whatsapp-web is provisioned), but somehow it is decrypted on a new device with a different key
Is there any evidence for this? Like any independent audits like Signal and Telegram have for their protocols?
The client is closed so it can't be independently verified outside of sniffing traffic or decompilation I assume.
https://www.livemint.com/technology/apps/whatsapp-to-make-ne...
Here's a newer article showing the metadata being sent to Facebook (presumably for advertising purposes), it includes your phone number, device ID, and location.
Wrong. It has been end-to-end encrypted since 2016. The whole TOS thing was about metadata.
Still I like Signal better, but that's not a reason to be wrong about WhatsApp :-).
Was it forced into Whatsapp somehow?
IMO the answer to your original question is: lock-in effect. People are generally too lazy to move to an alternative, and on top of that, if they decide moving to one, they don't necessarily know which one to chose. And many privacy-advocates don't help by being (again IMO) too extreme: "Do NOT use Signal, you MUST use <choose your complicated ultra-secure alternative here>".