Sensible password rules

Back in 2016 NIST issued a recommendation to:

  1. Do not require passwords to have complexity, just the length.
  2. Do not force periodic resets.
  3. Check passwords against commonly known passwords.

It may sound surprising but it is substantiated by solid research into password security. Here is how you can think about it:

  1. Your users are creatures of habit, and can only remember a limited number of passwords. Many users will simply capitalize the first letter, put a number at the end, or append a ! to their password, when asked to make it more complex. a. Even worse, if your password complexity rules are too arduous, users will resort to writing their passwords down, which undermines the effort you are putting in to make them secure.
  2. Resetting password periodically does nothing to improve security. If you suspect a breach, or that the creds were stolen you can reset them, but in most incidents there is a backdoor created as the first step. If anything forcing users to reset passwords “just because” makes the passwords less secure because of items 1 and 2 above.
  3. To against commonly known passwords a. Pick up a list of a million most commonly used passwords b. Filter out these that do not fit the password complexity rules c. Add the remaining passwords (or top x passwords) to the list of disallowed words/passwords

Here is some other good password hygiene:

  1. Password lockout (for a few minutes) may discourage brute-forcing, but also allows malicious users to lock other users’s accounts. A better way is to force a Captcha test after multiple tries
  2. If a user is already logged in and is resetting their password, have them confirm their previous password. This will protect your users if they leave themselves logged in to public computers.
  3. Always store passwords With A Strong salted hash and never log it anywhere.

https://www.passwordping.com/surprising-new-password-guidelines-nist/ https://nakedsecurity.sophos.com/2016/08/18/nists-new-password-rules-what-you-need-to-know/