A brute-force attack tries password combinations until one works or the attempts are stopped. In a password interface attack, the attacker submits guesses to a login page. A successful guess lets the attacker sign in as the user and potentially carry out malicious actions. section 12.3.3
The place where guesses are tested matters. An attacker with stolen password hashes can instead hash possible passwords and compare the results with the stored hashes. That is a password file attack, rather than a series of attempts at the login page. section 12.3.3
Practical defenses and warning signs include:
- Use strong passwords, account lockouts, and multifactor authentication (MFA) to make login-based guessing harder. section 12.3.3
- Watch for repeated failed logins from the same account or network location; the pattern may indicate an attack, but is not proof on its own. section 12.6.2
|
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
|
The comparison table distinguishes brute force from password spraying, dictionary attacks, and rainbow tables by method, defenses, and whether the attack targets hashes or logins. section 12.3.3


