News for hackers. Stuff that matters.
Re:New NIST password guidelines: don't require character typ... by aaronharnly on Tuesday December 13, 2016 @10:48PM (#13173655)
Operative bit in 5.2.2: "Verifiers SHOULD NOT impose other composition rules (mixtures of different character types, for example) on memorized secrets. Verifiers SHOULD NOT require memorized secrets to be changed arbitrarily (e.g., periodically) unless there is evidence of compromise of the authenticator or a subscriber requests a change."

I'm cautiously hopeful that this will supply needed ammunition for those advocating for saner password rules and policies in organizations big and small.

Re:New NIST password guidelines: don't require character typ... by CWuestefeld on Wednesday December 14, 2016 @11:19AM (#13177125)
I wish they'd also added:

Verifiers SHOULD NOT prevent users from pasting secrets from the keyboard.

Re:New NIST password guidelines: don't require character typ... by sleavey on Wednesday December 14, 2016 @01:00PM (#13178097)
I've seen banks do this, and I agree it's incredibly annoying. KeePassX's autotype function bypasses copy-and-paste restrictions, since it emulates the keyboard as it types your password.
Re:New NIST password guidelines: don't require character typ... by paulddraper on Thursday December 15, 2016 @01:41AM (#13182897)
Next is custom screen keyboards made with <canvas>
Re:New NIST password guidelines: don't require character typ... by chikei on Thursday December 15, 2016 @07:06AM (#13184011)
You're allow only to input using their custom screen keyboard AND randomize the position of each key.

Banks: this is to prevent attacker use keylogger or mouse position logger.

I was like, are you fucking serious ?

Re:New NIST password guidelines: don't require character typ... by rolandog on Thursday December 15, 2016 @01:40PM (#13186959)
Shh... don't give them any ideas.
Re:New NIST password guidelines: don't require character typ... by nommm-nommm on Wednesday December 14, 2016 @03:51PM (#13179541)
Pressing F12 and modifying the DOM usually works as well.
Re:New NIST password guidelines: don't require character typ... by gmiller123456 on Friday December 16, 2016 @10:16AM (#13193789)
Actually, no. This is about "memorized secrets", not "secrets stored somewhere else". That's not to say that secrets stored somewhere else can't be better than passwords in certain situations, they're just a different type of authentication. A password is "something you know", and stored password is "something you have". Some systems are required to use different types of authentication, one thing you know, one thing you have, and one thing about you (e.g. fingerprint/retina scan). Allowing a copy and paste from a different source violates the "something you know" requirement.
Re:New NIST password guidelines: don't require character typ... by jmah on Wednesday December 14, 2016 @04:02PM (#13179622)
Usually this is accomplished by blocking the keyboard shortcut; pasting via right-click menu typically works.
Re:New NIST password guidelines: don't require character typ... by logicallee on Tuesday December 13, 2016 @11:27PM (#13173837)
They should settle on requiring a memorable, yet high entropy password that is impossible to conpromise. For example the string "IpromiseIamauthorizedtoaccessthissystem". This string is very high-entropy (does not appear anywhere in Google, is 9 words, a mixture of upper and lowercase. For someone trying every character combination, it would take over a thousand years to crack. It includes a second factor (the promise) by definition. In short it should be the REQUIRED secure password for all applications.
Re:New NIST password guidelines: don't require character typ... by sowbug on Wednesday December 14, 2016 @12:22AM (#13174058)
This is an excellent approach. In addition, I recommend adding pithy terms of service to the end so that the holder can sue anyone who steals the password. You'd be surprised how many black-hats are deterred by the threat of prosecution.
Re:New NIST password guidelines: don't require character typ... by Crespyl on Wednesday December 14, 2016 @08:29AM (#13175767)
The "Ancient Egyptian Curse" approach to security.
Re:New NIST password guidelines: don't require character typ... by sooheon on Wednesday December 14, 2016 @01:15AM (#13174220)
This is hilarious, and I like it :)
Re:New NIST password guidelines: don't require character typ... by dublinben on Tuesday December 13, 2016 @11:36PM (#13173875)
>does not appear anywhere in Google

It does now! This is why it's so important to use a method like diceware to select a strongly random set of words for your passphrase.

Re:New NIST password guidelines: don't require character typ... by ricardobeat on Wednesday December 14, 2016 @05:54AM (#13175101)
If uniqueness is a goal, why not just use UUIDv4?
Re:New NIST password guidelines: don't require character typ... by malka on Wednesday December 14, 2016 @07:27AM (#13175454)
both uniqueness and easiness of memorization are important here
Re:New NIST password guidelines: don't require character typ... by criddell on Wednesday December 14, 2016 @08:15AM (#13175701)
I have one passphrase that I've memorized and that gets me into my password manager. I couldn't tell you any of my passwords other than that one. I also use two factor authentication in the form of TOTP (the 6 digit number that changes every 30 seconds) wherever I can.

If so many sites didn't have a limit on password length, I would use UUIDs.

BTW, is there any reason to have a short limit on password length? I'm talking less than 20 characters? I could understand limiting it to 100 characters, but when it's short it makes me feel like the site might be storing my password rather than a hash.

Re:New NIST password guidelines: don't require character typ... by tuwtuwtuw on Wednesday December 14, 2016 @10:39AM (#13176747)
If you only have the password to your password manager, how do you log on to your computer?

Honest question since I want a solution to that problem. I want separate credentials for my home and office computer so even though I use a password manager I have like 3-4 sensitive passwords I have to keep in my head.

Re:New NIST password guidelines: don't require character typ... by criddell on Wednesday December 14, 2016 @10:58AM (#13176908)
My laptop has a fingerprint sensor that I use. There is a backup password but I don't know what it is but I do have it in my password manager that I can access from my phone.

My office computer has a relatively weak password because there's nothing on it that is personally sensitive. They force a password change every three months so I added a counter to the password and just increment that each time (pa$$1word, pa$$2word, pa$$3word, etc...).

