News for hackers. Stuff that matters.
Re:Let them paste passwords (2017) by nobatron on Saturday June 20, 2020 @04:27AM (#23582613)
This approach also means that the password must be stored as plain text. Otherwise they would only be able to compare if the password was complete.
Re:Let them paste passwords (2017) by mormegil on Saturday June 20, 2020 @05:27AM (#23582845)
Not necessarily. You could store $10 \choose 5 = 252$ hashes for each user.

We did something similar for call center caller authentication (you don't want the operator to get the whole PIN of the user, so he asked only for e.g. two characters). Not that this would be very useful, security-wise.

Re:Let them paste passwords (2017) by dmurray on Saturday June 20, 2020 @07:06AM (#23583242)
> Not necessarily. You could store $10 \choose 5 = 252$ hashes for each user.

Wouldn't this be way easier to crack if the password hashes were leaked? Once you crack one 5-letter hash, you can trivially crack the one that shares 4 characters with it, and do that repeatedly until you have all 10 characters.

You're reducing the effective search space not by a factor of 252 (8 bits of entropy, which would often be acceptable) but to its square root, losing half of the entropy.

Although it seems like security theatre, the PIN solution actually sounds more useful. The typical attack on a system protected by PINs, like bank cards, is not cracking hashes offline - it's that the attacker tries the PINs on the live system and gets locked out after a small number of failures. Assuming the bad actor can't just initiate another call and ask for the other two digits.

Re:Let them paste passwords (2017) by mormegil on Sunday June 21, 2020 @03:27AM (#23590470)
Oh, sure, the authentication itself is fairly usable for the given usecase, the hashing is security theater. I advocated not hashing those PINs, but you know, standards, auditors, etc. "Passwords must be hashed", security theater or not.
Re:Let them paste passwords (2017) by viraptor on Saturday June 20, 2020 @05:40AM (#23582887)
There are ready solutions for that too. For example https://github.com/bizley/yii2-partial-password