Glossary
Rule-based attack
A rule-based attack applies text-mutation rules — capitalization, leetspeak, appended digits — to every wordlist entry, turning one dictionary word into dozens of realistic variants.
A rule-based attack applies a set of text-transformation instructions to every word in a wordlist before testing it, turning one dictionary entry into many realistic variants: password can become Password, p4ssword, password!, drowssap, or Password123 depending on which rules are active. Hashcat and John the Ripper both ship rule files, such as hashcat's best64.rule and rockyou-30000.rule, that encode the capitalization, substitution, and append/prepend patterns real people actually use.
This is what most practitioners mean by "dictionary attack" today — a plain wordlist with no mutation rarely clears a modern target, while rules multiply a list's effective coverage by dozens or hundreds of times without the combinatorial blowup of a full mask attack. A rule is written in a small per-character language (c for capitalize, $1 to append the digit 1, se3 to substitute e with 3), and rule files chain several of these per line.
Picking rules matters as much as picking the list: a short, well-tuned rule file tuned to a real password dump usually out-cracks a longer but generic one. See wordlists and rules that work for which combinations earn their runtime.