Credential Access · Term

What is Hashcat?

Hashcat is the best-known password-cracking tool, using the GPU to turn stolen hashes back into passwords at enormous speed. Here is what it does and why dumped hashes are not safe.

Credential Access · TermAll services
TL;DR

Hashcat is an open-source, GPU-accelerated password-cracking tool that recovers cleartext passwords from hashes by trying candidates and comparing the result. It supports hundreds of hash types via mode numbers (1000 = NT hash, 1800 = SHA-512crypt, 5600 = NetNTLMv2, 13100 = Kerberoast). Attackers feed it the hashes they dumped, then use wordlists, rules, masks, and brute force to crack weak ones in seconds to hours. It is why a dumped hash of a weak password is as good as the password.

By John Dill, Red Team Lead, SecureLayer7Updated

What Hashcat is

A password hash is one-way, you cannot reverse it, but you can guess: hash a candidate password and see if it matches. Hashcat does this at massive scale on the GPU, testing billions of candidates per second for fast hashes.

It knows hundreds of formats, each selected by a `-m` mode number, and supports several attack strategies, from dictionary lists to brute-force masks. It is the standard offline-cracking tool used after credential dumping.

How it is used and payload

After dumping hashes, the attacker picks the mode and an attack:

  • NT hashes from the SAM/NTDS: hashcat -m 1000 nt.txt rockyou.txt -r best64.rule
  • NetNTLMv2 from LLMNR poisoning: hashcat -m 5600 net.txt rockyou.txt
  • Kerberoast tickets: hashcat -m 13100 spn.txt wordlist
  • Mask brute force for short passwords: hashcat -m 1000 nt.txt -a 3 ?u?l?l?l?l?d?d

Weak and reused passwords fall quickly. Documented for defensive context.

How to defend

  • Enforce long passwords/passphrases (length beats complexity against cracking).
  • Block common and breached passwords so wordlist attacks fail.
  • Use slow, salted hashing for any passwords you store (bcrypt/argon2 for apps; for Windows, reduce NTLM exposure).
  • Protect the hashes in the first place (limit local admin, Credential Guard) so there is nothing to crack.
  • Detect the dumping that precedes cracking, since cracking itself is offline and invisible.

References

  1. [1]MITRE ATT&CK: Credential Access (TA0006)(MITRE)
  2. [2]NIST SP 800-63B Digital Identity Guidelines(NIST)
  3. [3]MITRE ATT&CK: OS Credential Dumping (T1003)(MITRE)
Related terms

Common questions

Credential access, asked often

Want your environment tested for exposed credentials?

Scope an engagement

Find the exposed credentials before an attacker does.

Our internal and network penetration tests hunt the credentials an intruder would, in memory, registry hives, config files, and on the wire, then show your team exactly where each one was exposed and how to close it. Free re-test included.

See all services30-min scoping call, fixed-price proposal in 48 hours.