News for hackers. Stuff that matters.
Re:There is no WhatsApp 'backdoor' by tucif on Friday January 13, 2017 @05:00PM (#13395114)
He does address this: Once the sending client displays a "double check mark," it can no longer be asked to re-send that message.

That means a user is able to verify visually that the end-to-end is working. "users might not notice" doesn't seem to me as a strong argument to state this as a backdoor. This would imply not noticing that you don't have a green padlock on chrome is a backdoor too, and it clearly is not.

Re:There is no WhatsApp 'backdoor' by ploxiln on Friday January 13, 2017 @05:23PM (#13395304)
The "green padlock" was not considered enough because users would not be able to differentiate it from a big lock symbol within the page. Thus we got HSTS.

(There was a time when browsers would color the entire URL bar yellow to indicate https, but that went out of favor many years ago.)

Moxie deserves respect for the web vulnerabilities he discovered and raised awareness about years ago, and for his general competence at cryptography. But in recent years he's shown himself to be willing to make catastrophic sacrifices to make security applications popular and viable for the "lay person".

If the "lay person" ignores the non-obtrusive key changes, and difference between single and multiple checkmarks (and the timing of them, whether single changed to double after a key change), and just trusts that "I heard WhatsApp is secure, so I'm good to go", then so much is sacrificed that there wasn't any point in the exercise to begin with. Except that real solid systems, with direct user control over key continuity, and fully open-source, are undermined by the confusion with these "lay person" super-convenient closed-source systems.

Re:There is no WhatsApp 'backdoor' by oconnor663 on Friday January 13, 2017 @05:58PM (#13395547)
> catastrophic sacrifices to make security applications popular and viable for the "lay person"

This isn't wrong, but it's unfair to bring it up without the most obvious counter-argument.

PGP provides absolutely zero security to the average person, because average people don't use it. HTTPS provides lots of security to the average person, whether or not they know what the green lock means, because lots of people use it. Adoption is a feature.

Of course both of these things are true. Security sacrifices for the sake of adoption suck. But let's not paint a picture of Signal as "desperate for popularity", as though that was a selfish and not security-minded goal. Be fair.

Re:There is no WhatsApp 'backdoor' by tyfon on Saturday January 14, 2017 @03:58AM (#13397590)
No security is better than false security imho.
Re:There is no WhatsApp 'backdoor' by fauigerzigerk on Saturday January 14, 2017 @05:21AM (#13397790)
The problem is that most security technologies only provide protection against specific attack vectors and attackers under specific conditions.

Without understanding these technologies very deeply, they are all creating a false sense of security to some degree.

That doesn't make your statement false, just very difficult to apply. That's not to say it can never be applied. There are clearly cases in which people are deliberately mislead.

Re:There is no WhatsApp 'backdoor' by tyfon on Saturday January 14, 2017 @05:46AM (#13397851)
Yes, security is very hard.

But whatsapp markets itself as a secure system when the client just blindly accepts re-keying from the server without notifying the user by default,

It could easily have the notification on by default, and when a user turns it off actually explain that you are no longer secure.

The very best would of course be to require the users to physically exchange keys whenever they get a new phone etc, but we all know this will never happen.

Re:There is no WhatsApp 'backdoor' by fauigerzigerk on Saturday January 14, 2017 @06:30AM (#13397963)
I agree that there is much room for improvement. Instead of simply turning warnings on or off, they could let users enable warnings for some contacts but not others.

But my point is that the current approach is not simply "false security". It is incomplete or optional security against specific threats and not others. Depending on a particular user's expectations it may amount to false security. You're right about that. But it's not clear to me that having this sort of security is worse than nothing for the average user.

Also, you have to consider that this sort of optional and partial security used by a very large number of people allows those with real security needs to hide in the crowd. Taking a clear all or nothing approach, as you suggest, would put a bullseye on the back of those who do need security.

Re:There is no WhatsApp 'backdoor' by tedunangst on Friday January 13, 2017 @06:23PM (#13395691)
This is a definition of the word "catastrophic" I was previously unfamiliar with.
Re:There is no WhatsApp 'backdoor' by mtgx on Friday January 13, 2017 @06:18PM (#13395662)
I think this is good healthy criticism, but I think it's also difficult to strike the "right" balance.

I believe we got Signal end-to-end encryption in all of these messengers just barely, even as "compromised" as you may think it is. Google and Facebook (Messenger) didn't even enable it by default because they thought it was "too much" encryption.

So if it was even more difficult to use, it may have never been adopted by these services.

At the same time, I don't think we should allow all sorts of modifications to the protocol and to how this encryption system works just to cover a few niche use cases that would slightly increase those users' convenience.

Sending undelivered messages when the recipient is switching SIM cards instead of just telling the sender that those messages can't be sent then is one of those niche use cases and compromises that shouldn't happen, especially if enabling such features could be turned into defacto "legal intercept".

I guess Moxie is saying here that this wouldn't be a defacto legal intercept, but I'm not so sure that's true, and the researcher that found the bug doesn't seem to agree either. I think, unlike others here, it's very likely that people wouldn't notice that the messages don't have a double check mark anymore.

Re:There is no WhatsApp 'backdoor' by lima on Friday January 13, 2017 @07:46PM (#13396089)
> willing to make catastrophic sacrifices to make security applications popular and viable for the "lay person"

I call those "completely reasonable compromises".

Re:There is no WhatsApp 'backdoor' by feral on Friday January 13, 2017 @06:12PM (#13395624)
>just trusts that "I heard WhatsApp is secure, so I'm good to go", then so much is sacrificed that there wasn't any point in the exercise to begin with. Except that real solid systems, with direct user control over key continuity, and fully open-source, are undermined by the confusion with these "lay person" super-convenient closed-source systems.

I totally disagree with this.

Security isn't some absolute thing, which you either have or don't have. It's a series of threats, and counters, and usability tradeoffs you have to make so people still use your service.

You can always criticise someone selling a front-door lock - "what if the bad guy smashes the window"? But that doesn't mean front door locks are bad, or that we should all move into houses without windows.

I think tech folk treating security as a binary all-or-nothing thing, without thinking about the usability tradeoffs, are a big part of the problem, and why so much of what we have is so insecure. We have these "real solid systems, with direct user control over key continuity, and fully open-source" you mention which almost no one uses.

This makes them useless. Complaining that people should know better is also useless. Shipping software which dramatically increases security against a wide range of threats, on the other hand, because 1B people actually use it, is a positive contribution. Trying to blame that same software for the lack of adoption of "real solid systems" is lame. We've had the solid systems for years, but their lack of usability always sunk them.

Does WhatsApp encryption handle every threat? Of course not. There are always going to be unhandled threats. People could still come to your house and root your phone, or hit you with a wrench until you unlock it, for example.

But there's an apparently big threat (revealed in the Snowden leaks) of governments clandestinely, passively, mass-monitoring traffic on the wire, perhaps without the cooperation of the tech companies involved, which has compromised the privacy of vast numbers of entirely innocent people. WhatsApp's encryption seems to counter this.

Moxie et al's contribution thus deserves respect, in so far as it potentially protects a billion people from that class of threat.

It's possible that, due to the closed source nature of WhatsApp, they are actually snarfing everything. That would be big news, deserving of a mass outcry, or a leak. I'm hoping the potential commercial ramifications of them getting caught widely releasing a deliberately compromised client keeps them honest.

Its a risk, but security is always about risks and tradeoffs, not absolutes; and they have built a system that's actually usable enough that it has 1B users.

Re:There is no WhatsApp 'backdoor' by tucif on Friday January 13, 2017 @05:32PM (#13395383)
I agree, perhaps a further version of the signal protocol could implement a definitive solution that better addresses this kind of scenario the way HSTS did for ssl certs. And combined with a friendly UI solution (like the new padlock | Secure string in chrome) would lead to easier detection of possible eavesdroppers by the lay person.
Re:There is no WhatsApp 'backdoor' by gepoch on Friday January 13, 2017 @06:11PM (#13395619)
This isn't a vulnerability in the signal protocol. More a vulnerability in a particular UX decision that WhatsApp made (consciously, even.)
Re:There is no WhatsApp 'backdoor' by gwu78 on Saturday January 14, 2017 @12:53AM (#13397132)
It sounds like you are saying this project's true motivating objective is to advance the author's personal beliefs about "UX" and to see wide adoption of this philosophy as embodied in some particular software. That he chose to use a large, politically-connected, centralized social media^W^W ad sales company as a distribution channel ensuring wide adoption by default. And that the author would make any trade-off in order to see wide adoption.

Should we be surprised?

If I am not mistaken the crytography here is compliments of djb. (Best "UX" designer ever, IMHO.)

The Signal author's contribution is only a protocol and some "UX". His programming language of choice was Java.

Re:There is no WhatsApp 'backdoor' by runn1ng on Friday January 13, 2017 @05:15PM (#13395242)
A little. Without reading the Guardian piece, I wouldn't even guess that delivery notifications have anything in common with security properties.

In other words, the messages are secure only when there is a double checkmark, not just a single checkmark. How am I supposed to know that?!? I am not even sure what do the checkmarks mean.

Frankly, that's not a "backdoor", that's just a poorly thought out GUI (in my opinion), that might eventually lead to backdoors with an evil server.

Re:There is no WhatsApp 'backdoor' by tucif on Friday January 13, 2017 @05:44PM (#13395472)
Absolutely. There is no evident connection that can be done from the double checkmark to a "secured communication".

But when you think about it, the double check is a read confirmation so if we are in an end-to-end encrypted scenario, and the message content was read, it means the recipient's device was able to decrypt it successfully.

This tells you that the recipient is still using the same set of keys that your device thought it had and used to encrypt the message.

Re:There is no WhatsApp 'backdoor' by JCzynski on Friday January 13, 2017 @07:24PM (#13395993)
The single/double checkmark is used with Signal's client as well. When you're sending unsecured texts, you get a single checkmark when you send it; when you are sending encrypted messages, a lock symbol and a single check when sent, and a double check when received.
Re:There is no WhatsApp 'backdoor' by makomk on Friday January 13, 2017 @07:39PM (#13396056)
Except that the obvious interpretation of the second checkmark not appearing is that the message was never received, not that it was decrypted by an attacker. Especially when there's a key change warning afterwards. I think this is still the correct interpretation in Signal proper, but who knows at this point?
Re:There is no WhatsApp 'backdoor' by runn1ng on Friday January 13, 2017 @07:46PM (#13396090)
Yes, but in Signal, it doesn't have bad security consequences when its meaning is misunderstood.
Re:There is no WhatsApp 'backdoor' by MichaelGG on Friday January 13, 2017 @05:09PM (#13395197)
Couldn't the server change keys after every message? The delay would be fairly small. Hold the original, change key, retransmit, change key back? Guess that is easily enough mitigated if the client won't allow switching back to the same key.
Re:There is no WhatsApp 'backdoor' by tucif on Friday January 13, 2017 @05:23PM (#13395300)
It could.

I guess the point here is: Can there be a backdoor in whatsapp? Of course!

Is there a backdoor on Whatsapp as described on the guardian article? No.

Can the UX be improved to alert the smaller percentage of users that rely heavily on the encryption features when their communication is not being actively protected without disturbing the UX of the rest of the users? Probably yes,

Re:There is no WhatsApp 'backdoor' by MichaelGG on Friday January 13, 2017 @07:02PM (#13395900)
No it's very different. Without further details, it sounds like it's possible for FB to switch keys and intercept all messages on everyone, all the time.
Re:There is no WhatsApp 'backdoor' by occamrazor on Friday January 13, 2017 @08:04PM (#13396167)
But the sender would receive at least a notification of key change by the recipient. It is up to them to confirm the validity of the key.
Re:There is no WhatsApp 'backdoor' by acqq on Friday January 13, 2017 @07:08PM (#13395926)
> Can the UX be improved to alert the smaller percentage of users that rely heavily ... Probably yes

Hell yes! Imagine jusr changing background color and the banner "somebody spies on you." Now it's something like some checkmark somewhere looks a bit different or whatever.. I'm still not sure what when...

Re:There is no WhatsApp 'backdoor' by estel on Friday January 13, 2017 @10:06PM (#13396604)
But keys changes are pretty frequent and normal things that happen between clients - this would be an awful and inappropriate warning almost every time it was shown.
Re:There is no WhatsApp 'backdoor' by moomin on Friday January 13, 2017 @05:53PM (#13395518)
Correct me if I'm wrong, but don't double-ticks only appear in one on one conversations? What's the story on group chats?
Re:There is no WhatsApp 'backdoor' by barbs on Friday January 13, 2017 @05:56PM (#13395530)
A double-tick will appear once everyone has received the message. You can view details on a single message to see who has received the message on an individual basis (and also who has read it).