Troubles with creating the mask
#10
Again the best method would probably be to use rule-based attacks, see https://hashcat.net/wiki/doku.php?id=rule_based_attack

you could even create your own dictionary file with several permutations of the base password and run it through some standard rule files (if you really don't want to mess around with creating your own rule file).
Code:
hashcat -m 15700 -a 0 -w 3 -r rules/best64.rule hash.txt dict.txt
hash.txt is the hash file that holds 1 hash line that follows the format mentioned in https://hashcat.net/wiki/doku.php?id=example_hashes (for 15700).
dict.txt is a file that you created with notepad or similar that holds a few thousands of possible password candidates that you think are likely the correct one (original and a little bit mangled base words, 1 password on each line).

The problem with the mask attack is that you do not know the exact length and furthermore the passwords just seem to be shifted and slightly modified (exactly something that you normally use the rule attack for).

If you really would attack a very fast hash, you could of course combine every char that you think could be used into a new charset, but again this type of attack is not clever/fast for a very slow algo like scrypt-based ethereum wallets (-m 15700).
For -m 0 (MD5) you could use something like this:
Code:
hashcat -m 0 -a 3 -w 4 -1 "#23AEHNOPRSTWaehnoprstw" --increment --increment-min 5 --increment-max 15 hash.txt ?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1

but note: that even in this case hashcat will need to increase the password length all the time (and the keyspace gets huger and huger with increasing length) and you won't see the total estimated run time at the start (only the current run time for that specific length, you can modify --increment-min / --increment-max to specify the min/max length... the mask length itself must always be the same length or longer than --increment-max).
This would be quite a strange approach to try all the password candidates and as already set is not recommended at all (and even less clever for slow hash algorithms), but I think you get the idea on how to combine each and every char at each and every position (if you don't know where the chars could be etc)
Reply


Messages In This Thread
Troubles with creating the mask - by McWorse - 05-15-2021, 08:44 PM
RE: Troubles with creating the mask - by McWorse - 05-16-2021, 10:28 AM
RE: Troubles with creating the mask - by philsmd - 05-16-2021, 12:02 PM
RE: Troubles with creating the mask - by McWorse - 05-16-2021, 12:26 PM
RE: Troubles with creating the mask - by philsmd - 05-16-2021, 12:38 PM
RE: Troubles with creating the mask - by McWorse - 05-16-2021, 12:50 PM
RE: Troubles with creating the mask - by McWorse - 05-16-2021, 04:04 PM
RE: Troubles with creating the mask - by 10785740 - 05-17-2021, 08:56 AM
RE: Troubles with creating the mask - by Snoopy - 05-17-2021, 01:20 PM
RE: Troubles with creating the mask - by philsmd - 05-18-2021, 11:26 AM
RE: Troubles with creating the mask - by McWorse - 05-26-2021, 11:16 AM
RE: Troubles with creating the mask - by McWorse - 05-26-2021, 02:17 PM
RE: Troubles with creating the mask - by philsmd - 05-26-2021, 07:58 PM
RE: Troubles with creating the mask - by McWorse - 05-26-2021, 09:09 PM
RE: Troubles with creating the mask - by McWorse - 05-27-2021, 05:34 PM
RE: Troubles with creating the mask - by Snoopy - 05-27-2021, 06:02 PM