3 ms·
Really? 155a7a01308fa0807f722c5984bd91fb --- I find "high-end graphic card (~$500) can compute 10 billion md5 hashes per second" a bit unbelievable [but that
by pbhjpbhj 14y ago
Really?
155a7a01308fa0807f722c5984bd91fb
---
I find "high-end graphic card (~$500) can compute 10 billion md5 hashes per second" a bit unbelievable [but that's progress for ya]. So that's roughly all possible alphanum characters of stringlen 6, each second.
So if my calculation is correct (assuming 60 alphanum chars randomly chosen) that's only 7000 years to calculate all 12 char strings?
Yes I realise that md5'ed password strings aren't random nor usually particularly long. Just saying.
- nnnnnnnn 14y agomasklinn was very clear about the difference between an ivory tower example (yours) and the reality of user passwords. It appears you have missed his point.
- pbhjpbhj 14y ago>an ivory tower example (yours) and the reality of user passwords // So you don't think that 'md5 is only as difficult to read as plaintext is actually hyperbole'? If this is the case then surely someone has a plaintext for the hash I wrote - how much more real can one get. It's a simple English language password.
- nnnnnnnn 14y agoI can't get it for you because I have a single laptop at my disposal. However, any meagerly funded criminal enterprise which can front a few tens of thousands of dollars could tell you the answer quite easily. It is not reliable cryptography, and if you provide an incentive to reverse that hash (rather than merely challenging people who have better things to do) then it will be reversed. When it comes to the type of enterprise which cracks systems for profit, it is as good as plaintext.
- pbhjpbhj 14y ago>it will be reversed // I don't doubt it could be reversed relatively easily. It doesn't appear to be in the online rainbow tables I tried. But having to look something up, have domain knowledge, making multiple computations, program a parallelised attack using GPUs or however one approaches such a problem I still contend it's significantly (though not greatly) better than plaintext.
- problemdomain 14y agoYou're fundamentally misunderstanding the problem domain. At the highest level, you're missing the issue of specialization and parallelization. This misunderstanding is partly alluded to by your surprise at the power of GPUs to hash passwords. GPUs can have hundreds or even thousands of what you might think of as "cores", but they're very specialized cores that are only suited to certain kinds of operations. Those operations were originally intended for the problem domain of high-performance graphics, but as it happens, many of those same operations mesh very well with cryptographic hashes. In essence, we've all got specialized massively-parallel password-cracking supercomputers sitting on our desks. Take this up a level, and you might see the most obvious implication: More $500 graphics cards, more passwords cracked in a given timeframe. Very naïvely speaking, 7,000 $500 graphics cards, $3.5 million. You've just gained the ability to hash every one of those 12-character strings in one year for the cost of a funding round. Oops. Relatedly, you're talking about cracking a password. That's wrong. Nobody cares about cracking your password, or my password. They're going after passwords, in a massively plural sense. Start with 100,000 md5 password hashes. Assume the passwords are all 12 characters (they're not) and they're randomly generated (again, not). You don't conduct a brute-force search for every hash, you conduct a brute force search for 100,000 hashes. 7,000 years divided by 100,000 hashes is 25.55 days. With a $500 graphics card, the crackers can brute-force a password every month. Now, once you realize that the entropy in the average password is not even within an order of magnitude of 60^12, you might begin to see the problem. You'd be lucky to find a password that's 36^8. That purported 7,000 years is starting to look a lot smaller, isn't it? This is why we have things like bcrypt and PBKDF2.
- pbhjpbhj 14y ago>"7,000 years divided by 100,000 hashes is 25.55 days." // This only works if hash reversal costs the same as hash calculation. I think you've made an error. Brute force in hash terms doesn't mean a "search" it means you take a string, hash it and see if the hash matches. That's the brute part, no grace. The 7000 years figure is clearly vastly inflated what's needed for passwords in the wild but I'm merely countering the contention that 'md5 is as good as plaintext'. I note that despite it apparently only taking seconds to reverse my short string that no one has posted the plaintext yet. This doesn't look like it is as easy to read as plaintext. I'm not at all claiming md5 is good security - just suggesting that the claim that md5 is equivalent to plaintext is hyperbole. The easy way to show that I'm wrong is to post the plaintext of that hash.
- masklinn 14y ago> 155a7a01308fa0807f722c5984bd91fb You may want to read the last phrase of my comment. > I find "high-end graphic card (~$500) can compute 10 billion md5 hashes per second" a bit unbelievable And yet those are the numbers oclhashcat lite publishes for 0.10 on a stock Radeon HD6990 (10886.3M c/s): http://hashcat.net/oclhashcat-lite/ http://hashcat.net/oclhashcat-lite/ > Yes I realise that md5'ed password strings aren't random Which is the whole point, and the knowledge the tools I mentioned use: https://community.qualys.com/blogs/securitylabs/2012/06/08/lessons-learned-from-cracking-2-million-linkedin-passwords https://community.qualys.com/blogs/securitylabs/2012/06/08/l... (note: the article is about sha1 hashes — which are about 3 times as expensive to compute as md5 — and is done on an older CPU, not GPU-assisted hashing) > Just saying. Just saying absolutely nothing?
- pbhjpbhj 14y agoYou're carefully excision of the end of my "a bit unbelievable" comment misrepresented what I was saying and the manner in which I was saying it: "a bit unbelievable [but that's progress for ya]" In case you're comprehension is masked in some way the meaning of this is "it's hard to believe that this is possible [with such stock hardware] but I recognise that technological progress has brought us to a point where this is possible; tech progress can surprise one in this sort of manner" - obviously I felt that such verbosity wasn't required. >Just saying absolutely nothing? // So what's the plaintext of that hash I posted?