2 ms·
We're used to assuming that the attacker knows a login and is guessing at a password, however the opposite scenario is is increasingly common. Suppose another
by Terr_ 9y ago
We're used to assuming that the attacker knows a login and is guessing at a password, however the opposite scenario is is increasingly common.
Suppose another website has a security breach, revealing many names and passwords. User John Doe used a password of "foo", so an attacker starts trying combinations like jdoe/foo or johnd/foo or john_doe/foo, looking for the same person reusing a password on your site.
By denying them information about which login names exist, it's harder for the attacker to either zero-in on the correct username (and try alternate password variations) or to be certain that they've got nothing and that it's time to move on.