News for hackers. Stuff that matters.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by citricsquid on Sunday May 13, 2012 @02:07PM (#3967722)
Someone humour me, why does password complexity really matter?

Password complexity doesn't prevent phishing, password complexity doesn't prevent social engineering which are in my experience the 2 biggest issues. Password complexity only really prevents brute forcing, but any system that allows you to hammer it with 100, 1000 or 10000 requests isn't going to be secure anyway. It also goes some way to preventing a password being cracked if the hash is stolen, but that shouldn't be an issue if proper security practices are followed. The only other possibility is that complex passwords can't be read over the shoulder or memorised, if someone sees "p4ssw0rd" it's easy to remember, "P$()\£\(\FDDFA" isn't.

The only real value in complex passwords that I can see is that it makes users think "my password is only 10% secure? I must try harder at security!" but do many even think that? I pay no attention to the complexity meters sites have...

So what am I missing? The way I see it the only real security is a password manager with unique passwords for every account. Surely encouraging that is better than wasting time telling a user if you think their password is secure or not?

Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by carmaa on Sunday May 13, 2012 @02:46PM (#3967856)
Your logic is flawed; just because password complexity doesn't mitigate some of your carefully constructed scenarios, doesn't mean that it's useless. You even mention up some of its merit yourself.

Password complexity (when done right) DOES makes it more difficult to:

-brute force passwords -crack hashes -perform rainbow table attacks -do password sweeps, e.g. do one password guess on every known user name (effectively avoiding account lockout) -do 'one off' guesses

It is not perfect alone, but it is one very important component of every secure and reliable application.

Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by citricsquid on Sunday May 13, 2012 @03:09PM (#3967926)
I understand that complex passwords have merit because they prevent some scenarios, my problem with the focus that is put on it. Having a complex password does help protect you from brute forcing, but it doesn't protect you from the problems that most people suffer: phishing and social engineering and in a scenario like a system you use is breached you can safely suggest your password is stolen, in which case no matter how complex it is you're not safe. How many stolen accounts are from brute forcing? In my own experience with user support all stolen passwords have been a case of phishing or social engineering (eg: "I am important you need to give me your password").

My "issue" (if you can call it that) is if you say to a user signing up to your website "Your password is 50% secure!" they'll mistakenly assume that means they're safe and can throw out all other security practices. It doesn't matter how complex their password is a password is never secure when humans are involved, a password can be considered secure enough if it's unique to a website but once a password is being used on multiple websites it doesn't matter how complex it is, all it takes is for one site to be breached and it's a worthless password.

Instead of telling users that if their password meets some arbitrary requirements that it's suddenly more secure than another password that has 1 less character we should tell them that they need to assume their password can be stolen and if it is using unique passwords per website will protect them.

Passwords aren't either "secure" or "insecure" based on the password itself, they're secure until someone else knows it. If your password becomes insecure (either through phishing or brute forcing) you need to be ready to limit the damage, if every website you use has the same password (no matter how complex it is) and your password becomes insecure you have a huge problem, if you use a unique password per-website you're safe from most damage.

If you have an account on 100 websites it's better to have an "easy" password (eg: "2809911234" (my birth date followed by 1234)) different on each website than it is to have 1 password on every website that is super complex (eg: "£(U&(FDJHDIFHJDJHF&DF&^SDF&^S^&*").

Password security should work under the assumption that someone DOES know your password or WILL know your password and you should be limiting the problem. People sign up to websites all the time that they have no idea how secure they are, I administrate a website with 1.3 million users, I could be a scary russian hacker that is just stealing their details to hack their Paypal accounts and empty their banks, but if they had unique passwords everywhere that would not be an issue. It doesn't matter how complex a password is, the moment you input it into a form on a website it becomes insecure.

To tl:dr; my waffle and address your main point:

> just because password complexity doesn't mitigate some of your carefully constructed scenarios, doesn't mean that it's useless.

You're correct, password complexity isn't useless but it isn't important enough to warrant being the only thing users are told. Password complexity is a small part of having good online security; making it the focus of security by using it in forms is misleading to users. Anecdotally I know someone (supposedly smart) who berated me for having a password that was only 10 characters long because a website said a 10 character password can be hacked in 3 days, he didn't understand that the 3 days is how long it would take a computer to compute my password, not that someone could "target" me and have my password on their computer in 3 days. Even smart people don't have a clue about security and password complexity on forms just misleads them further.

Passwords are secure until someone else knows it, they're not secure based on how complex they are. A password that is 16 characters is only more "secure" than a 10 character password if you live in a vacuum where the only issue is brute forcing (or similar computational attacks).

Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by danpalmer on Sunday May 13, 2012 @02:12PM (#3967749)
If the site you use the password on gets their database hacked, someone can easily start to brute force passwords. Also, sites getting their databases hacked is not uncommon.

As for your other point, using a password manager is good, but not always practical. I have an algorithm I use so that I know all of my passwords, but they are different.

Sites that require you to have a number in it, or a capital letter, or something like that are doing the wrong thing and promoting poor passwords. People think "if I add a number on the end its far more secure" when it isn't. This provides a far more accurate measure so that sites can enforce a minimum complexity which promotes good passwords.

Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by citricsquid on Sunday May 13, 2012 @02:15PM (#3967758)
> If the site you use the password on gets their database hacked, someone can easily start to brute force passwords. Also, sites getting their databases hacked is not uncommon.

If a sites database is hacked then you can assume their entire site is compromised, in which case whether or not they find out your password is moot because if you use real security and every site has a unique password you risk nothing if they do crack it. If you use the same password for every site cracking is the least of your worries, what if a website is breached and the login system is replaced with a system that stores your password? What if you're phished? What if your computer is stolen and someone just checks your saved passwords? No matter how complex a password is if it's used on multiple websites it's insecure.

Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by danpalmer on Sunday May 13, 2012 @02:18PM (#3967768)
I would totally agree, and this is why I use a different password for every site.

However, I am in the small minority and we have to face the fact that most people use one or only a handful of passwords, and these people have a very poor idea of the criteria for a good password, mainly because so many sites have poor guidelines, and poor policies (like max 16 chars, no punctuation, etc).

Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by citricsquid on Sunday May 13, 2012 @02:26PM (#3967787)
Let's hope Windows 8 has a built in password manager :)
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by hsmyers on Sunday May 13, 2012 @01:57PM (#3967689)
Not a perfect metric as he admits, but a great deal better than nothing. One thing that has bothered me from the beginning is the problem of the user's retention of the information. How do we do a min/max of sufficient complexity to deter cracking but allow the user to remember the password in question? This last is one reason that I've kept up interest in bio-metric efforts for security.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by danpalmer on Sunday May 13, 2012 @02:15PM (#3967754)
I always find alternatives to password security interesting, but I don't think any are actually feasible at the moment. We need to realise that passwords are here to stay for a long time, and we need to promote the use of strong passwords that will last a long time.

"8 characters with a number" - the criteria many normal users consider a good password, is just not good enough any more in this ago of $2.50 an hour for an EC2 instance with a few graphics cards.

Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by ThePinion on Sunday May 13, 2012 @02:38PM (#3967832)
This is better than pretty much all similar projects I've seen. Might implement it somewhere. My usual password for sites gets 46%, which I guess I'm fine with.. The password I use for my TrueCrypt password easily gets to 100%, so I'm cool with that.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by danpalmer on Sunday May 13, 2012 @02:50PM (#3967867)
I was annoyed that my password (which would take ~1x10^30 years to brute force) gets a low score on every site with one of these because it doesn't contain a number.

This is my answer. Passwords are judged on their complexity properly rather than a naïve interpretation of complexity.

If you do implement it somewhere, let me know where. Also fork and contribute if you want.

Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by kgen on Sunday May 13, 2012 @02:41PM (#3967841)
A fifteen letter password that is a mixture of letters, numbers and symbols is only 56% complex? That's bonkers. What's the point of measuring complexity if you aren't going to be able to remember the password?
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by byoung2 on Sunday May 13, 2012 @02:49PM (#3967865)
It depends on what the password is for. I think the more complex passwords are appropriate for root passwords or databases, but for user passwords, you would have to educate users that anything above a certain threshold (say 30%) is good enough. My attempt fJ6&$h12@ was 40% and $Y8th&t%k^! was 48% and these are way more complex than most people need to secure email or log in to a web app. Above a certain level, and they'll write it on a sticky note.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by danpalmer on Sunday May 13, 2012 @02:52PM (#3967874)
Those two passwords aren't too bad, but they aren't amazing. They are only 9 characters and length matters far more than the character sets you include. This is the big misconception many users have, and it's promoted by all the password strength meters that get this wrong. Complexify is my attempt at providing a better metric.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by danpalmer on Sunday May 13, 2012 @02:47PM (#3967859)
The complexity is based on the minimum required to be valid (~44%) being an 8 character password with upper, lower and numbers. That is really the absolute minimum anyone should be using now I think.

As for your password scoring 56%, that's not too bad. But adding more characters has more of an effect that adding a wider range of characters. This is how it should be.

Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by chc on Sunday May 13, 2012 @02:54PM (#3967882)
Passwords don't have to be unmemorable to be hard to crack. For example, "Can you remember this?" has 87% complexity and "Bet you can remember this one" has 100% complexity.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by ElliotH on Sunday May 13, 2012 @02:16PM (#3967761)
Only real issue I can see is that a length 10 string of random lower case letters is given the same rating as a 10 letter long dictionary word (whereas ofc the dictionary word would be cracked first).
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by danpalmer on Sunday May 13, 2012 @02:21PM (#3967773)
Yep, and I did actually put at the bottom that this does not have any indication of how crackable it would be with a dictionary attack. Unfortunately I don't think that's feasible.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by mmastrac on Sunday May 13, 2012 @02:23PM (#3967778)
You could potentially 'compress' the dictionary into a bloom filter. You'd have a chance of false positives (ie: a word looks like a dictionary word), but that's probably acceptable in this case.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by ericax on Sunday May 13, 2012 @02:57PM (#3967888)
Try 52 "1"s. You get a password with 100% complexity.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by danpalmer on Sunday May 13, 2012 @03:10PM (#3967929)
That is also a 52 character password. I'm betting no one wants to try brute forcing 20+ character passwords at the moment. While it is a very contrived example, it's also not as bad as it seems for security.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by jrgnsd on Sunday May 13, 2012 @03:05PM (#3967913)
I started typing in a password, and then thought that this is an easy way to harvest passwords that people think is hard to crack.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by danpalmer on Sunday May 13, 2012 @03:09PM (#3967922)
Feel free to have a look at the javascript, see what's going on in the page, or watch network traffic.
Re:Complexify - a jQuery Plugin to ACCURATELY Gauge Password... by Kwpolska on Sunday May 13, 2012 @02:20PM (#3967770)
XKCD approves. http://xkcd.com/936