Egregoros

Signal feed

Timeline

Post

Remote status

Context

4
@argv_minus_one I still believe in password rotation on long intervals (1 year min). Passwords that get spread across multiple systems (e.g. LDAP, OIDC) get used and abused and shoved into god knows what by people and it contains the damage to some extent of a lost first factor which happens all the time.
@7666 @argv_minus_one 1 year is reasonable and I would go even lower to 6 months at max. That said, there are companies that force password changes every 2 months and sometimes even faster. At that point it misses the point completely, because much more employees will just stick some number at the end or capitalize one letter and be done with it.

Guessing isn't the issue. If the hash gets exposed in a breach, attackers can brute-force it at their leisure. Rotation helps ensure that by the time they crack it, it's no longer valid. Rotation policy should thererore be based on projected brute-force time per string length, not arbitrary human calendar dates. Set a short password? Well then you're changing it often, don't like it, remember a longer password 🤷‍♀️

@nicholas

Yes, and if they brute-force it at their leisure, they gain…access to the same system they've already breached.

You didn't think I was reusing passwords, did you? I'm not completely incompetent.

Actually, they don't even gain that, because I've been notified that there's been a breach and have already changed my password.

So exactly which threat is being mitigated by time-based password rotation?

@7666 @phnt

Replies

25
@argv_minus_one @nicholas @7666 I mean forgotten accounts as accounts of employees that have been fired or left and weren't deactivated for whatever reason. That gives the account and absolute deadline where it is still active.

>Why are people at your workplace reusing passwords

Almost everybody that isn't tech savvy does that and there's exactly 0 ways to stop them from doing it, because they will never learn. Or people are just careless. Best you can do is force a password manager on people and put some higher password requirement on the vault password and some second factor. But have fun implementing that with Karen in HR.
@argv_minus_one @phnt @nicholas Not everything supports SSO responsibly (see: https://sso.tax), hardware tokens are notoriously difficult to integrate into existing systems such as on-prem AD which runs a ton of the world still, etc etc.

Your idealism is getting in the way of practicality. This statement would also smack you upside the head but is functionally correct: The right amount of security is just enough not to get hacked.

@7666

Every organization bigger than a lemonade stand is under constant attack by billion-dollar crime gangs and nation-state intelligence agencies.

“Just enough not to get hacked” is a really high bar, we've got the weekly high-profile security-breach headlines to prove it, and all this security theater (password rotation, Zero Trust, etc) is, unsurprisingly, not working.

@nicholas @phnt

@7666

As for the SSO tax: if a vendor sleazes on you like that, then kick them to the curb and migrate to an alternative that won't. Preferably one that's FOSS and therefore *can't* do that to you.

If that means you have to do extra work? So be it. With the alternative being either sky-high fees or getting pwned, the extra work will pay for itself in short order.

If the alternative is FOSS but sucks? Pay somebody to work on it. Still cheaper in the long run.

@nicholas @phnt

@argv_minus_one @nicholas @phnt The issue is humans. It was always humans. Why have two factors if one factor is cryptographically perfect? Humans. Humans fuck up all the time. If the world was perfect you'd be right on all counts, but it's not, so stupid things happen all the time out of ignorance or malice or both. Whether or not you account for this and layer things properly will make or break you in InfoSec.

@7666

True, but increasing friction (with password rotation, MFA, etc) only encourages people to find workarounds to defeat the security measures instead of actually using them. That's why NIST recommends doing away with password rotation entirely.

Although I suppose that same problem also applies to my earlier suggestion of using FOSS alternatives…

@nicholas @phnt

@argv_minus_one @nicholas @7666
>hardware tokens gets stolen or left somewhere
>game over

Amazing security. This push for hardware tokens as the solution to everything security genuinely annoys me. Instead of securing a single factor like a password with a second factor like a hardware token, the current push is to replace passwords completely with tokens, still making it a single factor authentication.

@phnt

Yes, that's the idea. MFA is security theater. The sum of a weak authentication method and a strong one is not significantly greater than the strong one by itself. The weak one is purely decorative. If both of them are weak then both of them are purely decorative. If both are strong then one is unnecessary.

And how the hell do you lose your hardware token without noticing? If it's gone, so are your car keys, your house keys, and your key into the office building!

@nicholas @7666

@phnt

And if you're worried people won't report a lost hardware token, you should be able to solve that with company policy:

“If you lose your hardware token, the punishment is we dock your pay by like $2 for a replacement token. If you lose your hardware token and try to cover up the fact that you lost it, the punishment is you're fired. Tokens are cheap; security breaches are expensive.”

@nicholas @7666

@argv_minus_one @nicholas @7666 If I can take your token from you in a workplace and within 5 minutes or less gain access to everything, that is true security theater. Meanwhile you might get my token, but you probably aren't getting the password from me unless <xkcd 538>. If I can gain access to your whole computer by plugging in your token I stole, that is not security I would want near anything important.

>And how the hell do you lose your hardware token without noticing? If it's gone, so are your car keys, your house keys, and your key into the office building!

Idk, you leave your keys somewhere while on lunch in <company canteen>, i steal it from you in a hallway because you didn't have it securely on you,... Many different ways to achieve that. All it takes is a few minutes for someone prepared. Point is, your systems security might be high, but your physical security now sucks. In this case a smart card reader would actually be a really good solution and using your card to also log in to your computer, but barely any laptop now has a smart card reader.

On that note, it still vexes me that you can't setup a hardware key with password login on Windows I think. I have a hardware token on me almost at all times and I can set it up as a second factor on Linux with enough caffeine, but Windows can't do it (especially with an offline account).

@phnt

You don't need xkcd 538 to break a weak password. And since we're talking about the password people type in by hand to login to their computers, not passwords stored in a password manager, goodness knows that password is going to be weak.

I suppose it would take more than 5 minutes, though.

Then again, if we're talking about the kind of ninja who could sneak into a corporate office building unnoticed, he probably already saw you type in your password…

@nicholas @7666

@argv_minus_one @nicholas @7666

>Then again, if we're talking about the kind of ninja who could sneak into a corporate office building unnoticed, he probably already saw you type in your password…

You can have someone on the inside. That isn't that unheard of these days, especially in large profile companies that would already have hardware tokens. That said, offensive security is also a thing and yes, if you see couple of those guys in action, they can look like ninjas.

@phnt

If the bad guys already have someone on the inside of your organization, you're already breached. They don't need to hack anything because they already have access legitimately.

The only way I can think of to solve that problem has absolutely nothing to do with computers: create a culture of mutual loyalty between employer and employee, so that no one is willing to betray the company in the first place.

Good luck selling that proposal to the shareholders, though…

@nicholas @7666

@phnt

I'm shocked to learn that Windows makes it hard to use a hardware token to log in. I remember Windows championing smart cards back in the 1990s when everybody else had never heard of anything other than passwords.

Old-fashioned card-slot-type smart card readers do seem to be a thing of the past now, but a cursory web search says some laptops have NFC interfaces and some smart cards are NFC enabled. That must be what the cool kids are using these days.

@nicholas @7666