Re:New NIST password guidelines: don't require character typ... by logicuce on Wednesday December 14, 2016 @11:31PM (#13182424)
Isn't fingerprint based authentication considered, generally, weaker than that based on a password?
Re:New NIST password guidelines: don't require character typ... by criddell on Thursday December 15, 2016 @11:06AM (#13185510)
I might be wrong, but I believe a fingerprint is equivalent to around 80 bits of entropy which is roughly the strength of a good 13 character password.

A determined adversary can do things like lift a fingerprint from elsewhere and use that, but it's not really something I worry about too much. They could also arrest me and press my finger down on the sensor or beat me and I'll tell them every password I can.

I mostly worry about having strong credentials to remote systems.

Re:New NIST password guidelines: don't require character typ... by Terr_ on Wednesday December 14, 2016 @12:13AM (#13174023)
FYI, I think that needs a little more sarcasm early on, I got pretty far before I realized it wasn't just, well, wrong.
Re:New NIST password guidelines: don't require character typ... by VLM on Wednesday December 14, 2016 @09:59AM (#13176376)
The problem with long passwords and "culture fit employees" is at a former employer root passwords were mostly never used (magic of sudo, kerberos, etc) and were stored in sealed envelopes in a semi-secured lockbox, and during the inevitable outage it was comically discovered two star trek fans configured two machines to the same trek quote as a password.

I would imagine in the "real world" outside strict culture fit requirements that a certain percentage of passwords will be popular bible verses, for example.

There's a curve where the likelihood of collision or predictability is very high with short passwords and it declines with length until it starts increasing again.

I used to use full engineering parts numbers of semiconductors I used in projects. I also used some verbose API names that I used a lot. In retrospect that's a terrible idea. I wonder how many people sitting next to me used the same password.

Re:New NIST password guidelines: don't require character typ... by jff on Wednesday December 14, 2016 @11:16AM (#13177107)
> during the inevitable outage it was comically discovered two star trek fans configured two machines to the same trek quote as a password.

Was it "Live long and prosper" or "He's dead, Jim"? The latter seems more suitable given the circumstances :)

Re:New NIST password guidelines: don't require character typ... by VLM on Wednesday December 14, 2016 @01:34PM (#13178410)
I believe it was one of the numerous starship self destruct codes, which also technically passes the usual hoops of letters and numbers and mixed case and punctuation.

I actually looked it up: 1,1A(bunch more stuff here)000Destruct0 it was kinda long. From memory that movie even displayed it on the screen so the guys used the same capitalization and everything.

Re:New NIST password guidelines: don't require character typ... by criddell on Wednesday December 14, 2016 @08:13AM (#13175688)
Bruce Schneier disagrees with you:

https://www.schneier.com/blog/archives/2014/03/choosing_secu...

The main point from his essay is anything that can be remembered can be hacked. He then softens that statement to show a way to take your memorable phrase and turn it into something stronger.

Re:New NIST password guidelines: don't require character typ... by UnoriginalGuy on Wednesday December 14, 2016 @09:45AM (#13176270)
> The general attack model is what's known as an offline password-guessing attack.

Most of the time these days we're talking about online services or devices where there are practical limitations (or software limitations) imposed on how quickly we can "guess" a password. This is the most important use of passwords, their strength within a hash should be a concern of the proprietor rather than the user.

Specifically using a salt + pepper, and a hashing algorithm that can be made computationally expensive (or use some other finite computing resource like a lot of memory or even GPU power).

> This is why the oft-cited XKCD scheme for generating passwords -- string together individual words like "correcthorsebatterystaple" -- is no longer good advice. The password crackers are on to this trick.

Them being "on to this trick" doesn't defeat it. It is mathematically stronger. The US-English keyboard has 100 common characters on it. A eight year old child knows over 2,600 words. The key to an "XKCD password" is that one letter in a "random" password must be equal to about half a word in an XKCD-style password (e.g. 8 characters = 4 words, 6 characters = 3 words, and so on).

So:

"12345678" (8 chars)

"OneTwoThreeFour" (4 words)

Are equally as secure (still terrible passwords, but the maths works out). That's because, assuming a "bad guy" knows your trick, the search space is much MUCH larger for an XKCD style password than a traditional password.

Schneier is just mistaken, word-based passwords assuming a reasonable length almost always perform better than random characters, and the maths shows that pretty steadily. We ASSUME a bad guy knows what we're doing, that's a given, but again it is still a much harder task for a bad guy even with perfect intelligence.

Re:New NIST password guidelines: don't require character typ... by CppCoder on Wednesday December 14, 2016 @08:46AM (#13175873)
But he starts with saying the file can be processed offline. And I wonder, if one gets the "password" file to be processed offline, why can't he simply get the data too?

Maybe there is a difference between what is supposed to be protected. The login to some server based server? Or something I use locally like my tax files.

Re:New NIST password guidelines: don't require character typ... by Tomte on Wednesday December 14, 2016 @08:49AM (#13175891)
Schneier is simply wrong there.

He wanted to rant and therefore didn't read the description of the "xkcd scheme" with enough concentration to understand it.

Legions of security people debunked Schneier, but unfortunately he didn't have it in him to retract his claim and update his post.

This blog post is the best example you can give of Schneier quitting academic discourse and becoming a pundit.

Re:New NIST password guidelines: don't require character typ... by criddell on Wednesday December 14, 2016 @10:13AM (#13176491)
Can you point to a good debunking?
Re:New NIST password guidelines: don't require character typ... by PwdRsch on Wednesday December 14, 2016 @01:38PM (#13178448)
Re:New NIST password guidelines: don't require character typ... by criddell on Wednesday December 14, 2016 @04:41PM (#13179915)
After reading through most of that, it seems that the big problem with the XKCD scheme is that it's often impractical. Too many sites restrict password length and so you are forced to use the Schneier modification to get more entropy per character.

If you make a password from an alphabet of 64 characters (upper and lower case, digits, and some special characters), there are 6 bits per character of entropy so a ten character random password could have 60 bits of entropy.

If you are choosing words from a list 4000 words long, there are 11 bits of entropy per word and so you would need to string together five random words to get a password of equal strength. The big problem then is having enough space to type that many characters.

