How Passwords Are Stolen and Cracked: Threat Vectors Explained
Deep dive into password attack vectors: exhaustive brute-force, dictionary rules, credential stuffing, and phishing.
Anatomy of Attacks on Passwords
Attackers do not type guesses into a login screen by hand. They use automated tools, terabytes of leaked data and dedicated hardware. These are the most common ways passwords are stolen or cracked:
1. Brute-Force and Mask Attacks
A brute-force attack tries every possible combination of characters in turn (aaaa, aaab, aaac...). The search space grows exponentially with every extra character. Instead of pure brute force, attackers usually run mask attacks: knowing that many users capitalise the first letter and add a two-digit year at the end, the software tries only a mask such as ?u?l?l?l?l?l?d?d. This shrinks the search space by many orders of magnitude.
2. Dictionary and Rule-Based Attacks
Attackers use wordlists built from billions of real passwords exposed in breaches such as RockYou. Hashcat rule engines then apply automatic transformations to every word:
- Changing letter case
- Reversing the word
- Adding years and symbols (
passwordP@ssw0rd2024!)
3. Credential Stuffing
When a small online shop is breached, attackers obtain its list of emails and passwords. They then use botnets to try the same pairs automatically on streaming services, email providers, banks and cryptocurrency exchanges. Credential stuffing is one of the most common causes of account takeover, and people who reuse passwords are its direct victims.
4. Phishing and Adversary-in-the-Middle
Even a 100-character password is useless if you type it into a fake login page yourself. Attackers trick users with spoofed corporate emails, fake invoices and look-alike domains (g00gle.com). Modern phishing kits act as a reverse proxy between you and the real site, capturing both your password and your one-time code. The most effective defence is FIDO2 security keys and WebAuthn passkeys, which are bound to the real domain.
5. Malware and Keyloggers
Infostealer malware reads saved browser passwords, session cookies and keystrokes from an infected device and uploads them to the attacker. Keep your operating system and browser up to date, avoid pirated software, and do not store passwords in plain text files.
How to Protect Yourself
- Use a long, random and unique password for every account (at least 16 characters).
- Keep them in a password manager so you never need to reuse one.
- Turn on 2FA, preferably passkeys or a hardware security key.
- Check whether your passwords have appeared in known breaches with our pwned password check, which uses k-anonymity so your password never leaves your browser.
Generate Strong Credentials Instantly
Hardware-backed Web Crypto API with zero logging and zero server contact.