Password attacks and credential exploitation are the techniques penetration testers and attackers use to turn a username, a captured hash, or a stolen ticket into a working login, spanning offline hash cracking, online guessing, credential capture on the wire, and the reuse of Windows authentication material without ever knowing a plaintext password. This area matters because most real-world breaches still start with weak, reused, or stolen credentials rather than exotic exploits, and because a single foothold account can cascade into domain-wide access through hash and ticket reuse. The key mental model is that authentication material comes in layers, plaintext passwords, wordlists, cracked or captured hashes, and Kerberos tickets, and an attacker only needs to compromise the weakest layer defenders left unprotected; every technique below is best read as "which layer does this attack, and does defeating it require the plaintext at all."
What This Cheat Sheet Covers
This topic spans 12 focused tables and 72 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
A jump-to index of every table row in this cheat sheet.
An interactive map of every table and concept in this topic.
Table 1: Password Attack Fundamentals & Classification
Every credential attack is a variation on a small set of underlying strategies for generating and testing password candidates; knowing the vocabulary here is what lets a tester pick the right technique instead of guessing blindly. The split between online and offline attacks in particular decides which defenses (lockouts, rate limits) even apply.
| Attack | Example | Description |
|---|---|---|
hashcat -m 0 -a 0 hash.txt rockyou.txt | Tests every word in a curated wordlist against a hash or login; fastest way to catch the huge share of users who pick real words or known-breached passwords. | |
$26^8 \approx 2.1 \times 10^{11}$ | Exhaustively tries every possible character combination in a keyspace; guaranteed to succeed eventually but the keyspace grows exponentially with length, so it's only practical against short or low-complexity passwords. | |
hashcat -a 6 hash.txt words.txt ?d?d?d?d | Appends or prepends a brute-forced mask to each dictionary word, targeting the common human habit of adding a year or digits to a base word. | |
nxc smb <target> -u users.txt -p 'Summer2026!' | • Tries one common password against many different accounts to dodge per-account lockout thresholds. • Deliberately throttled to stay under detection windows. |