Custom Ruleset, Correct word but exhausted
#6
Thanks for the help and sorry for the confusion and the clutter in what i posted.

I have followed philsmd's suggestion and tried to keep everything very simple

the MD5 hashes now correctly use the rules and crack them


Code:
hashcat64.exe -m 0 -a 0 -r myrule.rule md5hash.txt test.txt


This works exactly as expected.  (And using any rule works just fine for MD5)

Password431
Code:
1090d12545fd444f0a70d617d69a4d50

myrule
Code:
$4$3$1

test.txt
Code:
Password


Works great for MD5



Using WPA/WPA2 hash type still fails
Code:
hashcat64.exe -m 2500 -a 0 -r rules\myrule.rule mywifi.hccap test.txt

text.txt
Code:
Password

myrule.rule
Code:
$4$3$1

output
Code:
Session.Name...: hashcat
Status.........: Exhausted
Rules.Type.....: File (rules\myrule.rule)
Input.Mode.....: File (test.txt)
Hash.Target....: mywifi (22:02:71:28:56:a8 <-> 10:a5:d0:ec:59:91)
Hash.Type......: WPA/WPA2
Time.Started...: 0 secs
Speed.Dev.#1...:        0 H/s (0.00ms)
Recovered......: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.......: 1/1 (100.00%)
Rejected.......: 1/1 (100.00%)

If I change the rules to this
Code:
$3$1
And then I change my wordlist to this
Code:
Password4


Code:
Session.Name...: hashcat
Status.........: Cracked
Rules.Type.....: File (rules\myrule.rule)
Input.Mode.....: File (test.txt)
Hash.Target....: mywifi (22:02:71:28:56:a8 <-> 10:a5:d0:ec:59:91)
Hash.Type......: WPA/WPA2
Time.Started...: 0 secs
Speed.Dev.#1...:        0 H/s (0.40ms)
Recovered......: 1/1 (100.00%) Digests, 1/1 (100.00%) Salts
Progress.......: 1/1 (100.00%)
Rejected.......: 0/1 (0.00%)

Is there anyway I can find out why hashcat has rejected the hash on the first WPA?  Using -m 0 works as expected (on an MD5 hash), using -m 2500 doesn't (on a hccap).  As atom said, I'd be inclined to believe the hccap isn't good but it works with only using a two digit rule.  I am stumped


Messages In This Thread
RE: Custom Ruleset, Correct word but exhausted - by nowakezone - 08-26-2016, 06:11 AM