News for hackers. Stuff that matters.
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.