luks v1- sha1-aes-xts_p64 - only mode 14600 ? (is this correct?) - 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: luks v1- sha1-aes-xts_p64 - only mode 14600 ? (is this correct?) (/thread-11364.html) |
luks v1- sha1-aes-xts_p64 - only mode 14600 ? (is this correct?) - hashcatUser94712 - 03-26-2023 Im trying to crack an older 500mb luks partition i made many years ago (~2017) - First are my 2x questions, below that are the relevant details / info. 2x questions: 1- Even though Luks v1 / SHA-1 / AES / XTS_Plain64 - does NOT seem to be covered by any modes of: -m 29511 through -m 29543 , will -m 14600 still work ? (assuming the correct passphrase gets tried, ofcourse) 2- what is the relevance of Luks v1 / SHA-1 / AES / XTS_Plain64 - NOT being covered by one of the 29511 through 29543 modes? (are those faster modes vs 14600 ? what is the advantage of ever using -m 29511 vs -m 14600 if i were to have a VALID "29511 - LUKS v1 SHA-1 + AES" supported hash? NB: based upon the sample hash for Mode 29511 , cbc-plain64 is expected vs my hash which used XTS_Plain64 from: https://hashcat.net/misc/example_hashes/hashcat_luks_sha256_aes_cbc-plain64_128.txt via: https://hashcat.net/wiki/doku.php?id=example_hashes My details: --- ID luks partition/device (just confirmation): blkid -t TYPE=crypto_LUKS -o device /dev/sdc1 I extracted the luks v1 header: dd if=/dev/sdc1 bs=1 count=2066432 of=luksHeader.dd Verify my header extract is valid: Code: cryptsetup luksDump ./luksHeader.dd Convert the header to a hashcat Hast file: python3.6 luks2hashcat.py luksHeader.dd > out.hash (nb; for luk2hashcat.py to execute: i first had to run/install : pip install dataclasses OR pip3 install dataclasses else i would get: ModuleNotFoundError: No module named 'dataclasses' ) cat out.hash: $luks$1$Hash.SHA1$Cipher.AES$Mode.XTS_PLAIN64$256$250000$3ef2a97.................. readable: Luks v1 / SHA-1 / AES / XTS_Plain64 Mode 29511 will fail as it does not support XTS_PLAIN64: hashcat -O -S -m 29511 -a 0 -w 3 -r blah.rule out.hash MYwordlist.txt Code: [2023-03-25 18:53:55] Counting lines in out.hash Please be patient... This does not fail / nor throw an error (however i have yet to crack it so far): hashcat -O -S -m 14600 -a 0 -w 3 -r blah.rule luksHeader.dd MYwordlist.txt or this also does not fail / nor throw an error: hashcat -O -S -m 14600 -a 0 -w 3 -r blah.rule out.hash MYwordlist.txt thanks for the help and your time. ( Great reference links for others / future): https://hashcat.net/forum/thread-6225-post-33187.html#pid33187 https://diverto.github.io/2019/11/18/Cracking-LUKS-passphrases |