Foxcolab

Glossary

Dictionary attack

Definition

Dictionary attack: A password-guessing attack that tries likely candidates from a list (common and leaked passwords, words, names and predictable variations) rather than every possible combination, either against a live sign-in page or against stolen password hashes.

Also known aswordlist attackpassword guessingdictionary password attack

In short

A dictionary attack is a password-guessing attack that tries likely candidates from a list (common passwords, leaked passwords, words and names, plus predictable variations) instead of every possible combination. It runs online against sign-in pages or offline against stolen hashes. Blocklists, rate limits, slow salted hashing, random passwords and a second factor are the defenses.

Key takeaways

  • Dictionary attacks work because people choose passwords from a small, predictable pool.
  • Mangling rules turn sunshine into Sunshine2026! and similar variants automatically.
  • Online guessing meets rate limits; offline cracking of stolen hashes meets only the hash's slowness.
  • NIST requires services to reject passwords found on blocklists of common or compromised ones.
  • A random password from a password manager isn't on any list.

Last reviewed 3 December 2026 by Foxcolab Team

A dictionary attack is a password-guessing attack that tries likely candidates from a list instead of every possible combination. The list holds common passwords, passwords from earlier breaches, words and names, and the small changes people make to them. MITRE ATT&CK describes attackers who "systematically guess the password using a repetitive or iterative mechanism," for example "by using a list of common passwords" (T1110.001). It works because people choose from a small, predictable pool.

Online and offline#

OnlineOffline
TargetA live sign-in pageStolen password hashes or an encrypted file
What slows itThe service's rate limitsOnly how slow the hash is
MITRE techniquePassword Guessing (T1110.001)Password Cracking (T1110.002)

Offline cracking "is usually done on adversary-controlled systems outside of the target network," where no lockout applies.

A worked example#

An attacker starts with the most common leaked passwords, then applies mangling rules to each: capitalize the first letter, add a year, add !, swap a for @, i for 1.

Text
sunshine  ->  Sunshine   Sunshine2026   Sunshine2026!   Sunsh1ne!
mumbai    ->  Mumbai@2025   Mumb@i2026   MUMBAI123

Rules like these turn a list of a million words into billions of candidates while staying close to what people actually type. A password such as Mumbai@2025 feels personal, but it is exactly the shape these rules produce.

Defenses#

  • Blocklists. NIST's SP 800-63B-4 requires services to compare new passwords against "a blocklist that contains known commonly used, expected, or compromised passwords," including dictionary words and the service's own name.
  • Rate limits on sign-in, which shut down online guessing.
  • Slow, salted hashing for stored passwords, so each offline guess costs time. See salt.
  • Random passwords from a password manager. No list contains them, and their entropy is real.
  • A second factor, so a guessed password alone isn't enough.

Related attacks look different in logs: password spraying tries one common password across many accounts, and credential stuffing replays real leaked pairs.

In Foxcolab#

Foxcolab's sign-in counts wrong passwords and pushes back without locking you out. A source that keeps failing on your account is refused for a while, and after repeated failures your account takes only one attempt every few seconds, while your correct password still gets through. Your account key is locked on your device by a deliberately slow, salted function, so every guess against it costs real time.

Turn on two-step verification too: codes are rate limited, and a guessed password stops being enough. Create a free account.

Keep exploring

All terms

Foxcolab

Private work tools, without the ads.

Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.

Jump to