Word-generator based on the per-position markov-attack.
https://github.com/hashcat/statsprocessor
## HCSTATGEN
Create custom Markov models using [[hashcat-utils]] hcstatgen.bin based on cracked
target passwords. The util hcstatgen makes a 32MB file each time no matter how
small/large the password list provided. Highly recommended you make custom
Markov models for different target sets.
```
hcstatgen.bin outfile.hcstat < passwords.txt
```
## STATSPROCESSOR
Is a high-performance word-generator based on a user supplied per-position
Markov model (hcstat file) using mask attack notation.
### Step 1: Create your custom Markov model
```
hcstatgen.bin out.hcstat < passwords.txt
```
### Step 2.1: Supply your new Markov model to Hashcat as mask or rule
attack.
```
hashcat -a 3 -m hash_type hash.txt --markov-hcstat=out.hcstat ?a?a?a?a?a?a
hashcat -a 0 -m hash_type hash.txt dict.txt -r rule.txt --markov-hcstat=out.hcstat
```
### Step 2.2: OR Supply your new Markov model with sp64 and pipe into Hashcat.
```
sp64.bin --pw-min 3 --pw-max 5 out.hcstat ?1?1?1?1?1?1 | hashcat -a 0 -m hash_type hash.txt
```
[[Home]]