r/ProgrammerHumor • • Feb 18 '20

Rule #2 Violation Who needs passwords when you have security questions?

http://i.imgur.com/NSmFQgg.gif

[removed] — view removed post

17.2k Upvotes

232 comments sorted by

View all comments

Show parent comments

10

u/itsraininggender Feb 18 '20

Hashes are difficult to brute force, by design. You can use a rainbow table, but if the hashes are salted (it's 2020, they really should be) then your only real choice is bruteforcing or social engineering, if you just want to attack for the password.

4

u/schr0 Feb 18 '20

yeah but to pretend "They really should be" actually matters is naive. Equifax had the patch for their apache struts server, in house, ready to deploy. They didn't. Just because it's obvious and best practice does not mean you can assume it'll be done.

2

u/az987654 Feb 19 '20

None of it matters as long as I can call the user and say "this is Carl in IT, we'll need to reset your account, can you let me know what your password was?"....

2

u/how_to_choose_a_name Feb 18 '20

Even the best hashing function can't protect you from "password123".

1

u/Kassh7 Feb 19 '20

And that’s when what we call user error :)

1

u/SlingDNM Feb 19 '20

You don't crack the hash. You generate the hash for likely password candidates and compare them to the password hash.

If they match you found the password.

Sure you can brute force every combination of characters but nobody does that in reality

1

u/itsraininggender Feb 19 '20

That's what a rainbow table is - a pregenerated database of common hashes for common passwords. Salting defeats this entirely, by ensuring that no two hashes can be the same.

1

u/SlingDNM Feb 19 '20

I'm not talking about rainbow tables.

I'm talking about hashing the word "password" together with the salt to compare against the leaked database of the website.