Deprecation of MD5 and SHA1 -- Just in Time? (threatpost.com)
mitcheli writes: If you're hanging on to the theory that collision attacks against SHA-1 and MD5 aren't yet practical, two researchers from INRIA, the French Institute for Research in Computer Science and Automation, have provided reason for urgency. They demonstrated a new series of transcript collision attacks centered on the SHA-1 and MD5 implementations in TLS 1.1, 1.2 and 1.3, along with IKEv1 and v2, and SSH 2. They say, "Our main conclusion is that the continued use of MD5 and SHA1 in mainstream cryptographic protocols significantly reduces their security and, in some cases, leads to practical attacks on key protocol mechanisms (PDF)." Of course, Mozilla officially began rejecting new SHA-1 certificates as of the first of the year. And as promised, there have been some usability issues. Mozilla said on Wednesday that various security scanners and antivirus products are keeping some users from reaching HTTPS websites.
hashmd5(data) is weak.
hashsha1(data) is weak.
hashsha1(hashmd5(data)) is strong, and unlikely to be attacked successfully unless your key data is too short.
Wow, looks like Firefox has some real problems.
From the link quoted: https://blog.mozilla.org/secur...
How to tell if you’re affected
If you can access this article in Firefox, you’re fine.
So, if you Firefox is affected, they won't tell you about it. They'll only tell you if your Firefox is not affected.
Later, same blog post:
What to do if you’re affected
The easiest thing to do is to install the newest version of Firefox. You will need to do this manually, using an unaffected copy of Firefox or a different browser, since we only provide Firefox updates over HTTPS.
So, if your Firefox is affected, you can't upgrade it: you need to have the working version of Firefox to download a working version of Firefox.
What a Catch 22! You can't know about the problem unless you already have fixed the problem, and you can't fix the problem... unless you have already fixed the problem.
http://www.geoffreylandis.com
TLS 1.1, 1.3 and 1.3
So, clearly we should keep using 1.2. After all, 1.3 is doubly vulnerable.
Is MD5 the original name of MC5, who is known for "kicking out the jams" ?
For use in encryption or for verifying that a file is authentic, SHA1 and MD5 should definitely be avoided.
When transmitting a file over a LAN, WAN, or the Internet, however, SHA1 and MD5 are still useful to ensure that the file has not been corrupted (e.g., packets lost). Also, those two hashes can be used to determine if two files in the same system are the same.
The summary mixes two different issues... SHA-1 is being phased out for certificate signatures, but this is not what the SLOTH attack is about.
SLOTH is about the use of MD5 and SHA1 inside the TLS protocol, to sign or MAC the key-exchange messages.
(Disclaimer: I'm one of the authors of the paper)
So this is a problem concerning the use of weak hashes for cryptographic verification. But how "harmful" are hash collisions when all you're looking for are file transmission errors or bit rot? Do we need a stronger hash function when dealing with compressed archives? Has anybody succeeded in creating two valid zip archives with the same MD5 sum?
Posting this anonymously for obvious reasons. The company I'm working for is undergoing some transitions and we needed a way to uniquely identify users without showing their personal information to everyone. I designed a system that uses some personal information (SSN, DOB), concatenates it into a string (whose composition is known to only a select few), and encrypts it using SHA1. (I chose SHA1 because that's what SQL was able to produce... for some reason, I had no luck getting HASHBYTES to produce results with SHA2_256 or SHA2_512.) This hash would only be used on our network and, if some properly, wouldn't be seen by any users.
My question is this: Given this article and assuming that the hashes fell into the hands of someone who wanted to decrypt them, how long would it take to do so? Would it be hours? Months? Decades? Would having multiple hashes tell the would-be cracker anything about the structure of the decrypted string which might help shorten the decryption time? Or would they have to brute force each string until they got one decrypted?
We're early enough in the implementation of this that I could improve the security on this if need be, but obviously the longer the project goes on, the more entrenched this will be and the harder it'll be to replace. Thanks to anyone who has advice on this situation.
Linux crypto hackers open-sourced the BSD Microsoft monopoly!
I asked one of our vendors about this a while back. I wanted the option to use 1 "super secure" hash and another "maybe less secure but really fast" hash (which must be ones that are as mathematically different from each other as possible.) This way you would make collisions harder with minimal overhead.