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

Taught in

References