Password file or mask attack..
#1
Hi guys.. I got an odd request here..

Hi.. im working on a password file (or trying to start an mask attack just to save space), and i need the help to create it

The rules i want..

1234567890ABCDEF (lenght 10 numbers and letters.. All letters =big)

However it wont be an 11TB wordlist, cos i have narrowed it down big time...

maximum 3 letters (random A-F)
Numbers from 7 numbers to 9 (random)
Total 10 numbers and letters in a row

The second part is a bit harder..
There can never bee three letters after each other!

(EXAMPLES) Like this..
000000000A - 999999999A
A000C00000 - A000C00000
F0F000000B - F9F9999999B

Not like this
000FAB0000 - 999FAB9999
FAB0000000 - FAB9999999
0000000FAB - 9999999FAB

Is this possible (or at least the first part?)

Anyone who can help?

thanks in advance
Reply
#2
It is always good to know the algorithm type etc and maybe your setup too, such that we can give more suitable advices...

But assume this:
- 1. it is a fast hash that you want to crack (e.g md5)
- 2. you use oclHashcat (not cpu hashcat)
- 3. you are familiar with masks and hcmask files and we want to write down all mask within a .hcmask file ( see http://hashcat.net/wiki/doku.php?id=mask...mask_files ) for this task (I know many assumptions but you didn't give much details)....

So a user may come up w/ a hcmask file looking like that, with the policies that you have given (my.hcmask):
Code:
# 1 upper
ABCDEF,?1?d?d?d?d?d?d?d?d?d
ABCDEF,?d?1?d?d?d?d?d?d?d?d
ABCDEF,?d?d?1?d?d?d?d?d?d?d
ABCDEF,?d?d?d?1?d?d?d?d?d?d
ABCDEF,?d?d?d?d?1?d?d?d?d?d
ABCDEF,?d?d?d?d?d?1?d?d?d?d
ABCDEF,?d?d?d?d?d?d?1?d?d?d
ABCDEF,?d?d?d?d?d?d?d?1?d?d
ABCDEF,?d?d?d?d?d?d?d?d?1?d
ABCDEF,?d?d?d?d?d?d?d?d?d?1
# 2 upper next
ABCDEF,?1?1?d?d?d?d?d?d?d?d
ABCDEF,?d?1?1?d?d?d?d?d?d?d
ABCDEF,?d?d?1?1?d?d?d?d?d?d
ABCDEF,?d?d?d?1?1?d?d?d?d?d
ABCDEF,?d?d?d?d?1?1?d?d?d?d
ABCDEF,?d?d?d?d?d?1?1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?1?d?1
# 4th,9th upper
ABCDEF,?d?d?d?1?d?d?d?d?1?1
# 5th,6th upper
ABCDEF,?d?d?d?d?1?1?d?1?d?d
ABCDEF,?d?d?d?d?1?1?d?d?1?d
ABCDEF,?d?d?d?d?1?1?d?d?d?1
# 5th,7th upper
ABCDEF,?d?d?d?d?1?d?1?1?d?d
ABCDEF,?d?d?d?d?1?d?1?d?1?d
ABCDEF,?d?d?d?d?1?d?1?d?d?1
# 5th,8th upper
ABCDEF,?d?d?d?d?1?d?d?1?1?d
ABCDEF,?d?d?d?d?1?d?d?1?d?1
# 5th,9th upper
ABCDEF,?d?d?d?d?1?d?d?d?1?1
# 6th,7th upper
ABCDEF,?d?d?d?d?d?1?1?d?1?d
ABCDEF,?d?d?d?d?d?1?1?d?d?1
# 6th,8th upper
ABCDEF,?d?d?d?d?d?1?d?1?1?d
ABCDEF,?d?d?d?d?d?1?d?1?d?1
# 6th,9th upper
ABCDEF,?d?d?d?d?d?1?d?d?1?1
# 7th,8th upper
ABCDEF,?d?d?d?d?d?d?1?1?d?1
# 7th,9th upper
ABCDEF,?d?d?d?d?d?d?1?d?1?1

You can then use this file with -a 3 my.hcmask instead of a real mask (like -a 3 ?u?d?d?d?d?d?d?d?d?d)

Pls note that I did build this file very quickly and can't promise that it catches all cases, but it should if it contains no errors Smile
Reply