3 ms·
Knowing the length of the password in theory makes it weaker, but in practice, it doesn't if your password is already longer than feasibly bruteforceable.
by userbinator 10y ago
Knowing the length of the password in theory makes it weaker, but in practice, it doesn't if your password is already longer than feasibly bruteforceable.
- mikeash 10y agoFor all possible passwords up to and including length n (in bytes), nearly 255/256 of them are exactly length n, and only slightly more than 1/256 of them are shorter than n. Information leakage is never desirable, but knowing the length should never make the difference between a password being crackable or not. This seems like a "huh, should fix that in the next version if we don't have anything better to do" bug, rather than a "buy a domain name and alert the world" bug.
- foota 10y agoI think the author's idea is that it allows for easy detection of accounts that can be trivially compromised.
- mikeash 10y agoLike, this account has a password length of 4, so attack that? Makes some sense. Although if it truly is 1 in 10 accounts, you could just attack them all this way, and go with the 10% that succeed.
- foota 10y agoThat's true. 1 in 10 does surprise me. I'm also curious where they got this traffic data from?
- stouset 10y agoIt's even worse — you've correlated a particular IP origin to a weak password. Now you still have to figure out the account to even begin guessing. I guess this is the flip side to marketing of bugs like Heartbleed. Now people are starting to use the same approach for trivial nonsense.
- eh78ssxv2f 10y agoI am assuming that if somebody tries to brute-force Gmail login form, eventually Google will start throttling the login attempts. I am curious about how they got around that. Getting around the throttling seems like a more concerning bug to me (if they were ever able to do that).
- tyingq 10y agoIt's also not clear how they know which account goes with the password they are trying to guess.