๐Ÿ“’Mutating Wordlists

Hashcat

Hashcat can use rules to modify a word list. Those rules can be created to fit expectations.

Hashcat provides rules, can be found in: /usr/share/hashcat/rules/.

Creation of a rule

A rule is just a file with "rule" as extension.

Each line is a custom rule.

Please, refer to https://hashcat.net/wiki/doku.php?id=rule_based_attack to create a rule.

cat demo.rule
$! $1 c

This rule will add "!1" at the end of every word. "c" letter means "Capitalize the first letter and lower the rest".

Use of rules with hashcat

hashcat -m 0 crackme.txt /usr/share/wordlists/rockyou.txt -r demo.rule --force

Last updated