hashcat Forum
Mix of digits, uppercase and a specific letter rule - help - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat-utils, maskprocessor, statsprocessor, md5stress, wikistrip (https://hashcat.net/forum/forum-28.html)
+--- Thread: Mix of digits, uppercase and a specific letter rule - help (/thread-7017.html)



Mix of digits, uppercase and a specific letter rule - help - xkwas - 11-14-2017

Hi there!
I want to create a rule file using mask processor (and no other dictionary involved, if possible) straight to a .hccapx handshake file I have already obtained. 
The rulefile should look like this
Digit Uppercase Uppercase Digit Digit Digit W Uppercase Digit Digit Digit Digit Digit
e.g:
0AA000WA00000
Please note there is a W, which appears to be the seventh symbol.
Any ideas?
Thanks!


RE: Mix of digits, uppercase and a specific letter rule - help - philsmd - 11-14-2017

What you normally use in such a case is a mask attack: https://hashcat.net/wiki/doku.php?id=mask_attack

Therefore, in hashcat's terminology this is not called a rule, but a mask attack (using attack type -a 3).

The mask would be:
-a 3 ?d?u?u?d?d?dW?u?d?d?d?d?d


.... the "only" problem here is that this mask is way too huge for -m 2500 = WPA/WPA2. The length of the password candidates is not really easily brute-forceable. As said, the keyspace is too huge.

If we assume that our charsets consist of 10 digits and 26 upper case latin letters, the math is like this:
10 * 26 * 26 * 10 * 10 * 10 * 1 * 26 * 10 * 10 * 10 * 10 * 10 = 17,576,000,000,000

It's not totally infeasible with a large rig consisting of several connected motherboards, each connected to 6-8 modern Nvidia GPUs (980ti, 1080 ti at the moment of this writing). If you do not have this, it might take several months/years to run this.