Re:New NIST password guidelines: don't require character typ... by PwdRsch on Wednesday December 14, 2016 @04:53PM (#13179997)
Yep, unfortunately for passphrases the maximum acceptable password length on web sites tends to be the #1 factor limiting their use. I created sample passphrases and tried them on a handful of different sites to measure the problem. See starting slide 31 in this presentation (PDF): http://www.passwordresearch.com/files/How%20Secure%20Are%20M...
Re:New NIST password guidelines: don't require character typ... by criddell on Thursday December 15, 2016 @11:09AM (#13185541)
Do you know why sites would set a low limit? I can understand limiting to, say, a couple hundred characters, but 16 is ridiculous. These days, all anybody is going to store is a salted hash so the passphrase length should be mostly irrelevant.

Edit: that's a pretty nice slide deck. Thanks for the pointer.

Re:New NIST password guidelines: don't require character typ... by dragonwriter on Thursday December 15, 2016 @11:10AM (#13185566)
> These days, all anybody is going to store is a salted hash so the passphrase length should be mostly irrelevant.

Since I still run into services where the "forgot password" mechanism emails your current password in the clear, this is unfortunately not as true as one would hope.

Re:New NIST password guidelines: don't require character typ... by Tomte on Wednesday December 14, 2016 @10:36AM (#13176712)
Not on the road, but IIRC there were several in the blog comments.
Re:New NIST password guidelines: don't require character typ... by loup-vaillant on Wednesday December 14, 2016 @07:22AM (#13175442)
One little problem with your passphrase is, it's grammatically correct. If the attacker suspects as much, this will dramatically reduce the search space.

Personally, I'd rather bet on something like Diceware.

Re:New NIST password guidelines: don't require character typ... by cmdrfred on Wednesday December 14, 2016 @07:43AM (#13175538)
At very least that is more secure than a random 9 character password and much easier to remember. 9 words to the power of 20k[0] compared to 9 letters to the power of 52 (random case).

[0]http://www.lingholic.com/how-many-words-do-i-need-to-know-th...

Re:New NIST password guidelines: don't require character typ... by loup-vaillant on Wednesday December 14, 2016 @08:18AM (#13175714)
You're right, it's much better, but the entropy of an English word is nowhere near log2(20K) (between 14 and 15 bits of entropy), especially in a grammatically correct sentence, because you're simply unlikely to select them truly randomly.

Some words are way more common than others, and they are much more likely to be found in your passphrase if you didn't use an external random index generator (be it a set of dice or /dev/urandom), because of availability bias: you're more likely to chose common words, or even worse, uncommon words pertaining to your interests.

Diceware uses a smaller set (about 8K words), but if you select them truly randomly, you'll get close to 13 bits of entropy per word —guaranteed. I wouldn't cry too much over the loss of 2 bits per word, because Diceware words tend to be short.

Then again, even a word in a grammatically correct sentence is likely to have more than the 6-7 bits of entropy a character may have. I wouldn't bet on anything above 10, though.

Re:New NIST password guidelines: don't require character typ... by lmm on Wednesday December 14, 2016 @11:53AM (#13177416)
> You're right, it's much better, but the entropy of an English word is nowhere near log2(20K) (between 14 and 15 bits of entropy), especially in a grammatically correct sentence, because you're simply unlikely to select them truly randomly.

I've heard the average entropy of English is 3 bits/character, in which case 14-15 bits sounds about right for a word.

Re:New NIST password guidelines: don't require character typ... by loup-vaillant on Wednesday December 14, 2016 @01:46PM (#13178536)
I'm not sure your average English word has as much as five characters on average. Okay, let's count this paragraph.

91 characters, in 21 words. 4.3 characters on average, which would mean 13 bits of entropy. I don't believe it. It sounds like your source didn't account for word frequencies in real sentences, let alone grammatical constraints.

Re:New NIST password guidelines: don't require character typ... by lmm on Wednesday December 28, 2016 @06:35AM (#13269886)
A single example coming up as 13 is not remotely enough justification to say 14-15 is wrong.
Re:New NIST password guidelines: don't require character typ... by cmdrfred on Wednesday December 14, 2016 @08:40AM (#13175831)
I agree the way you describe is even better. That said if the previous posters password isn't enough entropy for your use case some form of 2 factor auth should come into play as well.
Re:New NIST password guidelines: don't require character typ... by soft_dev_person on Wednesday December 14, 2016 @07:50AM (#13175581)
I tend to do manual "diceware"-passphrase generation when I need to (i.e. I cannot use my password manager for any reason).

So just random words and half-words are appended, like: 'misfortune behold oratory plexum'

Then again, these things tend to just stick very well in my mind, so it may not be appropriate for everyone. Also, I only need to do this on certain services, so it's not that many to remember.

The hard part is when they then reply with "requires at least one upper case character, number, symbol, etc.". A certain XKCD comic comes to mind...

Re:New NIST password guidelines: don't require character typ... by loup-vaillant on Wednesday December 14, 2016 @08:03AM (#13175629)
My method:

  Lorem ipsum random garbage 1
I get a special character (space), lower case, upper case, and numbers. Change the number for rotation, it works if they don't search for short Hamming distances. Worked at my last gig.
Re:New NIST password guidelines: don't require character typ... by jessaustin on Wednesday December 14, 2016 @01:38PM (#13178449)
Re:New NIST password guidelines: don't require character typ... by knicholes on Wednesday December 14, 2016 @12:35AM (#13174100)
Correct Horse Battery Staple https://xkcd.com/936/
Re:New NIST password guidelines: don't require character typ... by GrinningFool on Wednesday December 14, 2016 @07:17AM (#13175423)
Not so much. Too many sites arbitrarily block spaces and impose maximum lengths. Other character exclusions are all too common as well, though not relevant to this pattern

Is there anyone reading this who has chosen to implement such limits? If so, why?

Re:New NIST password guidelines: don't require character typ... by JadeNB on Wednesday December 14, 2016 @12:12PM (#13177574)
> Is there anyone reading this who has chosen to implement such limits? If so, why?

I haven't, but here's one answer I got from someone who did.

