Re: Lost password + MD5 ?



Erwin Moller wrote:
I don't want to ruin this party, but if you safe md5(password) you might as well store them plaintext.
MD5 has had its best days. :-(
[...]
I also read some smart@ss at slashdot improved on this, and now it can be done on a run-of-the-mill PC in 1 second.
15min is the last estimate I know, but that's a few months old.

So: effectively MD5 is broken. Do not use it.

Depends on what this guys choices are and how much effort an attacker is going to spend on getting a password. a) In a web application you typically deal with the name-of-my-neighbour's-hamster class of passwords (unless it's a bank). For instance, a truly random password of 6 lowercase letters and digits has about 31bit of entropy in it, words something in the 10 to 20bit range. No attacker will attack md5 for this, they run some crack-like guesser and that's it. b) His toolkit may not have anything better to offer, in particular not SHA256.

Also, typically you salt passwords, i.e. combine them with another random
string. (frizzle, you *do* that, don't you?)
If the attacker doesn't steal the password hashes *and* the random
strings he can't do anything. If he can break into your system and steal
a file, you've IMHO got a way bigger problem than what hash function you chose.

Lots of Greetings!
Volker
.



Relevant Pages

  • Re: How to retreive the URL of the chosen (but non-exsisting) page after redirect?
    ... cunning attacker can form a query string which will print a string to ... cookies live on the client. ... Or the web server might not ...
    (comp.lang.javascript)
  • Re: long index strings
    ... I'm sure breaking a long string into 20 byte segments would work, ... What I was hoping for was a way to compute a mathematical hash such ... as MD5 in Filemaker. ... What are the requirements for writing a plug-in of your own? ...
    (comp.databases.filemaker)
  • Re: strengthening /dev/urandom
    ... > I'd have to know how that string was generated, ... > Shannon entropy but not about orders of modelling. ... correlations then an order-1 model will show that. ... My point is an attacker could take advantage of that. ...
    (sci.crypt)
  • [UNIX] WordPress User Privilege Escalation
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... string without using quotes in JavaScript?. ... That wouldn't be run in WP, but from the HDD of the attacker. ... paragraphs of JS, both individually wrapped in script tags, taking note to ...
    (Securiteam)
  • Re: How to retreive the URL of the chosen (but non-exsisting) page after redirect?
    ... What is XSS? ... cunning attacker can form a query string which will print a string to ... the server? ...
    (comp.lang.javascript)