OSX 10.11 Hash HELP! - 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: OSX 10.11 Hash HELP! (/thread-7792.html) |
OSX 10.11 Hash HELP! - CactUs - 09-07-2018 I have been trying to crack the hash of my OSX 10.11 mac using the established .plist extraction method, but even using all the correct options (as far as I know,) I get Token length exception no matter what I do! Specifically, I get this: Code: PS C:\Cracking\HashCat\hashcat-4.2.1> .\hashcat64.exe -m 7100 -a 0 C:\Cracking\Hashes\MyHash.txt C:\Cracking\Wordlists\rockyou.txt I have extracted the salt, hash, and iterations from my mac's plist, and orginized them in the format Code: $ml$iterations$salt$entropy My hash (with a couple bits changed, but the same length) is this: $ml$38167$4fb7de70c60407a7542932b1fe8f8bd366bad000066e9607687ef1503fe094a5$0feb2bb941c7e8b71d58e1e882270058892b92e97f80c89e1ab4e0b9405078b925ea08957f3c9741cd1723a11a049c3a3f99f8173fdeb3c8dfd5bd6717537372d66e4098c60b6f653489d8233c7c8b2239acc71a8f347b26d5262bb7bf3755baed57e564d67f976a11589002ff2a591befc9a7d183523cac2bdb2e84ed75a6e6 RE: OSX 10.11 Hash HELP! - Banaanhangwagen - 09-07-2018 Look at https://hashcat.net/wiki/doku.php?id=example_hashes You'll see that your entropy is too long. You only need 64 bytes there (and not 128) Cut it off, and it will work. RE: OSX 10.11 Hash HELP! - CactUs - 09-07-2018 (09-07-2018, 02:58 PM)Karamba Wrote: You only need 64 bytes there (and not 128) Do you mean 128 and not 256, or am I missing something? Thanks so much! Also, do you have any why there is unneeded data at the end of the entropy that can just be cut off? RE: OSX 10.11 Hash HELP! - Banaanhangwagen - 09-07-2018 A byte is represented by two hexadecimal digits. So, when looking at your given entropy, the first byte is 0F. As I mentioned higher, you need to take 64 bytes (= 128 hexadecimal digits) and not the full 128 bytes (= 256 hexadecimal digits). As a bonus, take some time to look at the plist with a hexviewer. You'll see that entropy and salt begin with a sort of 'header' (0x4F10) followed by their length (in hex, not in dec). After the salt, you'll see the 'header' 0x11 followed by two bytes. Those two are the iterations (Big Endian). As another bonus, use this script to avoid headache in the future. RE: OSX 10.11 Hash HELP! - CactUs - 09-07-2018 Awesome! thank you so much! |