The bizarre password requirements at $WORK have the property that, sometimes, a subset of a password will be permitted when the full password would not be. I contacted our IT department once with a specific example of an objectively weak password which was accepted, and a stronger password (at least, it contained the weaker password as a strict subset) which was rejected. I proposed a concrete, simple-to-implement suggestion for how to relax the rules to avoid this kind of paradox. (I don't remember what it was.)

He agreed with me that this was an undesireable outcome, and that my proposal was implementable. However, he said that the institution would nonetheless not implement it, because people were used to the old rules, and would be confused if they changed.

(When I asked how people could be confused if all the old passwords were still acceptable, and the only change was that new, stronger passwords also became acceptable, he stopped responding.)

Re:New NIST password guidelines: don't require character typ... by GrinningFool on Wednesday December 14, 2016 @01:48PM (#13178556)
Thanks for the reply. Sounds like another case of "we've always done it this way".

I feel like underlying all of this, there's a lagging perception that "spaces and special characters are hard". But when all you're doing is hashing them... they're really really not. Whenever I hit a max length limitation, I'm automatically assuming that particular password is being kept in plaintext.

Re:New NIST password guidelines: don't require character typ... by wolfgang42 on Thursday December 15, 2016 @09:09PM (#13190505)
Max length limits can also be imposed by actual cryptographic hashes. (8-char limits are admittedly implausible.) For example, bcrypt is generally considered a good idea for storing passwords, but has a length limit of somewhere around 55 bytes (http://security.stackexchange.com/questions/39849/does-bcryp... for details).
Re:New NIST password guidelines: don't require character typ... by lmm on Wednesday December 14, 2016 @11:56AM (#13177433)
Chosen to impose a maximum length? No (though I would probably limit to 4k just to have some kind of sanity limit - if you don't define a limit then your system still has a practical limit, it just doesn't fail gracefully when you hit it). Had to implement a maximum length for compatibility with a legacy system? Yes.
Re:New NIST password guidelines: don't require character typ... by vacri on Tuesday December 13, 2016 @11:10PM (#13173778)
Pity they only went for 8 characters, though.
Re:New NIST password guidelines: don't require character typ... by henvic on Tuesday December 13, 2016 @11:28PM (#13173839)
You are not forced to use 8 only on most places. And most of the time 8 is good enough.

And by forcing more characters you may end up messing things up because people can start using patterns that defies the very core idea why there should be a 'minimum length'.

And rate limiting (see 5.2.2) should take care of most concerns about it.

Though, I think this is bad > Unless otherwise specified in the description of a given authenticator, the verifier SHALL effectively limit online attackers to 100 consecutive failed attempts on a single account in any 30 day period.

Well, imho there MUST be no limit. This is prone to a DoS attack. Rate limiting and other things MUST be able to solve this one way or another.

Re:New NIST password guidelines: don't require character typ... by Spooky23 on Tuesday December 13, 2016 @11:36PM (#13173874)
Rate limiting is better than lockout.

Other federal agencies (IRS in particular) require lockouts with only 3 bad password attempts. That generates really high reset/unlock call volume -- easily 20-30% of users require intervention or reset compared to 7-12%.

Re:New NIST password guidelines: don't require character typ... by wslh on Wednesday December 14, 2016 @06:57AM (#13175344)
Yes, and I like the approach that Trezor takes [1] for 4-digit PINs where the wait time increases by power of two. Also adding 2-factor authentication increases the security even on weaker passwords.

[1] https://doc.satoshilabs.com/trezor-faq/threats.html#brute-fo...

Re:New NIST password guidelines: don't require character typ... by noxToken on Wednesday December 14, 2016 @09:33AM (#13176168)
This is ripe for abuse. Case in point:

Back in my time in the military, there was an online portal that held your service information, the ability to request leave (time off), pay, etc. It was the place to go if you needed information aside from a paystub.

It required 8 char min, two upper, two lower, two special char (from a predefined list), and passwords would expire every 30 days. The thing is, most people knew all of their service info off of the top of their head. People also weren't requesting leave very often either, so most people would have to change their password on every login from some bullshit permutation of keyboard rolling with numbers and special chars tacked onto the end.

All that being said, you only had 3 attempts before lockout. No one wanted to risk lockout, so you'd make a throwaway password and reset it if you wanted to login. If you were locked out, it was a call to a civilian contractor with a hold time of 10-30 minutes just to get a temporary password emailed to you.

One of the easiest ways to fuck with someone was to intentionally lock out their account. It was trivial to find someone's username via searching through the email global address list. Then you pull up the portal, enter their user, smash the keyboard, and cackle as you have cost that person a guaranteed 10 minutes minimum just to do something trivial like print something from their file.

Re:New NIST password guidelines: don't require character typ... by wslh on Wednesday December 14, 2016 @09:50AM (#13176320)
Trezor is an external device (like an smart card) that you have with you, not an external system that you can abuse.
Re:New NIST password guidelines: don't require character typ... by noxToken on Wednesday December 14, 2016 @10:08AM (#13176440)
I meant the wait time increase. If I don't like you (or am just a jerk in general), I'll just write a script to automatically retry 0000 after the lockout period. I'm not trying to break into your account; I'm just hassling you with a DoS attack.
Re:New NIST password guidelines: don't require character typ... by wslh on Wednesday December 14, 2016 @10:43AM (#13176776)
I understand that and it is right but in the case of having a personal device with you, this attack will be stealing a physical object.
Re:New NIST password guidelines: don't require character typ... by drfuchs on Wednesday December 14, 2016 @08:57AM (#13175930)
Unlimited doubling of wait time puts you right back to being vulnerable to DOS.
Re:New NIST password guidelines: don't require character typ... by Loggie on Wednesday December 14, 2016 @09:26AM (#13176116)
Surely DOS would only be an issue if the service literally sat there doing nothing for that period of time? Isn't the solution here just to reject all requests for that period of time doing the absolute minimum processing required?
Re:New NIST password guidelines: don't require character typ... by detaro on Wednesday December 14, 2016 @09:28AM (#13176127)
Not DOS against the entire service, against a targeted user not being able to access the server (because you just entered a wrong password often enough that the system blocks his valid log-in attempts).
Re:New NIST password guidelines: don't require character typ... by blauditore on Wednesday December 14, 2016 @08:19AM (#13175715)
Yeah, after 3 failed attempts, just lock the user for 1 second. Brute force still will lead nowhere and real users will hardly notice.

I wonder why this didn't establish in the first place...

Re:New NIST password guidelines: don't require character typ... by jjnoakes on Wednesday December 14, 2016 @08:24AM (#13175739)
Why wait until 3 tries? Why not just require 1 second between all attempts?
Re:New NIST password guidelines: don't require character typ... by blauditore on Wednesday December 14, 2016 @08:35AM (#13175802)
Hmm, I guess this makes sense. Not sure what I was thinking...
Re:New NIST password guidelines: don't require character typ... by viggity on Wednesday December 14, 2016 @09:42AM (#13176245)
if you're hashing with PBKDF2 and 100k+ iterations, it can take that long anyway.
Re:New NIST password guidelines: don't require character typ... by tedunangst on Wednesday December 14, 2016 @12:58PM (#13178080)
But not in parallel.
Re:New NIST password guidelines: don't require character typ... by sleavey on Wednesday December 14, 2016 @01:04PM (#13178143)
Can hashing iterations be conducted in parallel? Doesn't the next hash need the output of the last, making this a sequential operation?
Re:New NIST password guidelines: don't require character typ... by niftich on Wednesday December 14, 2016 @01:10PM (#13178194)
Both of you are correct, just talking about different things. PBKDF2 rounds are clearly sequential.

Meanwhile, you can issue multiple simultaneous requests in parallel to try to authenticate the credentials, possibly from a large bank of distinct hosts.

Re:New NIST password guidelines: don't require character typ... by jldugger on Wednesday December 14, 2016 @12:13PM (#13177600)
> Yeah, after 3 failed attempts, just lock the user for 1 second.

Do human users authenticate faster than once a second?

Re:New NIST password guidelines: don't require character typ... by DonaldFoss on Thursday December 15, 2016 @07:22AM (#13184080)
Assuming a web page, does the page reload in less than 1 second?

On a full sized keyboard, the normal rate is 3.3 key presses per second. On a mobile device, I'm sure an 8 character password will take far more than 1 second.

For brute force attack defense, rate limiting a single account globally to 1/sec, i.e. independent of source IP address, should be sufficient and prevent parallel attacks by bots, but this still makes DOS attacks on a particular account easy, but not the entire system except traditional overload.

Many API systems work this way and it's proven effective.

Re:New NIST password guidelines: don't require character typ... by jldugger on Tuesday December 27, 2016 @06:07PM (#13267053)
So, why not always lock the page for 1 second post failure, rather than try to capture a 3rd strike policy?
Re:New NIST password guidelines: don't require character typ... by user5994461 on Thursday December 15, 2016 @08:27AM (#13184403)
The login page probably can't be loaded in 1 second ^^
Re:New NIST password guidelines: don't require character typ... by ZoFreX on Wednesday December 14, 2016 @02:26PM (#13178900)
It's pretty meaningless to say "this is rate limiting not lock-out" when the rate limit is a ~7 hour wait between attempts. Many lock-outs automatically unlock faster than that! The comment you are replying to is correct, this is a DoS vector.
Re:New NIST password guidelines: don't require character typ... by rrobukef on Wednesday December 14, 2016 @04:16AM (#13174745)
Heh, I often have more than 3 wrong password attempts. Lockout is a really bad idea for me.
Re:New NIST password guidelines: don't require character typ... by viggity on Wednesday December 14, 2016 @09:47AM (#13176286)
I worked for a State government about 10 years ago. Some asshole managed to lock every single user's account by having a script attempt a login with an invalid password 10 times. Nobody could work for ~7 hours.
Re:New NIST password guidelines: don't require character typ... by jessaustin on Wednesday December 14, 2016 @01:15PM (#13178235)
s/asshole/volunteer pentester/
Re:New NIST password guidelines: don't require character typ... by richmarr on Wednesday December 14, 2016 @06:26AM (#13175227)
Context is also relevant.

The iPhone for example has a PIN lockout, and young kids love phones.

More than once I've been punished by Apple for my kids curiosity.

Re:New NIST password guidelines: don't require character typ... by cdubzzz on Wednesday December 14, 2016 @08:29AM (#13175766)
You can disable this in Settings -> Touch ID and Passcode using the Erase Data toggle.
Re:New NIST password guidelines: don't require character typ... by stolsvik on Wednesday December 14, 2016 @05:20PM (#13180205)
Not if your company overrides the settings. At my job, 5 is the limit, and then the phone is wiped. Seriously.
Re:New NIST password guidelines: don't require character typ... by mulmen on Wednesday December 14, 2016 @12:33AM (#13174092)
Can you explain those numbers? 7-12% of what? Are you suggesting that rate limiting reduces call volumes by a little more than half compared to lockouts? Where did you get the data?
Re:New NIST password guidelines: don't require character typ... by Spooky23 on Wednesday December 14, 2016 @07:37AM (#13175504)
In one large, diverse environment I'm familiar with, that policy spiked the need for intervention (password resets, unlocks, etc).

That spikes costs. Many users (mobile) need to call someone, which is $$$.

Those interventions also lead to things like figuring out what app stored password is relocking the account. That kind of exercise could cost a few hundred bucks.

...all for zero benefit.

Re:New NIST password guidelines: don't require character typ... by ajkjk on Wednesday December 14, 2016 @01:46AM (#13174308)
I think s/he's saying that rate limiting leads to fewer password resets compared to lockouts. Which makes sense.
Re:New NIST password guidelines: don't require character typ... by semi-extrinsic on Wednesday December 14, 2016 @04:28AM (#13174789)
> This is prone to a DoS attack.

When will we see the first organization (government or private) that is effectively completely DoS'ed for days on end because their login does this, while all their email addresses are listed on their website? If sustained, I imagine this could shut down an entire organization quite effectively for a few days. Probably could lose someone millions. Or add insult to injury, and have them pay BTC for the attack to stop.

Re:New NIST password guidelines: don't require character typ... by henvic on Wednesday December 14, 2016 @02:14PM (#13178806)
Sometimes I definitely scare my coworkers just by caring about such edge cases. They probably think I use foil hat at home :)
Re:New NIST password guidelines: don't require character typ... by jessaustin on Wednesday December 14, 2016 @01:18PM (#13178257)
Such an organization might investigate the use of stored tokens so that all users don't have to be authenticated simultaneously.
Re:New NIST password guidelines: don't require character typ... by bo1024 on Wednesday December 14, 2016 @12:02PM (#13177484)
> Though, I think this is bad

> > Unless otherwise specified in the description of a given authenticator, the verifier SHALL effectively limit online attackers to 100 consecutive failed attempts on a single account in any 30 day period.

> Well, imho there MUST be no limit. This is prone to a DoS attack. Rate limiting and other things MUST be able to solve this one way or another.

I agree. Nobody is going to guess a good password in 100 attemps, or 100,000,000 attempts. A tiny bit of rate-limiting, like one login attempt/second, should be enough to prevent successful brute force on good passwords.

The threat is hacking the database of hashes and brute-forcing offline.

Re:New NIST password guidelines: don't require character typ... by eriknstr on Wednesday December 14, 2016 @10:43AM (#13176769)
>rate limiting (see 5.2.2) should take care of most concerns about it.

Not in the case the hashes are leaked. However I agree very much with what you said otherwise.

Re:New NIST password guidelines: don't require character typ... by johnward on Wednesday December 14, 2016 @08:18AM (#13175710)
When I am limited to only 8 characters it's always a bank account.
Re:New NIST password guidelines: don't require character typ... by mathgeek on Wednesday December 14, 2016 @08:22AM (#13175729)
I've found the best way to get around this limit is to give the account information to my payroll department and then never access it.
Re:New NIST password guidelines: don't require character typ... by JadeNB on Wednesday December 14, 2016 @11:52AM (#13177407)
> I've found the best way to get around this limit is to give the account information to my payroll department and then never access it.

Maybe I don't understand, but isn't the issue not your access to it, but others'? If you are forced to have a weak password protecting sensitive information, then it's an issue even if you never need to access that information yourself. (Or maybe you mean that you never even establish the account, and hence the weak password, in the first place?)

Re:New NIST password guidelines: don't require character typ... by mathgeek on Thursday December 15, 2016 @02:27PM (#13187408)
Merely wordplay on leaving your money in an account and letting it accumulate. Was continuing on the "8 character limit in my bank account" double meaning.
Re:New NIST password guidelines: don't require character typ... by cstejerean on Tuesday December 13, 2016 @11:32PM (#13173858)
Then consider this a rate limit with average of 3.3 attempts per day over a 30 day period.
Re:New NIST password guidelines: don't require character typ... by henvic on Tuesday December 13, 2016 @11:39PM (#13173890)
Except this is a rate limiting on the account globally, and here lies the DoS problem. So if you follow it you can theoretically have your account locked down by an idiot on the other side of the world.

You can minimize this by making it per IP, for example. So, you'd have to have an idiot on your home. Yeah, maybe this is not 100% bullet proof given IPv6 and so on, but at least this doesn't introduce a vector for DoS.

Re:New NIST password guidelines: don't require character typ... by jakobegger on Wednesday December 14, 2016 @12:58AM (#13174172)
Rate limiting per IP is close to useless, since it is trivial for an attacker to attempt connecting from different IPs.
Re:New NIST password guidelines: don't require character typ... by thomasahle on Wednesday December 14, 2016 @05:27AM (#13175015)
How trivial is it? Would an attacker wanting to do one million attempts easily be able to send each from a different ip?
Re:New NIST password guidelines: don't require character typ... by vidarh on Wednesday December 14, 2016 @07:14AM (#13175409)
Most of the time when I see large scale password cracking attempts against customer servers, I have to block large blocks because they're coming from large number of IPs. I had to block most of South Korea at one point, because we saw abusive traffic from millions of IPs belonging to a couple of major ISPs in South Korea (thankfully non of our customers had much if any legitimate traffic from outside Europe at the time).

So the answer is: Some are already doing that.

Re:New NIST password guidelines: don't require character typ... by eli on Wednesday December 14, 2016 @06:44AM (#13175294)
Bad guys can easily rent time on botnets with hundreds of thousands of ips.
Re:New NIST password guidelines: don't require character typ... by henvic on Wednesday December 14, 2016 @10:15AM (#13176503)
So the solution for you seems to be allowing bad guys DoS your system because bad guys can do bad things, is it?
Re:New NIST password guidelines: don't require character typ... by jessaustin on Wednesday December 14, 2016 @01:33PM (#13178395)
Is per-IP rate limiting the only one way to respond to auth DoS? Different situations involve different trade-offs.
Re:New NIST password guidelines: don't require character typ... by eli on Wednesday December 14, 2016 @02:18PM (#13178835)
Rate limiting. Not denying service. Bad guys could cause you to have to wait some number of seconds to log in.
Re:New NIST password guidelines: don't require character typ... by mulmen on Wednesday December 14, 2016 @12:39AM (#13174113)
> Unless otherwise specified in the description of a given authenticator, the verifier SHALL effectively limit online attackers to 100 consecutive failed attempts on a single

I think that can be read two ways.

1) 100 failed attempts/account/month 2) 100 failed attempts/IP/account/month

