2.4
In progress
Password Attacks
Summary
Password attacks try to discover valid passwords, either online against a live sign-in service or offline against stolen password hashes. Online attacks are limited by lockouts and monitoring; offline attacks are limited only by computing power and how the hashes were stored.
Detailed explanation
-
Online password attack: Guessing passwords against a live authentication service.
- Indicators: Many failed sign-ins, account lockouts and sign-in attempts from unusual sources.
- Mitigations: Account lockout or throttling, MFA and monitoring.
-
Offline password attack: Guessing against stolen password hashes on the attacker's own hardware, with no lockout.
- Indicators: Evidence that password databases or hash files were accessed or copied.
- Brute force attack: Trying every possible combination; time depends on password length, character set and how fast the hash is to compute.
- Dictionary attack: Trying words from lists of common and leaked passwords.
- Hybrid attack: Combining dictionary words with variations such as added numbers and symbols.
-
Password spraying: Trying a few common passwords against many accounts to avoid lockouts.
- Indicators: Failed sign-ins across many accounts from the same source.
Defenses
- Controls: Long passwords checked against breached lists, MFA, slow salted hashing, lockout policies and monitoring for spraying patterns.
Important terms
taken from the text above- Online password attack
- Guessing passwords against a live authentication service.
- Offline password attack
- Guessing against stolen password hashes on the attacker's own hardware, with no lockout.
- Brute force attack
- Trying every possible combination; time depends on password length, character set and how fast the hash is to compute.
- Dictionary attack
- Trying words from lists of common and leaked passwords.
- Hybrid attack
- Combining dictionary words with variations such as added numbers and symbols.
- Password spraying
- Trying a few common passwords against many accounts to avoid lockouts.
What I should remember
- Online attack: Limited by lockouts; triggers failed sign-in alerts.
- Offline attack: Against stolen hashes; no lockout.
- Password spraying: Few passwords, many accounts.
- Dictionary attack: Uses lists of likely passwords.