How Hackers Actually Crack Passwords

Security Hygiene3 min read

If you understand how attackers actually crack passwords, the standard advice — length, randomness, uniqueness — stops feeling arbitrary and starts feeling obvious. Cracking is not magic; it is a set of well-known techniques, each with a clear weakness you can exploit to defend yourself. Here is how it really works.

First, what attackers usually have

Online guessing (typing passwords into a live login form) is slow and easily blocked by rate limits and lockouts. The serious cracking happens offline, after a breach. When a site is breached, attackers obtain stored password data — ideally for them, weakly protected. They then crack it on their own hardware, free from rate limits, trying enormous numbers of guesses per second.

This is why your defense is about making each guess unlikely to succeed, not about the site's login form.

Technique 1: Brute force

The attacker tries every possible combination of characters. This is guaranteed to work eventually, but "eventually" is the key. Each character you add multiplies the number of combinations. Short passwords fall in moments; long ones push the time required into the impractical range. This is the single biggest reason length matters. See how long should a password be.

Technique 2: Dictionary attacks

Instead of every combination, the attacker tries lists of likely passwords: common words, names, and the most-used passwords from previous breaches. "password," "qwerty," and "iloveyou" fall instantly. This is why a real word or common phrase is weak even if it is long-ish.

Technique 3: Rule-based and hybrid attacks

Attackers know human habits, so they apply rules to dictionary words: capitalize the first letter, add a year, swap "a" for "@," append "!". "P@ssw0rd2025!" looks complex but is trivially generated by these rules. This is why predictable substitutions do not help. See common password mistakes to avoid.

Technique 4: Reusing already-leaked passwords

Why crack anything when people reuse passwords? Attackers simply try credentials leaked from one site against others — credential stuffing. This is the easiest attack of all and needs no cracking. See what is credential stuffing.

What actually resists cracking

Knowing the techniques, the defenses follow directly:

  • Length defeats brute force by exploding the number of combinations. Aim for 16+ characters.
  • Randomness defeats dictionary and rule-based attacks, because random strings and randomly chosen passphrases are not in any wordlist. See what is password entropy.
  • Uniqueness defeats credential stuffing, because a leaked password works nowhere else.

Notice that no human-memorable, cleverly-tweaked password satisfies all three. The realistic way to get long, random, unique passwords for every account is to let a tool generate and store them. Try the secure password generator and test results with the password entropy calculator.

Where a password manager fits

A password manager produces passwords that are long (beating brute force), random (beating dictionaries and rules), and unique (beating stuffing) — automatically, without you memorizing anything. On a Mac, Passlock generates and stores such passwords offline in the Keychain. You cannot out-think cracking tools with cleverness, but you can out-math them with length and randomness, and a manager does that for you.

Understanding the attacker's playbook turns vague security advice into a clear strategy: long, random, unique, every time.

Frequently asked questions

How long would it take to crack my password?

It depends mostly on length and randomness. Short or word-based passwords can fall almost instantly to offline cracking, while a long random password or passphrase can be impractical to brute force.

Does adding a number and a symbol make my password safe?

Not by itself. Attackers apply rules that add years, symbols, and substitutions automatically. Length and genuine randomness matter far more than tacking on a '!' at the end.

Keep reading