The latter still limits an attacker but is less likely to be a plausible DoS against the account unless the attacker has compromised the legitimate user's machine at which point all is lost anyway. Later in the same section:

> When the subscriber successfully authenticates, the verifier SHOULD disregard any previous failed attempts from the same IP address.

Which suggests the failure count is per IP and not per account.

Re:New NIST password guidelines: don't require character typ... by gohrt on Wednesday December 14, 2016 @01:15AM (#13174221)
that part is saying that once an IP gets a password correct, don't count past mistakes against them.
Re:New NIST password guidelines: don't require character typ... by Spooky23 on Wednesday December 14, 2016 @12:10AM (#13174004)
You mitigate that by putting MFA in front.
Re:New NIST password guidelines: don't require character typ... by sh_tinh_hair on Wednesday December 14, 2016 @09:13AM (#13176041)
MFA is basically another key|password. If I am not careful with my secret key and password what difference does it make that there are two of them?

No, security is tough. The better security the less useful it is. NIST got this right. Do what you can, don't kill the user and implement security on the aaa side.

Re:New NIST password guidelines: don't require character typ... by Spooky23 on Wednesday December 14, 2016 @01:18PM (#13178259)
Have you ever messed with a friend by locking out their phone?

I was specifically addressing the DoS vulnerability of locking an organization out en masse by taking advantage of account lockout or timeout policy. A list of emails and a six line script could take a whole company offline.

