A password is a secret used to verify a person’s identity before granting access to an account, system, or other protected resource. If an attacker learns it, they may be able to sign in as that person. section 12.3.3
Attackers can guess passwords at a login page or obtain a password database and try to crack its stored hashes. A hash is a transformed value stored instead of the plaintext password. During login, the system hashes the password entered and compares the result with the stored value. Hashing does not make weak passwords safe: attackers can hash guesses and look for a match. section 12.3.3
|
Attack
|
Definition
|
Defense
|
Hash
|
Login
|
|
Brute Force
|
Systematically
tries all possible password combinations until the correct one is found.
|
Strong
passwords, lockouts, MFA
|
Yes
|
Yes
|
|
Password Spraying
|
Attempts a
small number of common passwords across many accounts to avoid account
lockouts.
|
Lockouts, user
training, MFA
|
No
|
Yes
|
|
Dictionary
|
Tests a
predefined list of common passwords, words, and predictable variations to
guess credentials.
|
Unique,
passwords, MFA
|
Yes
|
Yes
|
|
Rainbow Table
|
Uses
precomputed hash lookup tables to identify passwords from unsalted password
hashes.
|
Salting,
complex passwords
|
Yes
|
No
|
Compare attacks on logins with attacks on stored hashes, then match each attack to defenses such as lockouts, strong passwords, salting, and multi-factor authentication. section 12.3.3
A password policy turns this risk into consistent requirements for an organization. It can address length, reuse, recovery, secure handling, and screening for weak or compromised passwords. Password managers help people maintain strong, unique passwords; multi-factor authentication adds another factor when a password alone is not enough. Technical controls, including account lockouts, help enforce the policy. section 16.4 section 15.2.1
When to change a password
Changing Password1 to Password2 on a fixed schedule is predictable. Favor a long password or passphrase, and change it when there is evidence of compromise rather than relying on routine changes alone. section 16.4









