dictionary attack
A password-guessing attack that tries words from a prepared list of likely passwords instead of every possible combination.
In more detail
Real people choose predictable passwords, so a list of leaked passwords, common words and simple variations finds many accounts quickly. The list is called a wordlist, and attackers add rules such as capitalising the first letter or appending a year. It works against login pages and, much faster, against stolen hashes. Blocklisting known-breached passwords and using a slow, salted password hash are the main defences.
Example
wordlist = ["123456", "password", "Winter2025!", "Summer2026!", "qwerty"]Related terms
- password cracking — Recovering the actual passwords behind stolen password hashes by guessing candidates, hashing each one and looking for a match.
- brute force attack — Trying many passwords against one account until one works.
- salt — An extra value mixed into data before hashing so that otherwise identical inputs produce different hashes.
- rainbow table — A huge precomputed lookup table that maps password hashes back to the passwords that produced them, so cracking becomes a quick lookup.
Taught in
- Cryptographic Hashing: SHA-256, SHA-3 & Passwords — Cybersecurity Fundamentals, GRC & Cryptography