MFA can be used to address that by requiring pre-auth before you can enter a password.

Re:New NIST password guidelines: don't require character typ... by kbart on Wednesday December 14, 2016 @02:09AM (#13174374)
MFA is not a magic solution to all problems either. You can't expect me to give my phone number or real email address to every random site I login into.
Re:New NIST password guidelines: don't require character typ... by CiPHPerCoder on Wednesday December 14, 2016 @03:08AM (#13174555)
You don't need to do that for HOTP/TOTP though.

1. Scan a QR code.

2. You now have a secret value that can generate a deterministic pseudorandom integer securely indefinitely.

Also, SMS-based MFA should be burned to the ground.

Re:New NIST password guidelines: don't require character typ... by AstralStorm on Wednesday December 14, 2016 @04:03AM (#13174695)
Scanning a QR code by hand is easy when you don't have the phone handy. (sarcasm)

Actual OTP should allow you to print out or write down a set of codes.

Re:New NIST password guidelines: don't require character typ... by CiPHPerCoder on Wednesday December 14, 2016 @08:11AM (#13175676)
> Scanning a QR code by hand is easy when you don't have the phone handy. (sarcasm)

That's way different from "I don't want to give out my phone number".

Re:New NIST password guidelines: don't require character typ... by user5994461 on Thursday December 15, 2016 @08:34AM (#13184444)
Both are impossible when not having a phone.
Re:New NIST password guidelines: don't require character typ... by CiPHPerCoder on Thursday December 15, 2016 @11:56AM (#13186002)
It's non sequitur.

