News for hackers. Stuff that matters.
Re:Microsoft says mandatory password changing is “ancient an... by qw3rty01 on Monday April 19, 2021 @12:08PM (#26864343)
The article kinda misses the reason why mandatory password changes existed in the first place -- unknown breaches. The idea was that if there was an undetected breach, the attacker would have a maximum of the mandatory password change to use credentials. You would still have mandatory password changes upon discovering a breach, which would reset the counter. And the article wasn't very clear as to why this is no longer recommended, but when mandatory password changes are enforced, users tend to make new passwords which are trivial to crack if you have a known old password. So if there's an unknown (or even known) breach, users will tend to make a new password which an attacker can easily guess given the older known passwords, losing any benefit gained from mandatory password changes. And this is worse than not having mandatory password changes, because rare password changes (when a breach is discovered) don't put people into the habit of just iterating off of an old password.
Re:Microsoft says mandatory password changing is “ancient an... by muttled on Monday April 19, 2021 @12:28PM (#26864615)
A better focus for security efforts is detection of compromise. For example, say you detect a user has signed in from 2 different countries in a short window or perhaps malware signs are discovered in their cloud storage. Perhaps MFA is failing often for a user meaning an attacker is successfully using a password but is unable to get past confirmation on the user's phone.
Re:Microsoft says mandatory password changing is “ancient an... by jaywalk on Monday April 19, 2021 @12:38PM (#26864735)
This is the key. With Okta for example, you can configure a maximum velocity for a user for Behavior Detection to trigger additional scrutiny on a login. That type of stuff is useful.
Re:Microsoft says mandatory password changing is “ancient an... by rtkwe on Monday April 19, 2021 @04:28PM (#26867597)
How well does this handle things like logging in from mobile devices? If I logged in from my desktop and later from my mobile phone I would appear to zip 350 miles because my mobile data exits the phone network 2 states and 350 miles away.
Re:Microsoft says mandatory password changing is “ancient an... by vel0city on Tuesday April 20, 2021 @10:47AM (#26875414)
Your phone's IP address isn't related to your phone number. For IPv4 addresses it'll probably go through the closest CGNAT gateway on the phone network.

Checking geo IP services on my phone usually put me in roughly the same metro area that I'm physically in despite my area code belonging to a city hundreds of miles away. That said, I just tried a lookup on the cellular network on Maxmind and it thought I was in the next state over (a couple hundred miles off).

IP geolocation services usually aren't as great as what people think. My residential home IP had probably previously belonged to some Canadian ISP as things that would base their defaults off a detected geo IP lookup would think I was in some small town in Quebec despite living a thousand miles away. IP addresses change hands, people connect through all kinds of proxies and CGNAT gateways, location databases get old.

Re:Microsoft says mandatory password changing is “ancient an... by rtkwe on Tuesday April 20, 2021 @01:22PM (#26877571)
> Your phone's IP address isn't related to your phone number.

I'm not basing it on my phone number that's for central NC and from 10 years ago, I'm going off of the geoip and the fact that I get tons of ads or sites defaulting to Atlanta for weather or local store searches if I don't allow them more device based location data.

Re:Microsoft says mandatory password changing is “ancient an... by quantumcd on Monday April 19, 2021 @05:02PM (#26867948)
Not sure about Okta, but systems I've seen in the past (fraud detection etc) will quickly learn the pattern and not challenge you as often. It depends a lot on the data points the system uses to calculate risk as well as any configurable thresholds.
Re:Microsoft says mandatory password changing is “ancient an... by moron4hire on Monday April 19, 2021 @04:58PM (#26867914)
I don't understand what you mean. The cellular network to which you are connected is not forwarding your requests to your "home" cellular network.
Re:Microsoft says mandatory password changing is “ancient an... by rtkwe on Tuesday April 20, 2021 @10:06AM (#26874852)
In this hypothetical I'm logging into the account from two different devices, one connected through the local ISP and the second on a cellular network (either through a hotspot or directly from my phone it doesn't matter). My IP for things going through the cell network get an IP that is located by GEOIP as being in Atlanta while the local ISP would locate to the RTP area of North Carolina.
Re:Microsoft says mandatory password changing is “ancient an... by anonymfus on Monday April 19, 2021 @08:29PM (#26869401)
I thought that now every cellular provider actually does this so when you move between networks your IP address stays the same as otherwise all your connections would break during handover; and not breaking connections is basically mandatory since voice over LTE, because voice calls now run over IP protocol too and seamless handover for voice is expected by users.
Re:Microsoft says mandatory password changing is “ancient an... by vel0city on Tuesday April 20, 2021 @10:50AM (#26875470)
You're usually pretty heavily NAT'ed on a cellular network. Your internal IP address probably doesn't change much but external IP addresses probably change a good bit.

I am not a network guy at a cellular company, but IMO it would make more sense to use a more local gateway for outgoing connections rather than potentially routing things all the way across the country. These days people keep their number but move all over the country. It would be insane to have to route things back home every time.

Re:Microsoft says mandatory password changing is “ancient an... by naikrovek on Monday April 19, 2021 @12:54PM (#26864975)
do attackers wait to use passwords months after they've compromised those passwords? or, do they give themselves other ways to maintain their access so that no passwords stand in their way from that point on?

it's the latter, not the former. once you're compromised, passwords, changed or not, are no longer an obstacle at all.

password rotation does not increase security.

Re:Microsoft says mandatory password changing is “ancient an... by numpad0 on Monday April 19, 2021 @02:00PM (#26865982)
> do attackers wait to use passwords months

Unix-like OS in 80s-90s truncated passwords to 8 bytes, hashed in MD5 and stored them to regular file `/etc/passwd`. And in those era it was estimated to take six months to few centuries to brute force a password, therefore it was recommended to maximally complicate the password within 8 letters in length, and change it every one half the brute forcing time, or three months. Supposedly everything made sense in that timeframe in that context.

Re:Microsoft says mandatory password changing is “ancient an... by jodrellblank on Monday April 19, 2021 @05:06PM (#26867983)
A 1979 UNIX /etc/passwd file surfaced a couple of years ago (it's on Github[1]) and people tried to brute force the passwords; Brian Kernighan's was the weakest. Ken Thomson's took "more than four days on an AMD Radeon RX Vega64 system running hashcat ( a password cracking tool) at about 930MH/s (Million Hashes per second)" and was the last to fall.

https://inbox.vuxu.org/tuhs/[email protected]/

https://fossbytes.com/unix-co-founder-ken-thompsons-bsd-pass...

[1] https://github.com/dspinellis/unix-history-repo/tree/BSD-3-S...

Re:Microsoft says mandatory password changing is “ancient an... by cesarb on Monday April 19, 2021 @03:50PM (#26867173)
> Unix-like OS in 80s-90s truncated passwords to 8 bytes, hashed in MD5 and stored them to regular file `/etc/passwd`.

In the era when password hashes were still readable to everyone in /etc/passwd (this was later fixed by storing the passwords instead in a shadow file called /etc/shadow which can only be read by root), it was not MD5, but "crypt" (a DES variant). AFAIK, the MD5 and newer password hashing schemes don't truncate the password to 8 bytes, only traditional "crypt" did that.

Re:Microsoft says mandatory password changing is “ancient an... by crazygringo on Monday April 19, 2021 @01:44PM (#26865776)
Really depends on the level of access the password gives you.

If you're infiltrating a company, most people's accounts certainly don't give you the level of access required to bypass the need for passwords entirely. You'd have to be specifically hacking a sysadmin's account or something.

There are very many different levels of "compromised" and they're not all the same.

That being said, I agree with the overall premise that password rotation is outdated.

Re:Microsoft says mandatory password changing is “ancient an... by SamuelAdams on Monday April 19, 2021 @02:32PM (#26866368)
I once read a book where an attacker accessed a live system with a set of compromised credentials, then found some "disabled" accounts from retired staff, re-enabled them, then simply used the retired accounts for routine access. Sventek was one of those, I think.
Re:Microsoft says mandatory password changing is “ancient an... by teddyh on Monday April 19, 2021 @04:35PM (#26867675)
Re:Microsoft says mandatory password changing is “ancient an... by grepthisab on Monday April 19, 2021 @01:50PM (#26865851)
Hi, attacker here, I usually use the password immediately but it really depends on the level of user as to whether I can ensure that password changes won't affect me going forward. If you're a normal user, changing the password is helpful. Root? Forget about it.
Re:Microsoft says mandatory password changing is “ancient an... by andi999 on Monday April 19, 2021 @01:19PM (#26865374)
Actually the fastest possible way to detect unknows breaches on the user side is to show your last login time. (On the server side is looking for IP patterns)
Re:Microsoft says mandatory password changing is “ancient an... by slaymaker1907 on Monday April 19, 2021 @01:34PM (#26865606)
I think approximate location would be a good idea too. I wouldn't remember the last time I logged in to many important services since I do it so often. Relatedly, I have trouble remembering when I paid for so something so just looking at my banking log for fraud requires me to see who the payment actually goes out to.
Re:Microsoft says mandatory password changing is “ancient an... by millerm on Monday April 19, 2021 @01:55PM (#26865927)
Unfortunately, a lot of us are using VPNs now. So, location isn't a very good indicator as that would provide a lot of false positives. That actually happened to me recently, and I though "Oh yeah, I was using a VPN then." So, that indicator is just getting worse as I use a VPN on my phone all the time now.
Re:Microsoft says mandatory password changing is “ancient an... by crazygringo on Monday April 19, 2021 @01:48PM (#26865828)
In theory, but in practice some accounts are only rarely accessed by their intended user (might not log in for months at a time). And on the flip side, it's really easy to ignore the displayed last log-in time/IP/location altogether.
Re:Microsoft says mandatory password changing is “ancient an... by charcircuit on Monday April 19, 2021 @04:32PM (#26867640)
Attackers can easily mitigate this by using residential proxies.
Re:Microsoft says mandatory password changing is “ancient an... by cratermoon on Monday April 19, 2021 @12:19PM (#26864491)
You'd have to make users change their password every day to fend off undetected breaches now.
Re:Microsoft says mandatory password changing is “ancient an... by bakatubas on Monday April 19, 2021 @12:46PM (#26864866)
Or mandate 2FA and password managers.
Re:Microsoft says mandatory password changing is “ancient an... by goodpoint on Monday April 19, 2021 @01:08PM (#26865197)
Even that is often not enough: sessions are long lived and very often stealing a cookie is all the attacker needs.
Re:Microsoft says mandatory password changing is “ancient an... by tinus_hn on Monday April 19, 2021 @12:43PM (#26864809)
If your security is breached every day passwords, whether you change them daily or not, are not going to save you.
Re:Microsoft says mandatory password changing is “ancient an... by cratermoon on Monday April 19, 2021 @12:50PM (#26864928)
It's not about one company being breached any more. It's about the entire world of password databases, rainbow tables, easy and fast cracking tools.
Re:Microsoft says mandatory password changing is “ancient an... by tinus_hn on Monday April 19, 2021 @01:19PM (#26865356)
Why would that require changing passwords every day? You can’t use these tools without compromising the site first.
Re:Microsoft says mandatory password changing is “ancient an... by cratermoon on Monday April 19, 2021 @02:32PM (#26866364)
One of original motivations for password expiration was the belief that if your password DB was stolen, you had some significant amount of time before any malicious party would be able to crack a password and use it. That is no longer true: it's extremely likely that at least one user in your system has a password that is trivially cracked or in a rainbow table. Your system is vulnerable in a day, or less, after you've had your passwords stolen.
Re:Microsoft says mandatory password changing is “ancient an... by tinus_hn on Tuesday April 20, 2021 @12:37PM (#26877017)
Rainbow tables are essentially instantaneous so one day isn’t enough either. If you care about that kind of scenario I’d say your energy is better spent on just picking a more suitable hash algorithm.
Re:Microsoft says mandatory password changing is “ancient an... by cratermoon on Wednesday April 21, 2021 @02:10AM (#26885954)
Absolutely. In the real world there's just no case for password expiration any more. Require at least 14 characters. Don't insist on any "complexity" rules, but do check passwords against a list of of common/stupid ones and reject them. Use a good hash algo, like bcrypt, scrypt, or Argon2
Re:Microsoft says mandatory password changing is “ancient an... by ocdtrekkie on Monday April 19, 2021 @12:12PM (#26864401)
Yeah, I think there's value in it, but if you don't have a way to prevent "plus one passwords", it probably isn't super effective anyways. It may be a case where frustrating the user four times a year isn't worth it... maybe just frustrating them once a year will lead people to put more effort into making their passwords suitably different.
Re:Microsoft says mandatory password changing is “ancient an... by GordonS on Monday April 19, 2021 @12:37PM (#26864727)
Four times a year? I've had to change mine once a month for the past 20 years. Needless to say, I increment a numeric suffix that wraps around every 10 or so months.

It has always seemed like a totally pointless exercise.

I can see potential value for service accounts, as long as you have automation in place to change them where needed - but for user accounts, it's complete madness.

Re:Microsoft says mandatory password changing is “ancient an... by marcosdumay on Monday April 19, 2021 @01:34PM (#26865596)
Hum... I have never seen any place that implemented password rotation for the users and didn't exempt service accounts. And the security solution sellers I've talked to are all either on the position of "yeah, password rotation is incredibly important, but you can't rotate service accounts" or "yeah, I know you don't rotate the password of service accounts (no need to tell me), here's a tool to reduce the risk this causes".
Re:Microsoft says mandatory password changing is “ancient an... by ocdtrekkie on Monday April 19, 2021 @01:54PM (#26865910)
Microsoft's approach now is to recommend using Managed Service Accounts, which is an Active Directory feature in modern Windows servers. They rotate their own passwords through some sort of magic. That being said, plenty of janky old Windows apps won't work with them anyways.
Re:Microsoft says mandatory password changing is “ancient an... by GordonS on Monday April 19, 2021 @02:31PM (#26866347)
Place I work started rotating service account passwords around a year ago, using automation built in to some super expensive PIM (Privileged Identity Management) system.
Re:Microsoft says mandatory password changing is “ancient an... by marcosdumay on Monday April 19, 2021 @04:12PM (#26867423)
Just to complement, so next time I can say I heard about one place on the internet... Does your workplace require password rotation for personal users?
Re:Microsoft says mandatory password changing is “ancient an... by GordonS on Monday April 19, 2021 @05:23PM (#26868121)
Yes it does - something like once a month. And every.single.employee is going to be incrementing a numeric suffix, providing no increase to security whatsoever, and annoying the hell out of every.single.employee. Actually, it probably weakens security, since employees will be more likely to have notes of their current password around, since it's difficult to remember the current suffix, since it changes so damn often :/
Re:Microsoft says mandatory password changing is “ancient an... by csours on Monday April 19, 2021 @12:22PM (#26864531)
"A friend" used to have the password set to the 3 character month name + the month ordinal + "!" - MarMar04!

We were required to change passwords once a month, and not re-use any of our last 6 passwords.

Re:Microsoft says mandatory password changing is “ancient an... by letitbeirie on Monday April 19, 2021 @12:38PM (#26864734)
My "friend" doesn't use this system anymore, but passwords along the line of '1stQuarter2001!' worked for well over a decade of being required to change passwords 4 times a year.
Re:Microsoft says mandatory password changing is “ancient an... by baobabKoodaa on Monday April 19, 2021 @07:29PM (#26869027)
Am I the only one bothered by month ordinal 04 assigned to March, which is the 3rd month? This sounds almost like Java's infamous Date class that assigned month ordinal 2 for March, except somehow we've managed to make the off-by-one error in the other direction :D
Re:Microsoft says mandatory password changing is “ancient an... by rightbyte on Monday April 19, 2021 @04:00PM (#26867283)
Nice! My friend rotate through 3 digits to be able to guess it quicker when he forgets which digit it is. This solves it.
Re:Microsoft says mandatory password changing is “ancient an... by qw3rty01 on Monday April 19, 2021 @12:15PM (#26864434)
There definitely is value in it if users created proper passwords, but path of least resistance tends to win out in the end, and people will just find ways around the mechanisms to prevent weaker derived passwords.
Re:Microsoft says mandatory password changing is “ancient an... by TheDudeMan on Monday April 19, 2021 @12:28PM (#26864608)
It does not seem that difficult to detect when the new password is very similar to the old password. Do it on the client side on a page that the user enters both the old and the new. And give the user guidance to use a password manager and auto-generated password.
Re:Microsoft says mandatory password changing is “ancient an... by gmfawcett on Monday April 19, 2021 @12:44PM (#26864840)
If the old password is salted and hashed (which it should be), then it is practically impossible to detect when the new password is similar.
Re:Microsoft says mandatory password changing is “ancient an... by ixwt on Monday April 19, 2021 @12:54PM (#26864983)
Not true. If you have the new password, and old salt and hash, you could change a few things in the new password (common things, like increment or decrement a number if there is on the end), and hash it with the old salt. All this would be done when updating the old password.
Re:Microsoft says mandatory password changing is “ancient an... by gmfawcett on Monday April 19, 2021 @01:00PM (#26865058)
Ah, fair enough, you could do that.
Re:Microsoft says mandatory password changing is “ancient an... by Jiejeing on Monday April 19, 2021 @01:48PM (#26865823)
Proper password change procedures generally require the old password to update it, so the code running on that page theoretically has access to both and can run a similarity check.

But my opinion is that ensuring creative passwords with an unclear similarity rule will only result in creative bypasses of that rule.

Re:Microsoft says mandatory password changing is “ancient an... by Kranar on Monday April 19, 2021 @12:49PM (#26864906)
OP literally gave a method for how to do it.
Re:Microsoft says mandatory password changing is “ancient an... by gmfawcett on Monday April 19, 2021 @12:57PM (#26865018)
Unfortunately it's an easily defeated method. The motivated user just changes their password to a temporary value, and then again to the incremented value.
Re:Microsoft says mandatory password changing is “ancient an... by Kranar on Monday April 19, 2021 @01:08PM (#26865196)
A user can also trivially defeat any password system by publishing their password to Facebook.

The purpose of preventing similar passwords isn't to prevent a user from defeating themselves, it's to prevent an adversary from defeating the user.

Now you can rightfully argue that blocking similar passwords isn't an effective measure against an adversary, and this article kind of suggests that... but it is possible to implement such a system.

Re:Microsoft says mandatory password changing is “ancient an... by gmfawcett on Monday April 19, 2021 @03:28PM (#26866946)
Of course, you're right that it's possible, and that they have easier ways to subvert the system.
Re:Microsoft says mandatory password changing is “ancient an... by nearbuy on Monday April 19, 2021 @01:11PM (#26865252)
True, but if someone is really motivated to undermine their own security, I don't think there's anything you can do to stop them.

I think the idea is that most users will just choose another password if you tell them the one they entered is too similar to their previous password.

Re:Microsoft says mandatory password changing is “ancient an... by bobthepanda on Monday April 19, 2021 @01:07PM (#26865175)
I've been at places where the old passwords seemed to be kept around, so that it was detected whether or not you were switching to the password you used six or seven passwords ago.
Re:Microsoft says mandatory password changing is “ancient an... by throwawayboise on Monday April 19, 2021 @01:15PM (#26865302)
This is done by keeping the old hashes around. The new password hash is compared to prior hashes to be sure it doesn't match any of them. This only catches exact matches on re-used passwords.

Or, the current plaintext password is compared to the new plaintext password (normally a password change requires the current password) so you can do more sophisticated similarity checks, but only compared to the current passord, not any older ones.

Re:Microsoft says mandatory password changing is “ancient an... by Spooky23 on Monday April 19, 2021 @01:24PM (#26865445)
Some IDM products store the password with symmetric encryption and analyze it. Siteminder is/was one that spooked to mind.
Re:Microsoft says mandatory password changing is “ancient an... by ed25519FUUU on Monday April 19, 2021 @12:49PM (#26864899)
The whole point of this article is that rotating passwords is pointless. It doesn’t solve the original problem. MFA is the solution to that problem, not password rotation policies with Byzantine change requirements.

A better focus is on plugging the hole where the password was stolen. If it’s not plugged the password will simply be stolen again.

Re:Microsoft says mandatory password changing is “ancient an... by RandallBrown on Monday April 19, 2021 @03:41PM (#26867071)
It helps with the original problem.

The reason rotating passwords is pointless is because people always end up changing their password to some easy to guess variation of the original password. If you prevent that from happening, the new password won't be guessable if you have the old one.

Re:Microsoft says mandatory password changing is “ancient an... by II2II on Monday April 19, 2021 @01:06PM (#26865168)
If I recall correctly: Active Directory can be setup so that the last few passwords cannot be reused, otherwise people would just cycle through two passwords. I am guessing that people would simply use a variation of their second to last password to come up with a new password under your proposal.
Re:Microsoft says mandatory password changing is “ancient an... by bentcorner on Monday April 19, 2021 @01:19PM (#26865363)
A long time ago as a student I worked at a company that had mandatory password changes every month. So I just used the same password and appended the current month to it.
Re:Microsoft says mandatory password changing is “ancient an... by Spooky23 on Monday April 19, 2021 @09:03PM (#26869643)
The control for that is to not permit password changes for a period of time.
Re:Microsoft says mandatory password changing is “ancient an... by RcouF1uZ4gsC on Monday April 19, 2021 @12:18PM (#26864480)
It sounds good in theory, but in practice rotating passwords really doesn't help much. You alluded to it in your last sentence, but if you require password rotations, say every year, a lot of your users will end up using:

basepassword-2021

which they will change next year to

basepassword-2022

Because password hashing makes it impossible to retrieve the original password, there is no way to guard against people just using a basepassword and appending some type of counter to it.

Thus if there really is a breach where the plaintext password is recovered by an attacker it is trivial to find out what this year's version is.

So all you end up doing is needlessly irritating your users, for not much security.

Multifactor Authentication is a much better solution for the issues of unknown breaches.

Re:Microsoft says mandatory password changing is “ancient an... by ajuc on Monday April 19, 2021 @12:32PM (#26864664)
> Because password hashing makes it impossible to retrieve the original password, there is no way to guard against people just using a basepassword and appending some type of counter to it.

Almost all the implementations require the old password when you change it to the new password, so it's trivial to check if they are too similar.

    def changePassword(login, cleartextOld, cleartextNew):
        if too_similar(cleartextOld, cleartextNew):
             return new Error("too similar")
        hashOld = hash(cleartextOld)
        hashNew = hash(cleartextNew)
        if authorized(login, hashOld):
           setPassword(login, hashNew)
           return new Ok();
If you're afraid of sending cleartext passwords - do the too_similar check on the client side. The users that can write their own client to bypass client-side checks are exactly the users you don't need to worry about.
Re:Microsoft says mandatory password changing is “ancient an... by gmfawcett on Monday April 19, 2021 @12:50PM (#26864922)
A user could defeat this by changing to an intermediary password and then incrementing the original. E.g. sign in with current password "cat100", change it to "dog100", then sign in as "dog100" and change to "cat101".
Re:Microsoft says mandatory password changing is “ancient an... by tshaddox on Monday April 19, 2021 @12:55PM (#26865003)
The system can just store the last n passwords (salted and hashed, of course) for each user. I seem to recall some software I had to use in college wouldn’t let you toggle between passwords like this.
Re:Microsoft says mandatory password changing is “ancient an... by michaelt on Monday April 19, 2021 @01:35PM (#26865620)
Ah, but one could write a script to change password n+1 times.

That's why, to encourage users to assume last month's password was compromised, when my users change their password the old password is automatically posted to twitter

/s

Re:Microsoft says mandatory password changing is “ancient an... by unrealhoang on Monday April 19, 2021 @01:39PM (#26865687)
Storing salted & hashed passwords can only prevent reuse the exact old password, it can't prevent reuse & increase though.
Re:Microsoft says mandatory password changing is “ancient an... by tshaddox on Monday April 19, 2021 @01:56PM (#26865940)
Unless you generate all the password variations upfront and salt+hash them all! I think I’ve heard that some place (maybe Facebook?) does this for common password entry mistakes like capitalization.
Re:Microsoft says mandatory password changing is “ancient an... by zrail on Monday April 19, 2021 @12:23PM (#26864545)
> there is no way to guard against people just using a basepassword and appending some type of counter to it.

Sure there is. In your update logic, decrement any numbers and check the hash against the existing password. Alternatively, require the existing password in the same form and you don't have to check against hashes, since you have the plaintext password right there.

Re:Microsoft says mandatory password changing is “ancient an... by avianlyric on Monday April 19, 2021 @12:32PM (#26864663)
I think you underestimate people inventiveness when it comes to circumventing these types of systems.

People will either keep trying new strategies to embed counters in their passwords (maybe increment a letter, or multiple a number by 10), or they’ll just write the password on a post-it they keep on their laptop.

Either way you’ve now got a whole load of complicated code that makes it harder to people to create genuinely strong and memorable passwords, and no additional security.

Re:Microsoft says mandatory password changing is “ancient an... by RcouF1uZ4gsC on Monday April 19, 2021 @12:45PM (#26864850)
> Alternatively, require the existing password in the same form and you don't have to check against hashes, since you have the plaintext password right there.

Presumably, you will also have a forgot password flow that allows you to change your password without entering the old one.

People will make things easy for themselves. Coming up with good passwords is hard. Having to rotate passwords just seems like a lot of busywork and people will make it as easy for themselves as possible.

Re:Microsoft says mandatory password changing is “ancient an... by josephcsible on Monday April 19, 2021 @12:35PM (#26864698)
This wouldn't work either. It would just make users bounce between 2 passwords: foo100 -> bar200 -> foo101 -> bar201 -> foo102, etc.
Re:Microsoft says mandatory password changing is “ancient an... by banana_giraffe on Monday April 19, 2021 @12:52PM (#26864950)
The one system where I saw this implemented in practice used my last x passwords to check. I think "x" was 50

Because it had a fairly short password cycle, I'm sure most users ended up with something like "password1!TwentyFour" then "password1!TwentyFive".

Me: I just changed my password 51 times when it was time. I'm not sure what point I was proving, but I was proud of myself.

Re:Microsoft says mandatory password changing is “ancient an... by josephcsible on Monday April 19, 2021 @01:09PM (#26865212)
You can't stop someone's next password from being a variant of their next-to-last one unless you store them unhashed.
Re:Microsoft says mandatory password changing is “ancient an... by banana_giraffe on Monday April 19, 2021 @01:13PM (#26865280)
Couldn't you hash some obvious variants of the new password to test against? I always assumed this system did that since it would reject some passwords that were close to old passwords.

Of course, it's also possible they stored the clear text password, I have no real way of knowing.

Re:Microsoft says mandatory password changing is “ancient an... by josephcsible on Monday April 19, 2021 @02:48PM (#26866526)
> Couldn't you hash some obvious variants of the new password to test against?

This is impractical if you're following good password storage practices. Assume the user's new password is 16 characters long, and that only the 95 printable characters are allowed in passwords. Then to test that the Levenshtein distances between it and the user's last 5 passwords are all greater than 1, the server would have to compute (5 * (1 + 95 * 17 + 16 + 94 * 16)) = 15,680 different hashes, which will take quite a while if you picked a secure iteration count for your password hashing function. And even if you did this, it still couldn't detect mypassword100100 -> mypassword101101 -> mypassword102102, etc. (Making sure the Levenshtein distances are greater than 2 would require checking millions of hashes.)

Re:Microsoft says mandatory password changing is “ancient an... by glasss on Monday April 19, 2021 @01:05PM (#26865140)
I don't believe there is any function to perform these checks in Windows Active Directory or Office 365.
Re:Microsoft says mandatory password changing is “ancient an... by unionpivo on Monday April 19, 2021 @01:38PM (#26865671)
Sure thaen you have:

SomePasswordABC SomePasswordDEF SomePasswordGHI

...

Or

My1Password! My2Password! My3Password!

...

Or

MyPasswordUno MyPasswordDue MyPasswordTre

Re:Microsoft says mandatory password changing is “ancient an... by garmaine on Monday April 19, 2021 @01:30PM (#26865541)
> Because password hashing makes it impossible to retrieve the original password, there is no way to guard against people just using a basepassword and appending some type of counter to it.

> Thus if there really is a breach where the plaintext password is recovered by an attacker it is trivial to find out what this year's version is.

These are contradictory statements.

Re:Microsoft says mandatory password changing is “ancient an... by UnquietTinkerer on Monday April 19, 2021 @01:43PM (#26865764)
Off topic for password rotation, but has anyone tried assigning randomly generated passwords to the users rather than letting them choose their own?

People (including me) _hate_ memorizing things and would probably write an assigned password down, but isn't it better to expose passwords to nosy coworkers than to the whole internet, as is so often the case with weak or reused passwords?

Re:Microsoft says mandatory password changing is “ancient an... by teddyh on Monday April 19, 2021 @04:35PM (#26867673)
> has anyone tried assigning randomly generated passwords to the users

We do that. We generate long random-character passwords (both for e-mail, web sites, and other accounts), and we don’t provide any online way for users to change them. If the users need to change a password, they have to contact us to do it (which is reasonable, since a big part of our value proposition is our responsive support). We only very occasionally even get such requests, and even more seldom get requests from users to set their own passwords. So far, everybody has been perfectly satisfied when hearing “No, users don’t set their own passwords. We can generate a new one for you any time you like.”.

This policy has been in effect since before my time, and I have worked here for more than 10 years. During this time, there was one user who really wanted something more memorizable for a specific account, so I set a correcthorsebatterystaple-style password on that account only. One other user had trouble adding the password to their password manager, and I had to help them do that. Otherwise, no problems.

Re:Microsoft says mandatory password changing is “ancient an... by benhurmarcel on Monday April 19, 2021 @04:22PM (#26867538)
Best way to have all passwords written on post-its under each monitor.
Re:Microsoft says mandatory password changing is “ancient an... by jodrellblank on Monday April 19, 2021 @05:33PM (#26868180)
You have access to the office where the monitor is, you have the post-it note. Somewhere you are, something you have; 2FA right there.
Re:Microsoft says mandatory password changing is “ancient an... by wolverine876 on Monday April 19, 2021 @02:59PM (#26866642)
That's been our practice, for the reasons you describe, and we also take steps to make the passwords memorable (while retaining sufficient resistance to cracking). We also tell users that if they write down the password, don't write 'password' or the username or anything else on the paper - you will know what it is - and don't put it someplace obvious (on the monitor, under the keyboard, etc.).
Re:Microsoft says mandatory password changing is “ancient an... by tape_measure on Monday April 19, 2021 @12:27PM (#26864598)
Would it be a bad idea to salt and hash probable increments of a password when it is changed? For example, password would be salted, hashed, and stored along with Password, password1, etc.

Then the system could reject these on the next password change without storage of the original plaintext password.

Re:Microsoft says mandatory password changing is “ancient an... by tape_measure on Monday April 19, 2021 @01:00PM (#26865068)
ixwt gave a better solution - do these calculations when the password is changed, not when it is set. Therefore, less storage is required
Re:Microsoft says mandatory password changing is “ancient an... by tamrix on Monday April 19, 2021 @05:58PM (#26868384)
Just going to say, if you've been beached, you've pretty much done for anyway.

The focus should be on preventing a security breach, not what to do after its happened.

Re:Microsoft says mandatory password changing is “ancient an... by baobabKoodaa on Monday April 19, 2021 @07:30PM (#26869039)
You need to focus on both preventing breaches and reacting to them. Sadly, this password expiration policy does not help with either.