Earlier quoted context omitted.
Rule n1: don't roll your own security. Rule n2: goto 1 You are overcomplicating your authentication system by oversimplifying security problems and the result is that you have solved nothing. Security always seems very easy to solve and usually non-security engineers tends towards solutions like yours that doesn't provide extra security, they just add a few extra steps for a hacker to obtain you database and as a res…
You don’t have to “roll your own security.” You can easily put any open source security system behind a secondary system. Hell - it would already be a secondary system. Not putting your passwords right next to the identifiers is a simple way to lower the impact of an email or password leak. Also, that quote is bullshit.
"Pwned Passwords" V2 With Half a Billion Passwords
271–280 of 369 posts
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#272The UX of a blacklist with a half billion entries would be so crippling that it would cause a user revolt. Most people's password-selection strategies are similar enough to other people's (like kbenson's 4000+ hit) that they could spend hours trying to come up with a password that has never been leaked before. I tried to encourage Troy to suggest to implementors that blacklisting all passwords was a Bad Idea. Instead…
All depends on the threat model. Reusing username/email/password can cost your users hundreds per day on a gambling site. And users don't care about a password-gen guide. For example, in that case, you'd want to consider just generating passwords for them. But of course this would be silly for the run of the mill website.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#273Earlier quoted context omitted.
If you don't trust troy hunt / haveibeenpwned.com you can always download the data and analyze your password yourself. But if this is the case you should not trust any website with your password anwhere ever, and should not create accounts anywhere. Troy Hunt has shown himself a responsible security professional, and I trust him more to create a secure password query than some other security organizations.
"But if this is the case you should not trust any website with your password anwhere ever". That is why you should use unique password for each site.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#274Split brain your password storage. Another table, another database or another storage system in general. If an attacker SQL injections your database don’t go spilling every hashed or unhashed password you’ve got. I tend to store passwords in a separate keyvalue store from where my authentication identifier is (email, “username”). If someone gets into my network they need to get into my servers with the email addresse…
Sorry, but this is convoluted nonsense that can only achieve one thing: make yourself more vulnerable. You want your security system to be as simple as possible, and to involve as little custom code as possible. Because you can and will fuck it up if you try to be clever. Hash and salt your passwords using a library designed exactly for that purpose (which means it will use a slow hash). That's it, end of story.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#275Wrote a simple method in PHP using 10 lines: https://gist.github.com/JimWestergren/a4baf4716bfad6da989417...
Feel free to use.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#276Earlier quoted context omitted.
People who love their moms are less intelligent than those who love their dads? There is a dissertation in psychoanalytics just waiting to be written.
> There is a dissertation in psychoanalytics just waiting to be written. Just don't wear a Hawaiian shirt while giving interview about it on TV.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#277Re: "Pwned Passwords" V2 With Half a Billion Passwords
#278Earlier quoted context omitted.
> I'm going to have to disagree with the premise that sites should stop users from choosing a password which happens to have been cracked offline at some point in the past Well, NIST, NCSC and Microsoft all seem to be on the same page: https://www.ncsc.gov.uk/guidance/password-guidance-simplifyi... https://pages.nist.gov/800-63-3/sp800-63b.html#5111-memorize... https://www.microsoft.com/en-us/research/wp-content/uplo…
NIST has unfortunately been the source of a lot of bad advice which has actively harmed password security the last decade. (e.g. [1]) Cargo culting is generally a good thing in crypto because, you know, don’t roll your own. But in this case we’re talking about policy. And this policy is as user hostile (if not worse) than the prior NIST advice on password expiry. If you want to stop password spraying, protect your ha…
Again, it's not about your hashes, it's about the attacker having access to your users' credentials.
Users re-use credentials accross services and you have no control on how (in)securely they are stored there.
Blacklisting (I don't have an opinion on how big the blacklist should be) what is known to be widely used accross services sounds sensible... and there is definitely an argument to be made about blacklisting what is known to be widely available/effective for attackers.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#279This is a tangent; but I had a 'pwned' password that I've used for years on steam that started getting hacked like 4-5x a week; I would just ignore the 2 factor attempts for several months. I finally changed the password to a slight variation that is not in this list (nor likely any others, 9 random alphanumerics); and within a week the two factor notifications started back up! I was really surprised; admittedly the…
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#280https://github.com/dansingerman/pwned_passwords_v2
The code is left deliberately simple so eyeballing lets you know it's not doing anything hinky with the passwords.