Password Cracking, Explained for Defenders: What Hashcat Proves About Your Passwords

Nobody stores your password — or at least, nobody competent does. What a well-built system stores is a hash: a one-way mathematical fingerprint of your password, salted and run through a deliberately expensive key-derivation function. You cannot reverse a hash back into a password. What an attacker with a stolen hash database can do is guess — at industrial scale, offline, with no lockout counter and no one watching. Hashcat, the open-source password-recovery tool documented at hashcat.net, is the standard instrument for that guessing. This article is not a tutorial for using it against anyone. It is the defensive lesson its existence teaches, sourced from Hashcat’s own wiki and NIST’s password standard — because every choice that makes Hashcat fail is a choice you control today.

Password Cracking, Explained for Defenders: What Hashcat Proves About Your Passw
Photo: Ridiculopathy, CC0, via Wikimedia Commons

How the guessing actually works

Hashcat’s wiki documents its core attack modes, and each one maps to a human habit:

  • Dictionary attack (mode 0, “straight”): try every word in a list, as-is. The lists are built from real breaches — billions of actual human passwords. If your password has ever been used by anyone, anywhere, it is effectively on this list.
  • Rule-based attack: take that list and apply transformations — capitalize the first letter, append a year, swap a for 4, add an exclamation point at the end. Rules exist because human “complexity” is predictable: we all make the same handful of moves, and the rules encode exactly those moves.
  • Combinator attack (mode 1): join words from two lists together. Two ordinary words feel clever; the combinator tries them systematically anyway.
  • Mask / brute-force attack (mode 3): generate every combination matching a pattern — this letter shape, that many digits. This is the slowest mode per guess and the one that short passwords fall to first, simply because the total space of short passwords is small enough to exhaust.
  • Hybrid attacks (modes 6 and 7): a wordlist plus a mask, in either order — the dictionary word with every possible number trail behind it, for example.

Two facts decide how fast all of this goes. The first is the hash algorithm the stolen database used. Hashcat supports more than 300 hash types; fast, unsalted legacy hashes (MD5, SHA-1, NTLM) can be tested at billions of guesses per second on modern GPUs, while purpose-built password hashes — bcrypt, and Argon2 where it is used — are designed to be slow and memory-hard, cutting the rate to a tiny fraction of that. The second is the password itself: length is the dominant variable. Every added character multiplies the space a mask attack must exhaust, while a “complex” but short and patterned password falls to rules that have seen its shape a million times before.

Critically, all of this happens offline. The breach already happened. There is no rate limit, no account lockout, no alert to you — just a file, a GPU, and time.

What NIST says to do instead — the standard, not folklore

NIST Special Publication 800-63B, Digital Identity Guidelines: Authentication and Lifecycle Management, is the federal standard for memorized secrets, and its requirements read like a direct answer to the attack modes above:

Password Cracking, Explained for Defenders: What Hashcat Proves About Your Passw
Photo: Software by Rony Shapiro/Screenshot by PantheraLeo1359531, Artistic 2.0, via Wikimedia Commons

  • Length first. Verifiers shall require user-chosen passwords to be at least 8 characters, and should permit at least 64 — with users encouraged to make passwords as long as they want. Length, not a forced mix of character types, is what the standard builds on; it imposes no other composition rules, because forced complexity produces the predictable patterns rule-based attacks exploit.
  • Screen against breach lists. When a password is set or changed, verifiers shall compare it against lists of commonly used, expected, or compromised values — including passwords from previous breach corpora and dictionary words — and reject matches. That requirement exists precisely because dictionary attacks are fed by those same corpora.
  • Store it so offline attack is expensive. Verifiers shall store passwords salted and hashed with a suitable one-way key derivation function that takes a password, a salt, and a cost factor. Salt kills precomputation; cost makes each guess hurt. This is the line that decides whether a stolen database is a catastrophe or an inconvenience.
  • No forced periodic rotation. The standard does not require changing a password on a calendar; change is for evidence of compromise. Forced rotation, in practice, produces the incremented passwords — same base word, new digit — that hybrid attacks try early.
  • No hints, no knowledge-based recovery questions. Both hand an attacker raw material for guessing.

Your moves, in order of return

  1. Use a password manager and let it generate. A unique, random, long password per account removes you from every list above at once: it is not in a breach corpus (it was never used elsewhere), it matches no rule pattern, and its length prices out mask attacks. Uniqueness matters as much as strength — one reused password turns someone else’s breach into your account takeover.
  2. Check yourself against the breach record. Have I Been Pwned exists so you can see whether your email or a password you used appears in known breaches. If it does, that password is burned everywhere, forever — change it anywhere it was ever reused.
  3. Turn on multi-factor authentication, preferably a passkey or authenticator app. MFA does not stop a hash being cracked; it stops the cracked password from being enough. It is the second wall that holds when the first one falls.
  4. Judge services by their storage, when you can. A service that limits you to a short password, forbids pasting from a manager, or emails you your actual password back is telling you its storage is wrong. Believe it, and give it a unique throwaway password and MFA — or a different service.
  5. For builders: salt, use a modern password KDF (bcrypt or Argon2id) with a real cost factor, screen new passwords against breach corpora, allow 64+ characters and paste, and never roll your own hash scheme. NIST wrote the checklist; use it.

The bottom line

Password cracking is not magic and it is not movie hacking. It is accounting: a stolen file, a known list of human habits, and arithmetic about length and hash cost. Hashcat’s own documentation shows how systematic the guessing is — and NIST SP 800-63B shows, requirement by requirement, how each guess is made to fail. Long, unique, manager-generated passwords, screened against breaches, stored behind a slow salted KDF, and backed by MFA: build that stack and the offline guessing game stops being worth an attacker’s electricity.

By Karl Amber

Sources

  • Hashcat Wiki (hashcat.net/wiki): hashcat as a password-recovery utility supporting 300+ hash types; core attack modes — dictionary/straight (-a 0), combinator (-a 1), mask/brute-force (-a 3), hybrid (-a 6, -a 7), association (-a 9); rule-based attacks applied to wordlists.
  • NIST SP 800-63B, Digital Identity Guidelines — Authentication and Lifecycle Management (pages.nist.gov / doi:10.6028/NIST.SP.800-63b), Section 5.1.1 (Memorized Secrets) and Appendix A: minimum 8-character user-chosen secrets, support for at least 64, no other composition rules, screening against commonly used / expected / compromised values including breach corpora, salted hashing with a one-way key derivation function and cost factor, no password hints or knowledge-based recovery, and no forced periodic change absent compromise.
  • Have I Been Pwned (haveibeenpwned.com): breach-exposure checking for email addresses and passwords, cited as the public self-audit tool.

Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It is defensive education: how password recovery works so you can defeat it — researched from Hashcat’s own documentation and NIST’s published standard. Our coverage is original. Never test passwords, hashes, or accounts you do not own or have explicit authorization to audit.

Featured image: Jay Bernstein, Public Relations-Los Angeles, Public domain, via Wikimedia Commons

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *