1. Crack NTLM hashes
hashcat cracks offline; -m 1000 selects the NTLM hash mode, then it tries each word in the rockyou.txt list.
hashcat -m 1000 ntlm.txt rockyou.txtTyporithm · hard
Step 1 of 8 · intro card
Exploitation
Offline cracking with hashcat or John uses a mode for the hash type (NTLM is -m 1000) plus a wordlist and rules. Online attacks (hydra, crackmapexec) try credentials against a service and must respect lockout policy. This demonstrates weak-password risk; the remediation is long passphrases plus MFA.
Password cracking splits into two styles. Offline cracking works on captured hashes: hashcat and John hash each candidate word and compare it to the target hash. Picking the right mode matters — NTLM is hashcat's -m 1000 — and a wordlist like rockyou.txt, often combined with mangling rules, supplies the guesses.
John the Ripper auto-detects many formats and is a common alternative, running the same wordlist-and-rules approach. Because offline cracking never touches the live system, its only limit is compute and the strength of the password.
Online attacks instead try credentials directly against a running service: hydra against SSH, or crackmapexec spraying over SMB. These are noisy and must respect account lockout policy to avoid locking out real users. Either way, the finding is the same — weak, guessable passwords — and the remediation is long unique passphrases plus multi-factor authentication.
Offline: hashcat/John hash candidates and compare (NTLM is -m 1000).
Online: hydra and crackmapexec try creds against a live service.
Remediation: long unique passphrases plus MFA.
hashcat -m 1000 ntlm.txt rockyou.txt
john --wordlist=rockyou.txt hashes.txt
hydra -l admin -P pass.txt ssh://target
crackmapexec smb target -u users.txt -p pass.txtConnect each part of the code to the concept before you type.
hashcat cracks offline; -m 1000 selects the NTLM hash mode, then it tries each word in the rockyou.txt list.
hashcat -m 1000 ntlm.txt rockyou.txtJohn auto-detects many hash formats and runs a wordlist (optionally with rules) against the captured hashes.
john --wordlist=rockyou.txt hashes.txthydra tries a list of passwords against a live service; online attacks must respect account lockout policy.
hydra -l admin -P pass.txt ssh://targetcrackmapexec sprays user/password combinations across SMB to find valid in-scope credentials.
crackmapexec smb target -u users.txt -p pass.txtThe -m flag picks the hash algorithm; 1000 is NTLM, so hashcat hashes candidates the right way before comparing.
-m 1000Read the concept map and follow the code breakdown.
Type the implementation, repair mistakes and work through every recall exercise.
Use the final check without hints; revisit weak concepts in short practice sessions.