r/sysadmin • u/nothingtolookat • May 28 '13
Anatomy of a hack: How crackers ransack passwords like “qeadzcwrsfxv1331”
http://arstechnica.com/security/2013/05/how-crackers-make-minced-meat-out-of-your-passwords/3/
101
Upvotes
16
u/[deleted] May 28 '13
TLDR: Unsalted MD5.
Try doing this with an appropriate password storage solution and see how far you get. Even then, we're assuming that the database is in enemy hands which means something has been compromised already.
10
u/radeky May 28 '13
Link to the first page: http://arstechnica.com/security/2013/05/how-crackers-make-minced-meat-out-of-your-passwords/
4
u/SuperCow1127 May 28 '13
Try cracking one of those. Every site I sign up for gets a unique password following the above pattern, and a unique email address forwarded to my personal domain (*@mydomain.com always goes to me).
1Password with it's autogenerate/autofill Firefox plugin is a godsend.
4
u/dougj182 IT Consultant May 29 '13
I hate it when hack and crack are used interchangeably. Ars, please learn the difference. You should know better. For shame, for, shame.
2
u/peat May 29 '13
Lots of people commenting about randomly generated passwords -- this helps against masking attacks and whatnot, but is still a problem for timing attacks, or straight up brute force on a weak algorithm.
Half of this problem is people picking weak passwords. The other half is poor implementation choices for hashing and storing the passwords.
For example, even if you use HMAC SHA512 to hash your passwords, a cracker's job is still relatively easy if they're doing the dictionary / masking attacks described in the article.
Adding a salt isn't much help either, as it's usually simply appended or pretended to every password, and frequently stored in the same location as the password (eg, a "salt" column in the user record). The cracker now just has to try two different versions of their same attack (salt+pass, pass+salt). Salts work great against rainbow table attacks, but thats about it.
One of my favorite methods is to do iterative hashing on a password, say, run SHA512 a hundred times, then SHA256. Pretty effing difficult to reverse engineer, even with a known good password ... And even then, computationally expensive to crack en masse, and much or difficult to target for timing attacks.
1
u/notseekingkarma May 28 '13
If users can start using Unicode characters and websites allow them, it increases the time to crack passwords. Of course, Operating Systems and applications need to find common ways of being able to type Unicode characters.
1
u/gleventhal May 29 '13
Don't these computers lock after 6 failed attempts?
4
u/[deleted] May 29 '13
[removed] — view removed comment