News for hackers. Stuff that matters.
Re:Opportunistic Encryption for Firefox by vbezhenar on Friday March 27, 2015 @03:27PM (#9278508)
Self-signed certificate provides defense against passive attacker, and HTTP does not. That's an important difference IMO.
Re:Opportunistic Encryption for Firefox by ivoras on Saturday March 28, 2015 @02:54PM (#9282354)
Can anyone who's in the "HTTPS without certificate verification is bad, m'kay?" camp (I'm not directing this to the author of the post I'm replying to) compare and contrast that approach to the approach of SSH, where there is (usually) no such validation, and the breaking of which could have much larger consequences on global security then just HTTPS?

Why not adopt the SSH model of accepting the server's cert at the first connection and then complaining loudly if the fingerprint changes? Or even go a step further and have browsers manage private keys (client certs) which identify the user? Some Linuxes already do this with SSH: if you have a private SSH key, an SSH agent will remember its decrypted form on first use, and use it for SSH auth.

The client certs can be exchanged in a standard format throughout browsers and devices, and mobile phone-based two-factor-authentication can be used to increase security.

So - bam, good enough MITM protection (sure, let the banks retain the PKI system), no passwords, and a completely ready implementation requiring no new standards. There is no requirement for the client certs to be "blessed" with strong identification with the person, so anonymity is achievable by having an arbitrary number of different client certs.

Re:Opportunistic Encryption for Firefox by copsarebastards on Friday March 27, 2015 @07:16PM (#9279675)
That's good in that it requires a slightly more sophisticated attack, but I don't really view that as a very effective defense.

However, the bigger thing a self-signed cert allows you is the ability to verify later if your communication has been snooped by an active attacker--which is very significant. It's problematic that the communications aren't authenticated before they occur, but that doesn't mean they can't be authenticated later (via CAs or other means).

Re:Opportunistic Encryption for Firefox by Wicher on Saturday March 28, 2015 @04:25AM (#9280823)
> That's good in that it requires a slightly more sophisticated attack, but I don't really view that as a very effective defense.

A slightly more sophisticated attack, indeed — but one that doesn't scale well. It ups the cost of mass surveillance tremendously.

Re:Opportunistic Encryption for Firefox by copsarebastards on Sunday March 29, 2015 @12:54PM (#9285517)
I hear this frequently but I don't buy it. What about the MITM scales worse than a passive listener?

As far as I can tell, both insertion of a passive listener and a MITM are algorithmically O(n) on the number of connections being surveilled. All you're increasing for the MITM is the constant factor.

When you're on the order of billions of connections being surveilled, even linear growth is hard, but we know that the NSA already has done that. Increasing the difficulty by a constant factor is not much harder, and there's no question that the NSA has the budget to do so. And in fact, the constant factor isn't even large: it's whatever the resource costs of two connection handshakes per connection is, plus decryption/encryption on the data flowing across, all of which are highly optimized algorithms at this point.

Re:Opportunistic Encryption for Firefox by Wicher on Wednesday April 01, 2015 @03:52PM (#9306342)
No. Passively listening only requires dumping whatever flies over the interface of some router. Done! Very hard to detect. You can also just scan for keywords and only start dumping traffic when triggered. With SSL, you cannot retroactively decide that you'd want to dump traffic. You have to MITM from the beginning.

That's point 1.

Point 2: Detection.

Actively MITM-ing an SSL connection requires you to (if the CA Chain-O'-Trust works as supposed) give away the fact that you own a (valuable!) compromised CA authoritative cert. You would want to use such a cert for a targeted attack, not waste it on blanket surveillance and get found out (and called out) within a couple of days.

If you don't own a root cert but rely on vulnerable implementations, or implementations such as this one which do not rely on the CA infra, same story. You do not want to waste that on blanket surveillance and get caught. You'd save it for the /special occasions/.

SSL-MITMing everyone, all the time, as in blanket surveillance, is unfeasable even without CA chains. You'll get called out on it by people that do check cert fingerprints once in a while.

This is a different kind of scalability than the computational order-of-complexity one that you seem to be thinking about.

Re:Opportunistic Encryption for Firefox by cpeterso on Friday March 27, 2015 @07:43PM (#9279770)
The self-signed certificate can be MITM'd.
Re:Opportunistic Encryption for Firefox by lotu on Saturday March 28, 2015 @12:07AM (#9280475)
What part of passive did you miss?