zip2john target.zip > h.txt
hashcat -m 13600 h.txt # WinZip AES
hashcat -m 17200 h.txt # ZipCrypto equivalent
john --format=zip-opencl h.txt
13. Derive masks from metadata, not from randomness. Filename, directory names, comment field, hostname, project name, dates, and extension drive the charset and length. If the archive is acme_invoice_2024.zip, the mask is a language problem, not a keyspace problem:
bash
hashcat -m 13600 h.txt -a 3 'acme?d?d?d?d'
hashcat -m 13600 h.txt -a 3 -1 '?l?d_-.@' '?1?1?1?1?1?1?1?1'
14. Hex-charset and per-position charsets for structured secrets. Hash values, base64-ish tokens, MAC addresses, and ?h?h:?h?h:... patterns collapse to tiny spaces:
bash
hashcat -m 13600 h.txt -a 3 --hex-charset -1 0123456789abcdef '?1?1?1?1?1?1?1?1'
15. Incremental length sweep with --increment. Catches the "it's 6 chars, not 10" case without committing to the full space, and stops the moment it hits:
bash
hashcat -m 13600 h.txt -a 3 --increment --increment-min 4 --increment-max 9 '?l?d?d?d?d?d?d?d?d'
16. Markov / statistical ordering. Ranks candidates by real-world character-transition probability instead of lexicographic order — typically 3–10x faster time-to-hit on human-chosen passwords:
bash
hashcat -m 13600 h.txt -a 3 -t ./hcstat2 '?1?1?1?1?1?1?1?1'
john --markov h.txt
17. Hybrid seed + mask (not a wordlist attack). Take one short seed — the vendor name, the user, the project slug — and attach a mask to it. This is the highest-yield pattern in practice:
bash
hashcat -m 13600 h.txt -a 6 seeds.txt '?d?d?d?d' # seed + digits
hashcat -m 13600 h.txt -a 7 '?u?l' seeds.txt # prefix + seed
18. Rule-based mangling of a 5-line seed file. Leetspeak, capitalization, appends, reversals, year suffixes — expands 5 candidates into thousands without a dictionary download:
bash
hashcat -m 13600 h.txt seeds.txt -r rules/best64.rule
19. PRINCE chaining. Combines seed fragments with each other (name+year, project+number) producing ordered candidates a plain mask can't express:
bash
princeprocessor < seeds.txt | hashcat -m 13600 h.txt
20. Parallelize and split the keyspace. Distribute the same mask across cores/GPUs with --skip/--limit, use -w 4 and -O for throughput, keep sessions resumable, and use hashcat's brain to dedupe across machines:
bash
hashcat -m 13600 h.txt -a 3 -O -w 4 --session z1 --limit 4 --skip 0 '?1?1?1?1?1?1?1?1'
hashcat -m 13600 h.txt -a 3 -O -w 4 --session z2 --limit 4 --skip 4 '?1?1?1?1?1?1?1?1'
hashcat --brain-server & hashcat --brain-client -m 13600 h.txt ...21 نوامبر, 08:58
