Passwords today: what the guidance says now

Unit 2 of 5 in Identity and access.

You will be able to say what NIST asks of passwords now and why some old habits were dropped.

Lesson

Length beats complexity

NIST requires passwords used as a single authentication factor to be at least 15 characters long. Passwords used only as part of multi-factor authentication may be shorter, but must be at least eight characters. Verifiers should permit a maximum length of at least 64 characters and should accept all printing characters.

At the same time NIST says verifiers and providers shall not impose other composition rules, such as requiring a mix of character types. Long and unique beats short and strange.

No forced changes, but block the known-bad

NIST says services shall not require people to change passwords periodically. They shall force a change if there is evidence that the password has been compromised. Forced rotation pushes people toward small, predictable changes; a compromise is a better reason to change.

Services also check chosen passwords against a blocklist of commonly used, expected or compromised values, and if a password is on it the person must choose another. NIST notes the blocklist does not need to be huge: its main purpose is to stop very common passwords that might be guessed in an online attack before throttling takes effect.

How a service stores them

NIST says verifiers shall store passwords in a form that is resistant to offline attacks: passwords shall be salted and hashed using a suitable password hashing scheme that takes a password, a salt and a cost factor. That matches the cryptography class and OWASP's guidance to use Argon2id, scrypt, bcrypt or PBKDF2 with a work factor.

For you as a user, the practical result is a password manager with a long unique password for every account, plus a second factor on the accounts that matter.

Key points

Sources

Practice in the labs

Set up the habit for yourself, then see how defenders catch weak spots at scale.

Knowledge check

  1. Under current NIST guidance, how should a service treat password rotation? Answer: Not require periodic changes, but force a change on evidence of compromise. SP 800-63B says verifiers shall not require users to change passwords periodically, but shall force a change if there is evidence of compromise.
  2. Which is a composition rule NIST says services should NOT impose? Answer: Requiring a mix of character types. NIST says verifiers shall not impose other composition rules, such as mixtures of different character types.
  3. What is the purpose of a blocklist of common passwords? Answer: To stop very common passwords that could be guessed in an online attack. NIST says the primary purpose is to prevent the use of very common passwords that might be guessed before throttling restrictions take effect.

Back to the syllabus or see all classes.

Related