[Cryptography] FREAK attack

Natanael natanael.l at gmail.com
Thu Mar 5 13:18:29 EST 2015


- Sent from my phone
Den 5 mar 2015 18:56 skrev "Peter Fairbrother" <zenadsl6186 at zen.co.uk>:
> On 04/03/15 17:18, Jerry Leichter wrote:
>> Lessons to learn:
>>
>> 1.  Modes and choices are bad in crypto protocols.
>> 2.  Leaving holes to let "good governments" in will inevitably leave
holes for others as well.
>> 3.  In code, assume nothing ever really goes away.
>
> Couldn't agree more :)
>
> To which, add:
>
> 4. Occam's razor applies to protocol design too - the simpler it is, the
less points of attack there are.
> 5. A system that's hard to use doesn't get used. Good user interfaces are
essential. Users don't RTFM, so don't expect them to.
>
>
> And we have the beginnings of a modern security software design
philosophy.
>
> Any additions?

6. Don't get too clever.

(Yes, it is partly related to 4, but still distinct as you can have clever
and simple protocols, and vice versa).

I'm thinking of things like 3-shake here, the SSL session resumption MITM
flaw - let a device initiate a session (which you MITM) to a server,
connect yourself to the server, break all the connections, perform session
resumption with both of them separately by using data from the previous
connections to make them think they're talking directly to each other.
Session resumption was supposed to reduce CPU load by reusing keys from
previous connections with the same device. IMHO that's a bad type of
optimization, and here it was done wrong as the authentication mechanism
was flawed.

Any other good examples of supposedly clever but horribly insecure
solutions? There has to be quite a few.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.metzdowd.com/pipermail/cryptography/attachments/20150305/91d4282c/attachment.html>


More information about the cryptography mailing list