News for hackers. Stuff that matters.
Re:WhatsApp backdoor allows snooping on encrypted messages by geocar on Friday January 13, 2017 @09:16AM (#13390887)
I remember receiving the downvote brigade[1], when Moxie himself said that I should trust WhatsApp without having the source code and the ability to put it on my device.

We (even a "smart" community like HN) clearly do not have the ability to think critically about security, and even when our leaders are sincere -- and I really don't mean to suggest Moxie/Signal was complicit in this move -- we still rush to defend our champions so quickly that we don't even think about what's going on.

However something really important is that this might be mere incompetence: FaceBook might not have any mechanism for launching this attack, they just thought the notification message was annoying so they didn't display it. To that end we need to be vigilant about stupidity as well.

Where does it end? Will we actually stop being okay with buffer overflows and sloppy programming? Or are we going to continue trying to "be safer" and use "safe languages" and continuing to try to solve the problem of too much code to read clearly with more code.

[1]: https://news.ycombinator.com/item?id=11669395

Re:WhatsApp backdoor allows snooping on encrypted messages by whyever on Friday January 13, 2017 @09:48AM (#13391134)
> when Moxie himself said that I should trust WhatsApp without having the source code and the ability to put it on my device.

What are you talking about? All I can see there is that you asked for the source code of the QR generator and he delivered. He does not say you should trust WhatsApp.

Re:WhatsApp backdoor allows snooping on encrypted messages by mike_hearn on Friday January 13, 2017 @11:32AM (#13392123)
That's not what geocar asked. He didn't ask anything, actually.

Rather he pointed out that what you see in the WhatsApp UI is meaningless because you have no way of knowing that the app you're running matches the code Moxie linked, or that the code your friends are running does. Moxie replied with a link to the QR generation code but this didn't answer geocar's question, probably because there is no answer.

Here's a simple way to put it. End-to-end messaging security is assumed to be (at least traditionally) about moving the root of trust. Before you had to trust Facebook. Now you don't. A closed source app that can update on demand doesn't move the root of trust and this probably doesn't match people's intuitive expectations of what it does.

Many people have pointed out similar things to what geocar has pointed out: E2E encryption is essentially meaningless if you can't verify what your computers are actually doing. Unfortunately fixing this is a hard problem.

I wrote about this issue extensively in 2015 in the context of encrypted email and bitcoin apps (where you can steal money by pushing a bad auto update):

https://moderncrypto.org/mail-archive/messaging/2015/001510....

I proposed an app architecture that would allow for flexible control over the roots of trust of programs using sandboxing techniques. Unfortunately there's been very little (no?) research into how to solve this problem, even though it's the next step in completing the journey that Signal has started.

By the way, just to make it super clear, the work Moxie has done on both Signal and WhatsApp is still excellent. It is, as I said, necessary work. But the Guardian has unfortunately not understood security well enough, nor have people from the cryptography community really helped journalists understand the limits of this approach. Nor has Facebook, I think.

Re:WhatsApp backdoor allows snooping on encrypted messages by squeaky-clean on Friday January 13, 2017 @01:04PM (#13392946)
> All I can see there is that you asked for the source code of the QR generator and he delivered.

Eh, I kind of agree with geocar's point in the original thread. Moxie shared source code to "a" QR generator. Is there any way to verify that this code is what's running inside of WhatsApp?

Re:WhatsApp backdoor allows snooping on encrypted messages by geocar on Friday January 13, 2017 @01:36PM (#13393299)
Yes. The most obvious one is to make it possible for me to build WhatsApp and install it on my phone, however there are a lot of challenges with this.

A less obvious one is to make it possible to detect WhatsApp cheating. This isn't perfect, but someone only needs to detect it cheating once and then your name is mud.

One such way I proposed: If I can create my own key, then I can pass my public key out of band to someone who can mitm[1] themselves and verify that the message on the wire was encrypted and only encrypted with my key, and I can mitm myself to verify that my device only ever sends things encrypted with my own key. Tooling for the protocol is non-existent, and despite someone claiming they could do it in 10 seconds, they never followed up with instructions on how I could do it in 10 seconds.

This also allows other non-WhatsApp versions of the client, which may make things much more difficult for FaceBook (since now they can't upgrade legitimate clients if they discover a protocol-level problem) but the Internet has some experience with protocols.

[1]: https://mitmproxy.org/

Re:WhatsApp backdoor allows snooping on encrypted messages by nickpsecurity on Friday January 13, 2017 @10:48AM (#13391660)
More interesting, I stand by my prediction that WhatApp would have a backdoor in it or start selling information once Facebook acquired it regardless of Moxie's improvements. Looks like I called it again. People need to stay away from this messenger unless they absolutely have to be on it for friends and family. Still encourage them to download Signal for anything private.
Re:WhatsApp backdoor allows snooping on encrypted messages by m-p-3 on Friday January 13, 2017 @02:09PM (#13393711)
Yup, the protocol might be secure, but the implementation might not be. Without the source code, you can only guess and hope for the best.
Re:WhatsApp backdoor allows snooping on encrypted messages by FabHK on Saturday January 14, 2017 @06:11PM (#13401180)
As many argue (e.g. tptacek), and I find myself increasingly convinced by this:

- source code can be looked at, even verified, but it's hard. (Remember many bugs in OpenSSL, for example.)

- but binaries, too, can be disassembled, even verified. It might be harder, but it's a shades of grey, not binary (ha).

- even if you have the source code, you have to ensure that the binaries actually distributed to your phone correspond to the source code. That muddles the issue further.

Re:WhatsApp backdoor allows snooping on encrypted messages by riazrizvi on Friday January 13, 2017 @11:23AM (#13392013)
It's always hard to tell whether aggressive down voting is real people or digital marketing campaign driven.
Re:WhatsApp backdoor allows snooping on encrypted messages by svkkfnisgkcn3ta on Friday January 13, 2017 @09:38AM (#13391069)
I'd go further and say Moxie is complicit by way of negligence. It's unethical to assist in the implementation of your protocol when you can't guarantee its privacy protections will actually stand. Otherwise it's free PR for Facebook to tout "Snowden-approved crypto".

I have no doubt Moxie acted in good faith and wanted to expand encryption to a large number of users, but this is just another example of why proprietary software cannot be trusted.

Any and all proprietary implementations of the Signal protocol are now suspect. OWS should denounce these implementations as least as firmly as they do interoperable open source Signal client forks.

Re:WhatsApp backdoor allows snooping on encrypted messages by unfortunateface on Friday January 13, 2017 @10:20AM (#13391424)
On a completely unconnected note, what was the name of that technique that GCHQ uses to disrupt online forums and subtly undermine peoples reputations?
Re:WhatsApp backdoor allows snooping on encrypted messages by svkkfnisgkcn3ta on Friday January 13, 2017 @10:29AM (#13391509)
Re:WhatsApp backdoor allows snooping on encrypted messages by eternalban on Friday January 13, 2017 @02:22PM (#13393842)
> On a completely unconnected note

You are not being sincere. You are implying that GP is a paid troll of spooks.

Re:WhatsApp backdoor allows snooping on encrypted messages by unfortunateface on Saturday January 14, 2017 @12:50AM (#13397120)
Re:WhatsApp backdoor allows snooping on encrypted messages by whyever on Friday January 13, 2017 @09:51AM (#13391163)
> OWS should denounce these implementations as least as firmly as they do open source Signal client forks.

They don't. Moxie does not want the forks to use his servers or the name of his app, that is all.

Re:WhatsApp backdoor allows snooping on encrypted messages by compuguy on Friday January 13, 2017 @12:38PM (#13392681)
Well since the server for Signal is closed source, the signal client forks are pretty much useless (correct me if I’m wrong)?
Re:WhatsApp backdoor allows snooping on encrypted messages by kuschku on Friday January 13, 2017 @12:41PM (#13392713)
The server for the text messaging is open source, only calls, and other stuff is closed.
Re:WhatsApp backdoor allows snooping on encrypted messages by 55555 on Friday January 13, 2017 @10:33AM (#13391531)
> Moxie is complicit by way of negligence.

I just want to voice my opinion that maybe 1 in 100 people have Moxie's integrity and ethics.

Re:WhatsApp backdoor allows snooping on encrypted messages by rabble on Friday January 13, 2017 @11:40AM (#13392212)
one in a billion... he's the most ethical hacker and political actor i've encountered...
Re:WhatsApp backdoor allows snooping on encrypted messages by eternalban on Friday January 13, 2017 @02:25PM (#13393875)
An error in judgment (naiveté) and integrity are not mutually exclusive.
Re:WhatsApp backdoor allows snooping on encrypted messages by FabHK on Saturday January 14, 2017 @06:15PM (#13401196)
> I'd go further and say Moxie is complicit by way of negligence

Your "further" stance is not supported by the evidence. You might disagree with the design choices, but they're not negligence or "complicity". Moxie answered, in the other thread, that

a fact of life is that the majority of users will probably not verify keys. That is our reality. Given that reality, the most important thing is to design your product so that the server has no knowledge of who has verified keys or who has enabled a setting to see key change notifications. That way the server has no knowledge of who it can MITM without getting caught. I've been impressed with the level of care that WhatsApp has given to that requirement. I think we should all remain open to ideas about how we can improve this UX within the limits a mass market product has to operate within, but that's very different from labeling this a "backdoor."

https://news.ycombinator.com/item?id=13394900

Re:WhatsApp backdoor allows snooping on encrypted messages by pvg on Friday January 13, 2017 @02:55PM (#13394164)
The vulnerability was found, published and reported without source and before your previous comment.
Re:WhatsApp backdoor allows snooping on encrypted messages by FabHK on Saturday January 14, 2017 @06:17PM (#13401205)
The vulnerability was found and published in April 2016, btw.

https://tobi.rocks/2016/04/whats-app-retransmission-vulnerab...

Re:WhatsApp backdoor allows snooping on encrypted messages by d33 on Friday January 13, 2017 @09:23AM (#13390944)
Not sure if I understood you well: do you imply that Moxie was involved in creating this backdoor?

EDIT:

Sorry, misread.

Re:WhatsApp backdoor allows snooping on encrypted messages by geocar on Friday January 13, 2017 @09:26AM (#13390972)
No, I do not mean to imply that at all.

That is why I said I really don't mean to suggest Moxie/Signal was complicit in this move