Recipes
Four jobs this guide's chapters add up to. All four assume chapter 2's tests pass: the hashes are yours, the machine is yours, the answers are yours to know.
1. Recover your own forgotten archive password
You remember it was a word, maybe capitalised, possibly with a year on the end — the classic half-memory.
- Get the hash in hashcat's form. For
many formats (zip, 7z, PDF, Office)
a
*2johnhelper script produces it; chapter 13 names the family. - Start with the dictionary you can build from your own habits: the words you actually reuse, written down.
- Add rules before adding hours:
c,$7-style appends, and the shippedbest64.rulecover most human decoration. - Graduate to hybrid: your word list
plus
-a 6with a mask like?d?d?d?dfor the forgotten digits. - Estimate first, always:
--keyspaceand the benchmark for that mode turn "let it run" into a number of hours you can choose on purpose.
2. Audit the passwords on a system you run
- Export the hashes with the system owner's written permission — usually that is you — and keep the export and the results under the same care as the passwords themselves.
- Begin with
--show: anything already in your potfile from previous audits is a repeat offender. - Run a straight attack with a serious
public wordlist, then a rules pass
with
best64.rule. On a healthy user base under a slow hash, expect a small minority to fall — those are the accounts to force-reset first. - Report rates, not plaintexts: how many fell, in which pass, and how fast. The report's job is to change policy (length, a blocklist, a better hash), not to shame a user by name.
- Destroy or vault the recovered plaintexts when the resets are done. They are live credentials until then.
3. Test one stored hash before you trust the scheme
Migrating a login system? Hash one known weak password and one known strong one with the candidate scheme, then time a dictionary run against each. You are measuring chapter 11's factor on your own terms: if the weak one falls before your coffee cools, the scheme — not the user — is the first thing to fix.
4. Decide whether a run is worth starting
The whole decision in three lines:
candidates = list length x rules (or the mask product)
seconds = candidates / benchmark speed for the mode
If the answer is longer than the password's likely lifetime of mattering, change the shape of the attack — more knowledge in the mask, a better-ordered list — rather than the hardware. Every chapter's failure in this guide was a shape failure first and a speed problem never.