~/wordlists

Wordlists

CPTS Notes5 min read

TL;DR

There is no single best wordlist. The order turns on one fork: online (guessing against a live service, where lockout and rate limits bite) against offline (cracking a captured hash, where only speed limits you).

Online stays small and targeted. Offline runs rockyou, then rules, then bigger.

Paths below assume a Kali box with the seclists package installed.

Online: live service

Spraying or brute forcing a service such as SSH or SMTP. A big list locks accounts before it finishes, so stay small and widen only when it is safe.

  1. Defaults and single guesses, no list. Blank, the username as the password, and vendor defaults. SecLists Passwords/Default-Credentials/ collects the vendor ones.
  2. Spray one tiny list wide.
    /usr/share/wordlists/fasttrack.txt # ~220 high-hit passwords, a Kali default
    /usr/share/seclists/Passwords/Common-Credentials/top-passwords-shortlist.txt # a SecLists shortlist
    The usual hits are Welcome1, Company01!, and season-and-year.
  3. Target-derived. CeWL output from the company site, usernames mutated into passwords, and any credential you already found, reused. Custom beats generic.
  4. Escalate tiers, only without lockout.
    /usr/share/seclists/Passwords/Common-Credentials/darkweb2017_top-1000.txt
    /usr/share/seclists/Passwords/Common-Credentials/xato-net-10-million-passwords-10000.txt

Offline: captured hash

Cracking with hashcat or john. No lockout, so hash speed is the only limit.

  1. rockyou first.
    gunzip /usr/share/wordlists/rockyou.txt.gz # a fresh Kali ships it gzipped
    hashcat -m <mode> hashes.txt /usr/share/wordlists/rockyou.txt
  2. rockyou with rules. Rules multiply coverage without a bigger file, so this is the real escalation:
    hashcat -m <mode> hashes.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule
    # widen with rockyou-30000.rule next
  3. Slow hash, start small. Against bcrypt and its kind, rockyou takes too long. Lead with a short list and run rockyou only if time allows:
    /usr/share/seclists/Passwords/Common-Credentials/10k-most-common.txt
  4. Go bigger, last. The full xato-net-10-million-passwords.txt, then external breach lists such as crackstation. Only when the smaller passes fail and time allows.

Build a targeted list

When a password policy forces length and complexity, generic lists miss. Users still follow patterns, so build a list from words that matter to the target: the company name, products, local sports, and pet or family names from OSINT.

Scrape the site with CeWL. It spiders a site and keeps the words:

cewl https://target.tld -d 4 -m 6 --lowercase -w site.list # -d spider depth, -m minimum word length

Mutate with rules. A hashcat rule file mutates each base word into policy-matching variants. The common functions:

Function Does
: Keep the word unchanged
c Capitalize the first letter
l / u Lowercase / uppercase all
sXY Replace every X with Y (leet, e.g. sa@)
$X Append the character X (e.g. $!)

Write the rules one per line, then generate the list with --stdout. This builds a list, it does not crack: cracking applies the same -r inline, in Cracking.

hashcat base.list -r custom.rule --stdout | sort -u > mutated.list # one word becomes many variants

best64.rule is the ready-made version when you have no policy to target.

A worked example. Target: Mark White’s MD5 hash 97268a8ae45ac7d15c3cea4ce6ea550b. OSINT gives his cat Bella, wife Maria, son Alex, employer Nexura Ltd, a love of baseball, San Francisco, and a birthday of 5 August 1998. The policy wants twelve characters with an upper, a lower, a number, and a symbol. The skill is the base words, the coverage is rules, and neither step is a lucky guess.

All of it, every form. Put every name, nickname, place, and date into base.list, one per line:

mark
white
markwhite
bella
maria
alex
nexura
nexuraltd
baseball
sanfrancisco
1998
0508

cupp -i builds this from an interview (name, partner, pet, company, birthday) when a hand list would miss forms:

cupp -i # answers become a tailored base list

Rules for coverage, not a guess. You do not write c $1$9$9$8$! hoping it is right. A large ruleset applies every common mutation (case, leet, numbers and symbols in every position) to every base word, turning a handful of words into millions of variants:

hashcat -a 0 -m 0 97268a8ae45ac7d15c3cea4ce6ea550b base.list -r /usr/share/hashcat/rules/rockyou-30000.rule

rockyou-30000.rule and dive.rule ship with hashcat. OneRuleToRuleThemAll is a popular external one.

Join words for the long ones. A rule mutates one word but never concatenates two, so AlexNexura1998 needs a combinator attack (-a 1), which pairs every word in one list with every word in another:

hashcat -a 1 -m 0 97268a8ae45ac7d15c3cea4ce6ea550b base.list base.list

Targeted cracking is keyspace coverage, not luck: OSINT gives the base words, rules and the combinator spread them across the likely space, and the GPU tests the lot.

Match the list to the target

SecLists ships targeted lists that beat a generic one:

List For
Common-Credentials/top-20-common-SSH-passwords.txt SSH
Common-Credentials/2025-199_most_used_passwords.txt Recent real-world passwords
Passwords/Default-Credentials/ Vendor and product defaults

The rule

  • Custom and found beats generic. Defaults, reused credentials, and CeWL come before any downloaded list.
  • Online stays small and wide. Offline runs rockyou, then rules, then bigger.
  • Rules beat raw size. best64 on rockyou catches more than a list ten times larger.