hashcat Forum
md5 cracking with rules - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: md5 cracking with rules (/thread-9750.html)



md5 cracking with rules - vc_semih - 01-07-2021

Hello,
I have an md5 hash without salt but I can't make rules to crack it, 
I know my password has 10 chars with 4 digits randomly placed, and I know it's a English word of 6 chars.
I have a wordlist but I can't append 4 digits in it.
If someone can help me I would be thankful.


RE: md5 cracking with rules - Snoopy - 01-13-2021

do you mean 4 digits randomly inserted into the word or appended, its not really clear



stupid 4 digit append would be constructing a rulesset like that

Code:
$0000 > password0000
$0001 > password0001
$0002 > password0002
...


But this can be done simpler by a combinator attack of your wordlist with a second one, you can generate the second list like this

Code:
hashcat -a 3 --stdout -1 ?d ?1?1?1?1 > digit.list
https://hashcat.net/wiki/doku.php?id=combinator_attack

inserting randomly 4 digits at 4 places or one into a word is a little more complicated

inserting 4 digits at one position would be generating rules like this
iNX (insert X at N)


Code:
i00i00i00i00 > 0000password
i01i00i00i00 > 0001password
....
i10i10i10i10 > p0000assword
i11i10i10i10 > p0001assword

this example above should be possible to be generated by maskprocessor, see https://hashcat.net/wiki/doku.php?id=rules_with_maskprocessor 

inserting one digit at 4 "random" positions would be generating all possibilitys
Code:
i[0-5][0-9]i[0-5][0-9]i[0-5][0-9]i[0-5][0-9]

not sure if this is possible with maskprocessor


RE: md5 cracking with rules - vc_semih - 01-13-2021

Yes it is 4 random digit randomly placed in a word (exemples : artist + 1234 −→ 1ar23t4ist ; august + 9876 −→ augu987st6) thank you