LUKS not working
@jfoug is already working on this.
Since Jul 29, 2016.
- Dominant language
- C
- Stars
- 13.6k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
I want to "crack" my own passphrase of my Ubuntu 15.10 standard whole disk encryption disk.
Here is what I do:
sudo cryptsetup luksHeaderBackup --header-backup-file header /dev/sdb1
Then to get the hash from the header I do:
luks2john header
Now I get a "dump" binary file and a hash printed to the stdout.
I save the printed hash by copy&paste into a new file calling it "hash"
Then I do:
john --wordlist=Dic -enc=utf8 hash
And I get this output:
WARNING, LUKS format hash representation will change in future releases,
see doc/README.LUKS
Loaded 1 password hash (LUKS [PBKDF2-SHA1 256/256 AVX2 8x])
Will run 4 OpenMP threads
Press 'q' or Ctrl-C to abort, almost any other key for status
0g 0:00:00:00 DONE (2016-04-12 23:29) 0g/s 40.38p/s 40.38c/s 40.38C/s test1..test5
Session completed
Inside the "Dic" file I have my real passphrase but JTR cannot "crack" it, however it completes the process successfully.
"Dic" file looks like this
test1
test2
myRealPassphrase
test4
test5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.