"I have a phone number but don't want to give it out" is different than "I don't have a phone".

But hey, there are 2FA devices you can use instead.

Re:New NIST password guidelines: don't require character typ... by jon-wood on Wednesday December 14, 2016 @04:31AM (#13174801)
This is why I'm a big fan of the U2F standard, which allows a device (generally a small USB/NFC device) to generate shared secrets for arbitrary services without exposing any personal information.
Re:New NIST password guidelines: don't require character typ... by Spooky23 on Wednesday December 14, 2016 @09:20AM (#13176080)
Think about this problem in context with the NIST trust level framework.

Nobody gives a shit about low trust environments... go ahead and crack my slashdot account, but higher trust stuff like mail, money, network access etc absolutely need MFA.

Re:New NIST password guidelines: don't require character typ... by kbart on Wednesday December 14, 2016 @09:33AM (#13176167)
That's my point. MFA itself is certainly a very useful security solution (for example, I wouldn't trust a bank that doesn't use it), but "MFA everywhere" is not a way to go, because I value my privacy more than some useless Internet account.
Re:New NIST password guidelines: don't require character typ... by petters on Wednesday December 14, 2016 @02:58AM (#13174528)
A security key should work.
Re:New NIST password guidelines: don't require character typ... by iopq on Wednesday December 14, 2016 @08:25AM (#13175741)
Rate limiting seems like a good application of neural networks. Find out when hackers tried a lot of passwords and when users tried a lot of passwords. Run that data through a model and you can get a model that changes as hackers change their attack methods. Although you'll have to manually classify hacking attempts vs. real users.
Re:New NIST password guidelines: don't require character typ... by samirm on Wednesday December 14, 2016 @12:09PM (#13177547)
8 is nowhere near good enough.
Re:New NIST password guidelines: don't require character typ... by joelthelion on Wednesday December 14, 2016 @02:57AM (#13174522)
If you have strong hashing that makes it costly to brute force passwords, I think this should be enough for most users.

Also, there is little evidence that entropy increases all that much when you force users to choose very long passwords.

Re:New NIST password guidelines: don't require character typ... by kibwen on Tuesday December 13, 2016 @11:45PM (#13173914)
That's only the absolute minimum length that a password may be, not the recommended length. But yes, I do agree that it's a small shame that it's not at least slightly longer. Other than that these rules look great.
Re:New NIST password guidelines: don't require character typ... by beedogs on Tuesday December 13, 2016 @11:18PM (#13173803)
Forced periodic password change has got to be near the top of the list in terms of the dumbest things the IT world has blindly gone along with in the past decade. Glad NIST finally agrees with me on this.
Re:New NIST password guidelines: don't require character typ... by kbart on Wednesday December 14, 2016 @02:35AM (#13174448)
"Forced periodic password change has got to be near the top of the list in terms of the dumbest things"

Totally agree. I often encounter problems that go like this:

UltraSecureSystem: Create a secure password.

Me: "#@(J #!_04';/1~"

UltraSecureSystem: Password must be at least 8 characters long, can't include special characters and consists of at least one upper case letter, one lower case letter and one number.

Me: "Password0"

UltraSecureSystem: Congratulations, your ultra secure password created!

<After 1 month>

UltraSecureSystem: Your password has expired, create a new ultra secure password.

Me: "Password1"

UltraSecureSystem: Congratulations, your totally new and totally secure password created!

Re:New NIST password guidelines: don't require character typ... by tajen on Wednesday December 14, 2016 @03:27AM (#13174599)
Tip: Some systems only remember your last 3 or 10 passwords, so it's worth rotating up to Password9 and then coming back to Password0. Tip given by my boss who received it by his chain of command of old people who couldn't remember the password change. True story.
Re:New NIST password guidelines: don't require character typ... by Ntrails on Wednesday December 14, 2016 @04:19AM (#13174754)
I'm not sure that it makes much difference whether I reset to 0 or keep going through 10 and up. My biggest frustration is that every password change I'll mistype my closing digit for about a week before muscle memory gets the new one right,

(Although this time I had a unique experience where I adjusted quite quickly from "2" to "3" and because I was still thinking "don't forget to incrememnt" ended up typing "4". Uggggghhhhhhhhhh)

