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