Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: hcmask is not recognized in OSX
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

On OSX, I am trying to use a maskfile (.hcmask) with hashcat-cli64.app as follows:

Code:
./hashcat-cli64.app -m 0 1.hash -a 3 1.hcmask

It seems "1.hcmask" file is not recognized as a file. Instead, it's recognized as a single mask and I get the following output:

Code:
Input.Mode: Mask (1) [1]
Index.....: 0/1 (segment), 1 (words), 0 (bytes)
Recovered.: 0/1 hashes, 0/1 salts
Speed/sec.: - plains, - words
Progress..: 1/1 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--


Input.Mode: Mask (1.) [2]
Index.....: 0/1 (segment), 1 (words), 0 (bytes)
Recovered.: 0/1 hashes, 0/1 salts
Speed/sec.: - plains, - words
Progress..: 1/1 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--


Input.Mode: Mask (1.h) [3]
Index.....: 0/1 (segment), 1 (words), 0 (bytes)
Recovered.: 0/1 hashes, 0/1 salts
Speed/sec.: - plains, - words
Progress..: 1/1 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--


Input.Mode: Mask (1.hc) [4]
Index.....: 0/1 (segment), 1 (words), 0 (bytes)
Recovered.: 0/1 hashes, 0/1 salts
Speed/sec.: - plains, - words
Progress..: 1/1 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--


Input.Mode: Mask (1.hcm) [5]
Index.....: 0/1 (segment), 1 (words), 0 (bytes)
Recovered.: 0/1 hashes, 0/1 salts
Speed/sec.: - plains, - words
Progress..: 1/1 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--


Input.Mode: Mask (1.hcma) [6]
Index.....: 0/1 (segment), 1 (words), 0 (bytes)
Recovered.: 0/1 hashes, 0/1 salts
Speed/sec.: - plains, - words
Progress..: 1/1 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--


Input.Mode: Mask (1.hcmas) [7]
Index.....: 0/1 (segment), 1 (words), 0 (bytes)
Recovered.: 0/1 hashes, 0/1 salts
Speed/sec.: - plains, - words
Progress..: 1/1 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--


Input.Mode: Mask (1.hcmask) [8]
Index.....: 0/1 (segment), 1 (words), 0 (bytes)
Recovered.: 0/1 hashes, 0/1 salts
Speed/sec.: - plains, - words
Progress..: 1/1 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--

From wiki, it seems possible to give a mask file to hashcat but is it really possible or am I doing something wrong?
I double-checked the wiki page, https://hashcat.net/wiki/doku.php?id=mask_attack , says this:
Code:
Note: mask files are currently only supported by oclHashcat

Is that the page you looked at (or do we need to update/improve other wiki pages)?

The problem is that cpu hashcat currently does not support mask-files (hcmask)...
If you insist to get this feature also for cpu hashcat you could try opening a trac ticket, https://hashcat.net/trac/ , and see if it'll get accepted.

Another problem ofc is that you can't run oclHashcat on a MAC, therefore there are only some remaining options:
1. run the mask within a (shell) script - one mask at a time - several sequential calls of the .app
2. maybe you can use different hardware + win/linux with a recent GPU to run oclHashcat
Thank you for this answer. I first read https://hashcat.net/wiki/doku.php?id=hashcat which tells mask attack is possible on hashcat and then https://hashcat.net/wiki/doku.php?id=mask_attack which explains how to use mask files. It was my bad that I read these pages sequentially to believe mask files are supported by hashcat.

I am trying to simplify and automate my onsite pentesting tools using mac, so I don't think this would be a meaningful functionality for everyone. I'll write a basic script to sequentially call the .app.