Glossary
Hybrid attack
A hybrid attack appends or prepends a mask to each word in a wordlist, combining dictionary coverage with brute-force flexibility in a single pass.
A hybrid attack combines a wordlist with a mask, generating candidates by attaching a brute-forced pattern to each dictionary word instead of using either technique alone. Hashcat exposes this as attack mode -a 6 (wordlist, then mask — a word followed by brute-forced characters) and -a 7 (mask, then wordlist — brute-forced characters followed by a word).
The classic use is covering password policies that force a real word plus a few extra characters: summer2024! or Password01. A plain dictionary attack misses these because the exact string is not on any list, and a blind mask attack over the full length is far too slow — but hashcat -a 6 hashes.txt wordlist.txt ?d?d?d?d takes every word in the list and tries it with every four-digit suffix, which covers exactly that shape at a fraction of the cost of brute-forcing the whole string.
A hybrid attack is still bound by the mask side's keyspace math — adding more mask positions multiplies the work per dictionary word just as it would in a pure mask attack — so it works best when only a small, known suffix or prefix is unknown.