VeraCrypt with PIM/keyfile seems to be ignored - 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: VeraCrypt with PIM/keyfile seems to be ignored (/thread-8198.html) Pages:
1
2
|
VeraCrypt with PIM/keyfile seems to be ignored - BotPass - 03-04-2019 I probably do a stupid mistake but I could not find out which one it is. The problem: hashcat only find the password on partition/volume with nothing else (pim/key file). Story/a part of the history: I tested a bit with VeraCrypt and created some partition/volume encrypted with password and: a) custom PIM b) 2 key files c) custom PIM and 2 key files and as a result of the problems a fourth one: d) normal, only password. Every partition was encrypted with the same password. The first 512 byte of every partition was extracted and given to hashcat to recover the password. The basic command for a) is: Code: hashcat64.exe -a 3 -m 13751 [VeraCrypt header] [mask] -o [outputfile] --potfile-path=[potfile] --veracrypt-pim=[pim number] -O -w 4 Initially I run every algorithm (13711-13773) over the header of a) to c) in every configuration (no pim/keyf, pim, keyf, pim and keyf), but hashcat found nothing. It is possible to mount the volumes with VeraCrypt without any problem. After I tested a bit, I add d), ignored the last case (pim and keyf) and reduced the "hash-type" to 13751 because I used AES with SHA256 to create the partitions/volumes. Now hashcat is able to recover the password, but only for d), however in every case. Thus hashcat find password for d) even if pim or keyf is present. So it seems that hashcat ignores the parameter. To be sure I'm using the right parameter I used copy+paste from help. I am aware of that hashcat complains about no optimized kernel, thus I removed -O without luck. And I moved the pim/keyf parameter directly after "-m 13751" but nothing changed. I am not sure what I am doing wrong. I hope you can understand me and my problem and probably even help me. Thank you in advanced. And just one side question because I already writing this post: Are there any special constrains for VeraCrypt (besides extracting the right byte and using correct "hash-type")? An example to know what I mean: it's problematic with UTF-16 based hashes and chars above U+000FF because hashcat inserts zero bytes. Thus mask "?b?b" probably does not do what it is meant to do by the user. used: - hashcat 5.1.0 - GeForce GTX 1060 with current driver RE: VeraCrypt with PIM/keyfile seems to be ignored - atom - 03-10-2019 What happens if you just use a single keyfile? Which PIM are you using? RE: VeraCrypt with PIM/keyfile seems to be ignored - NoReply - 03-10-2019 Isn't the order of the parameters messed up here? From the first lines of hashcat --help: Usage: hashcat [options] hash|hashfile|hccapxfile [dictionary|mask|directory] Your Header should be at the same position as a hash|hashfile|hccapxfile, so the correct order would be: hashcat64.exe -a 3 -m 13751 -o [outputfile] --potfile-path=[potfile] --veracrypt-pim=[pim number] -O -w 4 [VeraCrypt header] [mask] RE: VeraCrypt with PIM/keyfile seems to be ignored - undeath - 03-11-2019 @NoReply: it doesn't matter where options are, only the order of non-option arguments. RE: VeraCrypt with PIM/keyfile seems to be ignored - BotPass - 03-11-2019 Thank you for the replays. I used PIM 2000 and 1337. Now I created two additional partition, one with PIM 500 and one with a single keyfile. With the same procedure as last time I checked all six partition against "--veracrypt-pim=500" and "--veracrypt-keyfiles=[correct file]". And only the password of the partition without pim and without keyfile could be reconstructed. And just to be absolutely sure, I modified the arrangement of the parameter, without luck. Should hashcat print that it use a different pim or used keyfiles? I could not see anything like this. The parameter name should be correct because hashcat complains about "--veracryptsdf-pim=500" but not with the parameter I used. RE: VeraCrypt with PIM/keyfile seems to be ignored - philsmd - 03-11-2019 please test also with the beta version from https://hashcat.net/beta btw: there are also example hashes from https://hashcat.net/wiki/example_hashes (including tests with PIM) RE: VeraCrypt with PIM/keyfile seems to be ignored - BotPass - 03-12-2019 On the example page I could only found one single example with PIM -- a system partition. I testes 137*3 "hash-type"s but could not find with PIM 500 and mask "hashca?l". Next I tested the beta version 5.1.0+719 with my test files. The potfile is created by hashcat but it is empty. Depending on my logs hashcat is able to find passwords. Additionally result files are created and on the first view it seems that PIM and keyfiles are used thus the password could be found in the correct header. RE: VeraCrypt with PIM/keyfile seems to be ignored - undeath - 03-13-2019 Can confirm that the example hash with pim doesn't work for me (latest git master). Code: hashcat -m 13761 hashcat_sha256_aes_boot_pim500.vc --veracrypt-pim 500 -a3 hashca?l RE: VeraCrypt with PIM/keyfile seems to be ignored - atom - 03-14-2019 I can't reproduce this locally: Code: root@ht:~/hashcat# ./hashcat -m 13761 tools/vc_tests/hashcat_sha256_aes_boot_pim500.vc -a 3 hashca?l --veracrypt-pim 500 @BotPass Please share all files that we need to reproduce RE: VeraCrypt with PIM/keyfile seems to be ignored - undeath - 03-14-2019 I was accidentally running 5.1.0, which was unable to crack the example hash file. After updating to master everything works. |