hashcat Forum
Formatting mask for mask attack - 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: Formatting mask for mask attack (/thread-7103.html)



Formatting mask for mask attack - ThrowawayWhale - 12-13-2017

Hello,

I'm attempting to generate a list of possible passwords for an encrypted drive password. I remember the general setup, however I'm not sure which letters I switched for numerals or symbols. The password is formatted similar to this: "Th!s !s a t3st, n0t a r3@l p@ssw0rd." So there a quite a few characters where I'm 100% certain on, and a handful that could be a symbol or a letter. Is there a good or simple way to format the mask for, for example, that example password? (EG "Th*s *s a t#st" where * can only be i or ! and # can only be # or e)

Thanks!


RE: Formatting mask for mask attack - royce - 12-13-2017

If there are only a few substitions, hashcat's -1/-2/-3/-4 (aka --custom-charset[1234]) can help with this.

If it's more than that, generating a custom list of masks using maskprocessor might be better.


RE: Formatting mask for mask attack - epixoip - 12-13-2017

You'll need to generate an hcmask file with multiple masks to cover all of the possible positions, but honestly a rule-based attack with the appropriate substitutions might be a better approach.