3 ms·
Ask HN: Why would dictionary attacks work at all these days?
This is coming from a place of ignorance. It's not a challenge to the status quo because I think I'm smart. But a dictionary attack starts with a list of common passwords and applies them successively to the same username, correct? So why doesn't the authentication framework just add a heavy cost to the IP address for each failed attack?
For example, add a 1 second penalty preventing the code from logging in on failure, then a 2 second penalty, a 4 second penalty, and so on? If it were me struggling to remember a password I'd barely notice, but if it were automated code running it would quickly become infeasible.
My only guess as to why this doesn't work is that IP addresses are actually network addresses, which means that if everyone in my building is on Comcast then everyone would in the building would be prevented from logging in. But that doesn't make a lot of sense because ad tracking mechanisms are brilliant at fingerprinting individual machines, which means a authentication code could use a similar strategy, right?