I recall a talk at passwordcon by Per Thorsheim where he pointed out that not only does the password: "Password2022" meet most "strict" criteria (three different character classes, longer than eight characters) - and -it's amenable to yearly demands for changing (increase the year) - but in large organizations you're actually very likely to find a user or two with this password (as seen in audits that ran simple brut…
One good complexity check would be “contains a single dictionary word as the main content.” I don’t know if library does it, though.
Password Requirements: Myths and Madness
231–240 of 257 posts
Re: Password Requirements: Myths and Madness
#232Earlier quoted context omitted.
> After pointing to the NIST standards (and two other references) saying that that reduced security and saying "we're not prepared to reduce our security"... Tip for those in settings with compliance reviews and cybersecurity insurance: get your PCI DSS, SOX, and other auditors, and cybersecurity insurance underwriter on board with these standards as well, with written statements. Then if Big Customer Co. pushes back…
It's actually PCI DSS that has propagated some of these bad practices.
It’s still messy at this time, but if it is important enough to you, then sometimes it can be obtained. Most of my clients aren’t that doctrinaire over the expiration part though and are still comfortable making everyone change every 90 days, and with some enterprises they don’t care because they have FIDO2/U2F or similar authN infrastructures and corresponding authZ improvements on their roadmaps within the next 3-5 years anyways that do away with most passwords in their environments.
Re: Password Requirements: Myths and Madness
#233Re: Password Requirements: Myths and Madness
#234Earlier quoted context omitted.
Expiring passwords are the bane of my existence when the period is short. I can live with changing a password once a year, but every three months is only encouraging me to pick weak passwords. Why can I accept it? I constantly see colleagues sharing passwords and constantly have to say "please don't" when they try to share their password with me. While forcing people to change their passwords doesn't eliminate the un…
My old man's work used to make them change their passwords once a month. For the next 10 years, his password was a particular insulting phrase directed at the IT guys, followed by a number that would increment each time he had to change it. Got into the hundreds before he left the company.
Re: Password Requirements: Myths and Madness
#235Earlier quoted context omitted.
But your generated password contains "-", and that's not accepted by the website. How can you not bother?
Password manager password generators have a simple UI you can click to select the password format required by the form. Or just click 'generate' again and try each until one works.
For no good reason, as explained in the article.
Re: Password Requirements: Myths and Madness
#236Earlier quoted context omitted.
ah, that's reasonable and logical I guess to just do common "simple" transformations and check the hash. Thanks!
It's not that easy, normally having function have a big avalanche factor - even one bit changes the whole hash. There are some malleable having algorithms but they're necessarily less secure. If you're sending multiple hashes to check nobody is stopping the user from sending garbage, except their lack of JS/browser skill. If you're sending the plaintext password, what are you doing using a hash? When your backend is…
In the case where the current password is captured on the password change, you have two plaintext values that aren't stored yet and you can just do some text analysis and understand how close they are.
With past passwords, you just take the current input and transform it with common transformations (adding numbers, incrementing/decrementing numbers, etc), hash it, and see if it matches a previous password hash. If so, then you know that they're using a very similar password pattern repeatedly.
Re: Password Requirements: Myths and Madness
#237My favorite is this transaction: I forgot my password. Can you send me a link? Sure, here you go. Pick a new password. Okay, CorrectHorseBatteryStaple. Sorry, you can't use an old password
would be a nicer UX if instead of "sorry" it was "great, your password hasn't changed as this was your old password. ps. you're now logged in, go do whatever you were hoping to do you rascal!"
Re: Password Requirements: Myths and Madness
#238Earlier quoted context omitted.
This is, essentially, harder to remember passwords. Probably more secure, provided you don't make a mistake. But also easier to mistake and then lock yourself out. Auditing is also harder, now
No it isn't, because unlike passwords you can reuse a key pair indefinitely without suffering any greater risk. If we only ever had to remember a handful of passwords you would be right about them being easier, but we have hundreds of them which necessitates a password manager anyway which has all the same manageability problems of the asymmetric key pair without any of the benefits. > Auditing is also harder, now Ca…
And if it is challenge/response, you need to have different public keys, or a compromised private key is complete game over, just like a shared password.
Thinking on it more, I'm not sure why I think auditing is harder. Is hard regardless, but I don't think this makes it tougher. If you are reusing public keys on N sites, it is now N places to check for use per key. Though, you always had N places to audit. They could be independent without reuse, but still not easy.
Re: Password Requirements: Myths and Madness
#239Earlier quoted context omitted.
The author's point is not that you should use a short unicode password, but that the key thing to focus on is password strength , not length . That is, use a lib that enforces password strength -- he is arguing -- instead of focusing on arbitrary and possibly wrong constraints such as "password too short". Strength is going to take care of it if it really is too short, anyway. The author is also aware that we've know…
So what's the proposal, switching to requiring a different length when a unicode character is present? How do you know from what set of possible values (like thousands of possible unicode chars versus a-z) the user chose each character? While 68 bits entropy are secure in a case of good hashing, I think the statement is misleading. Anyone who uses a random generator will just use 16+ random alphanumerics (optionally…
A variant of "don't roll your own crypto (unless you work in the crypto space)".
Re: Password Requirements: Myths and Madness
#240Earlier quoted context omitted.
Passkeys aren't immune to phishing. And they are susceptible to being lost. I say that as someone with two. Worse, they aren't accepted everywhere. And often places only let you have one registered. :( So, yes, I agree that they are a solution. I don't know that I feel much safer using one, though. And, at large, I can see how they are not much different to passwords. Just ones that you can't speak others easily.
Are you sure you’re referring to passkeys like passkeys.dev? The new Web standard? It builds upon WebAuthn and physical keys but is slightly different and on track to be supported by major platforms. Sounds like you’re referring to something like YubiKey, it’s hard to lose device associated passkeys. How would you phish it? The challenge response mechanism contains the requesting origin so it’s berry difficult to phi…
I confess right now it isn't impressing me. Is sounding too magical in a "it just works" way. With no real explanation of how.
It hurts that it sounds tied to a device. I stopped using some authenticator apps after I lost access to a ton of stuff when my phone broke.
As for phishing, this seems like a mitm would still work better than you'd expect. Folks get really good at ignoring warnings and such. Especially under duress.