Live data from Hacker News

Zxcvbn: realistic password strength estimation

tech.dropbox.com

31–40 of 134 posts

Re: Zxcvbn: realistic password strength estimation

#31
post #4

The demo at http://dl.dropbox.com/u/209/zxcvbn/test/index.html shows what's happening behind the scenes. The one usability problem I see is users complaining that zxcvbn is calling their 'secure' password they use on everything insecure. :-)

Maybe the fix is to have two bars: "difficulty for you to remember" and "difficulty for a computer to guess"

Re: Zxcvbn: realistic password strength estimation

#32
post #9
post #2

> Bank of America doesn’t allow passwords over 20 characters, disallowing correcthorsebatterystaple. Passwords can contain some symbols, but not & or !, disallowing the other two passwords Can anyone elaborate why "&" or "!" wouldn't be allowed?

Not answering your question, but the most inane thing I've seen is sites that have a password character limit but then don't tell you, and only save the first X number of characters. There probably is a special level of hell for UI UX sins.

This drives me insane. It especially bites everyone using a a manager to generate long random passwords.

Password fields that are too short cause a similar problem, where you ask "am i still typing? did it cut me off?"

We purposely made the fields huge to help with this on: https://www.dropbox.com/register

Re: Zxcvbn: realistic password strength estimation

#35
post #23
post #21

Earlier quoted context omitted.

It certainly needs more tweaking. FJ, FJFJ, etc isn't in any of the 10k passwords people commonly use, isn't a sequence, isn't a single repeated character, etc, so zxcvbn recognizes it as bruteforce. A fun extension would be to recognize repeated chunks in addition to single characters.

One thing would be to try to measure entropy in a different way, e.g. run gzip on it. Right now FJFJFJFJ has the same entropy as FJGJFJGJ.

That's a great idea. More generally, whatever the approach, I agree zxcvbn would be better with a more conservative rating for non-pattern-matched regions.

Re: Zxcvbn: realistic password strength estimation

#36
post #30

I feel like this is a stupid question, but what is wrong with having your password be something like "p4ssw0rd"? eg: a dictionary word where a few of the letters are switched for numbers, and maybe even a symbol at the end ("p4ssw0rd$") are these terrible passwords for some reason?

The problem is that those substitutions are all fairly common, and so any good cracker will make those substitutions as part of its check. https://xkcd.com/936/ is a good reference point.

Re: Zxcvbn: realistic password strength estimation

#37
Many sites won't accept my passwords (SHA1_Pass). They say that they are too long or have inappropriate chars or that they are not complex enough. Here's an example of inappropriate chars:

UTP+NnhabgHKx6

So I make a different password and the sites say it is too weak as it has no special chars or uppercase chars:

5133fe36785a6e01cac7a68c9c111afff5bb4821

So I give up and type Password1 which is normally accepted.

Re: Zxcvbn: realistic password strength estimation

#38

It certainly needs a rule for putting spaces between the words. "correct horse battery staple" and "correcthorsebatterystable" should be treated as being approximately equal in strength.

Not to mention:

  horsebattery -- 3 minutes
  h orsebattery -- 8 years
  ho rsebattery -- centuries
  horseb attery -- 85 years
  horsebat tery -- 54 years
Which at the very least is a little odd, even if the reason (breaking up the words into less word-like structures) is clear.

Also:

  abcde -- instant
  a b c d e -- centuries

Re: Zxcvbn: realistic password strength estimation

#39
I have waited for this for so long. I'm glad someone finally took it up and and more importantly that its on a site as popular as dropbox. (this way hopefully the thinking will gain some traction)

Every time I'm forced to have a password with 3 or 4 character classes I sigh and think of that xkcd comic

Edit: also try typing the password from the xkcd comic here https://www.dropbox.com/register

nice touch

Re: Zxcvbn: realistic password strength estimation

#40
post #30

I feel like this is a stupid question, but what is wrong with having your password be something like "p4ssw0rd"? eg: a dictionary word where a few of the letters are switched for numbers, and maybe even a symbol at the end ("p4ssw0rd$") are these terrible passwords for some reason?

Password cracking tools will try variants of dictionary words with common substitutions like that. In this case, a/4, o/0, and s/$ would be swapped out in passwords, and your password would be guessed in a few minutes. John the Ripper is an interesting tool for messing around with this.
Post reply on HN