Re:New NIST password guidelines: don't require character typ... by TeMPOraL on Wednesday December 14, 2016 @05:23AM (#13174998)
... and then you get locked out because your domain controller (or whatever) is set up to ban you after ~3 invalid login attempts in a row. Happened to me once.
Re:New NIST password guidelines: don't require character typ... by Jaruzel on Wednesday December 14, 2016 @04:13AM (#13174728)
Which is why in a lot of corporate systems, the password history is set to 13 last passwords. a) it prevents a 0-9 rotation, and b) it also prevents people rolling passwords based on month name or number.
Re:New NIST password guidelines: don't require character typ... by daneyh on Wednesday December 14, 2016 @04:36AM (#13174824)
August2016 September2016 October2016 etc.

pls don't hack me

Re:New NIST password guidelines: don't require character typ... by Jaruzel on Wednesday December 14, 2016 @05:20AM (#13174988)
I didn't say it was a good system ;)

As the implementer, I've argued many times about it, but the ITSec bods always think they know best.

Re:New NIST password guidelines: don't require character typ... by MereInterest on Wednesday December 14, 2016 @07:33AM (#13175486)
Do they put a maximum on how many times you can change your password? If not, you could just cycle through 13 passwords in 5 minutes, then switch back to your original password.
Re:New NIST password guidelines: don't require character typ... by mlnhd on Wednesday December 14, 2016 @08:49AM (#13175888)
I wrote a PowerShell script that does exactly this for Windows Domains.

http://pastebin.com/raw/ytwy0nCB

Re:New NIST password guidelines: don't require character typ... by Jaruzel on Friday December 23, 2016 @06:32AM (#13244246)
In AD there is a MinPasswordAge policy that is typically set to 1 day to thwart exactly this type of work-around.
Re:New NIST password guidelines: don't require character typ... by gpderetta on Wednesday December 14, 2016 @06:14AM (#13175180)
That's what hexadecimal digits are for :)
Re:New NIST password guidelines: don't require character typ... by dzdt on Wednesday December 14, 2016 @04:31AM (#13174805)
Why is why password rolling is then based on an alphabetical roll, or pure numerical increment, or month and year. No real entropy gain!
Re:New NIST password guidelines: don't require character typ... by vincnetas on Wednesday December 14, 2016 @05:24AM (#13175004)
Fun fact. In my organization we are required to change password each three months, so now im on ...24 and i can calculate from that how long i been working here :)
Re:New NIST password guidelines: don't require character typ... by user5994461 on Thursday December 15, 2016 @08:40AM (#13184477)
Instead of numbers, you can also use spring-summer-autumn-winter.
Re:New NIST password guidelines: don't require character typ... by Ajedi32 on Wednesday December 14, 2016 @09:29AM (#13176133)
This is what I used to do before I started using a password manager. Now I just change my password to a new, randomly generated one every month while my master password stays the same.
Re:New NIST password guidelines: don't require character typ... by kbart on Wednesday December 14, 2016 @09:37AM (#13176207)
Sure, but this method doesn't work when I need to login to my corporate PC at work.
Re:New NIST password guidelines: don't require character typ... by Ajedi32 on Wednesday December 14, 2016 @09:39AM (#13176220)
It does for me. KeePass on my phone + InputStick. I've even got a macro set up to enter all the necessary keystrokes so I can login with one tap. (Ctrl+Alt+Del -> Enter Password -> Enter)
Re:New NIST password guidelines: don't require character typ... by taco_emoji on Wednesday December 14, 2016 @01:02PM (#13178120)
Thank you for introducing me to InputStick!
Re:New NIST password guidelines: don't require character typ... by Ajedi32 on Wednesday December 14, 2016 @02:57PM (#13179140)
You're welcome. I discovered it myself only around 6 months ago, and so far I've found it to be very useful.

Their website lists a lot of different potential applications, but I use it almost exclusively for entering passwords from KeePass. In addition to allowing password entry on the computer's lock screen, it also saves me the trouble of having to read and retype passwords manually on computers that don't have KeePass installed, and avoids exposing my entire password database to the computer it's plugged into (as would be the case if I used portable KeePass on a USB memory stick).

Re:New NIST password guidelines: don't require character typ... by beedogs on Wednesday December 14, 2016 @06:15AM (#13175181)
This is exactly what I do as well. Well, when I'm not getting the AD admins to let me reset my password directly from the admin console.
Re:New NIST password guidelines: don't require character typ... by dimino on Wednesday December 14, 2016 @12:44AM (#13174131)
I think that's unfair! It makes sense on first glance, right? People can't steal your password if it changes all the time.

I personally find it unintuitive to think that people would give up on the "memorization" part if it became "too hard". It's true, and we know this from study, but to say it's "dumb" is unfair.

Re:New NIST password guidelines: don't require character typ... by Twisell on Wednesday December 14, 2016 @01:25AM (#13174252)
The only password I need to write on a paper near my computer is of a client that require periodic change over his Vpnssl every 1 month. When connecting to it I must type it 3 different time in a context where password manager don't work.

After a year of trying to keep track of the changes via a secured method (and at least 12 call to their IT so they reset the password without any identity check on their part) I finally resigned and write it down on paper and write the new one every time they ask me to change.

Bonus fun fact : Theses idiots also truncated password at 8 characters but truncated in different manners on the 3 login steps required so it's only after 4-5 failed attempts at a secured corectbatterystapplehorse that I understood that weak password was mandatory by their rules...

PS: And of cour rotation between Passwd1 passwd2 passwd3 passwd4 (then back to 1) was perfectly accepted and considered as safe

Re:New NIST password guidelines: don't require character typ... by Qwertystop on Wednesday December 14, 2016 @09:42AM (#13176247)
I ended up memorizing my home's old WEP key simply because, since I was the "tech guy" in the family, everyone would ask me whenever they needed to add a device (never mind that I was mostly just going to the password booklet and reading it out). Eventually I just stopped needing to look it up. I've since used it in some places, blended with a mnemonic for the specific site. 10 hex characters plus a string might not be the highest-security thing, but at least it's not going to fall to anything less than brute-force.