password cracking
Recovering the actual passwords behind stolen password hashes by guessing candidates, hashing each one and looking for a match.
In more detail
Once a database of password hashes leaks, the attacker can guess offline at full speed with no login limits to stop them. They try wordlists, common patterns and brute force, often on graphics cards that manage billions of fast hashes a second. Unique salts stop one guess from testing every account at once, and a slow, memory-hard password hash makes each guess costly. Long, random passwords survive far longer than short or common ones.
Example
A leaked table of unsalted SHA-256 hashes: one wordlist pass cracked both users who chose Summer2026!Related terms
- dictionary attack — A password-guessing attack that tries words from a prepared list of likely passwords instead of every possible combination.
- rainbow table — A huge precomputed lookup table that maps password hashes back to the passwords that produced them, so cracking becomes a quick lookup.
- brute force attack — Trying many passwords against one account until one works.
- password hashing — Storing a password as the output of a deliberately slow, salted hash function, so a stolen database does not reveal the passwords.
Taught in
- Cryptographic Hashing: SHA-256, SHA-3 & Passwords — Cybersecurity Fundamentals, GRC & Cryptography
- Data States: Security at Rest, in Transit, and in Use — Cybersecurity Fundamentals, GRC & Cryptography