New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUKS Mode 14600 not working #1677

Open
HighMans opened this Issue Sep 2, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@HighMans

HighMans commented Sep 2, 2018

Hello all,

I'm trying to test LUKS and have created a LUKS Header with the password, "password" to test it.

The header is valid:

highmans@HighMans:~$ cryptsetup luksDump password.luks 
LUKS header information for password.luks

Version:       	1
Cipher name:   	aes
Cipher mode:   	xts-plain64
Hash spec:     	sha256
Payload offset:	4096
MK bits:       	256
MK digest:     	9a 88 ae 68 e7 06 df 9c 61 21 eb 98 40 ae 3d f3 6e 92 15 7b 
MK salt:       	5c 58 07 b4 ed 15 6d cf 36 97 2c 3c 4b 91 09 43 
               	87 15 e0 da ae e7 4e eb fe b4 d5 f1 73 0e 1d 6c 
MK iterations: 	95672
UUID:          	7456b974-7f1c-4098-9053-8059b7139f41

Key Slot 0: ENABLED
	Iterations:         	1530766
	Salt:               	46 d1 4b da 63 0e ea db 51 c7 98 21 ba 12 6c 7a 
	                      	c4 90 b2 7d b0 1a 61 06 5f 7c 87 2f 66 64 58 88 
	Key material offset:	8
	AF stripes:            	4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED

I'm currently running Hashcat v.4.1.0

This is the password list:

PS C:\Users\HighMans\Desktop\hashcat-4.1.0> cat out.txt
password

This is the command and output thereof:


PS C:\Users\HighMans\Desktop\hashcat-4.1.0> .\hashcat64.exe -m 14600 -a 0 ..\password.luks .\out.txt
hashcat (v4.2.1) starting...

OpenCL Platform #1: Advanced Micro Devices, Inc.
================================================
* Device #1: Tahiti, 2393/3072 MB allocatable, 28MCU

Hashes: 1 digests; 1 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1

Applicable optimizers:
* Zero-Byte
* Single-Hash
* Single-Salt
* Slow-Hash-SIMD-LOOP

Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 256

Watchdog: Temperature abort trigger set to 90c

Dictionary cache built:
* Filename..: .\out.txt
* Passwords.: 1
* Bytes.....: 9
* Keyspace..: 1
* Runtime...: 0 secs

The wordlist or mask that you are using is too small.
This means that hashcat cannot use the full parallel power of your device(s).
Unless you supply more work, your cracking speed will drop.
For tips on supplying more work, see: https://hashcat.net/faq/morework

Approaching final keyspace - workload adjusted.

[s]tatus [p]ause [b]ypass [c]heckpoint [q]uit =>

Session..........: hashcat
Status...........: Running
Hash.Type........: LUKS
Hash.Target......: ..\password.luks
Time.Started.....: Sun Sep 02 08:03:18 2018 (3 secs)
Time.Estimated...: Sun Sep 02 08:03:21 2018 (0 secs)
Guess.Base.......: File (.\out.txt)
Guess.Queue......: 1/1 (100.00%)
Speed.Dev.#1.....:        0 H/s (1.60ms) @ Accel:2 Loops:64 Thr:256 Vec:1
Recovered........: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.........: 0/1 (0.00%)
Rejected.........: 0/0 (0.00%)
Restore.Point....: 0/1 (0.00%)
Candidates.#1....: password -> password
HWMon.Dev.#1.....: Temp: 44c Fan: 28% Util: 27% Core: 850MHz Mem:1250MHz Bus:16

Cracking performance lower than expected?

* Append -w 3 to the commandline.
  This can cause your screen to lag.

* Update your OpenCL runtime / driver the right way:
  https://hashcat.net/faq/wrongdriver

* Create more work items to make use of your parallelization power:
  https://hashcat.net/faq/morework

[s]tatus [p]ause [b]ypass [c]heckpoint [q]uit =>

Session..........: hashcat
Status...........: Running
Hash.Type........: LUKS
Hash.Target......: ..\password.luks
Time.Started.....: Sun Sep 02 08:03:18 2018 (12 secs)
Time.Estimated...: Sun Sep 02 08:03:30 2018 (0 secs)
Guess.Base.......: File (.\out.txt)
Guess.Queue......: 1/1 (100.00%)
Speed.Dev.#1.....:        0 H/s (1.61ms) @ Accel:2 Loops:64 Thr:256 Vec:1
Recovered........: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.........: 0/1 (0.00%)
Rejected.........: 0/0 (0.00%)
Restore.Point....: 0/1 (0.00%)
Candidates.#1....: password -> password
HWMon.Dev.#1.....: Temp: 45c Fan: 30% Util: 85% Core: 850MHz Mem:1250MHz Bus:16

[s]tatus [p]ause [b]ypass [c]heckpoint [q]uit =>

Session..........: hashcat
Status...........: Running
Hash.Type........: LUKS
Hash.Target......: ..\password.luks
Time.Started.....: Sun Sep 02 08:03:18 2018 (19 secs)
Time.Estimated...: Sun Sep 02 08:03:37 2018 (0 secs)
Guess.Base.......: File (.\out.txt)
Guess.Queue......: 1/1 (100.00%)
Speed.Dev.#1.....:        0 H/s (1.60ms) @ Accel:2 Loops:64 Thr:256 Vec:1
Recovered........: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.........: 0/1 (0.00%)
Rejected.........: 0/0 (0.00%)
Restore.Point....: 0/1 (0.00%)
Candidates.#1....: password -> password
HWMon.Dev.#1.....: Temp: 45c Fan: 30% Util: 85% Core: 850MHz Mem:1250MHz Bus:16

[s]tatus [p]ause [b]ypass [c]heckpoint [q]uit =>

Session..........: hashcat
Status...........: Running
Hash.Type........: LUKS
Hash.Target......: ..\password.luks
Time.Started.....: Sun Sep 02 08:03:18 2018 (31 secs)
Time.Estimated...: Sun Sep 02 08:03:49 2018 (0 secs)
Guess.Base.......: File (.\out.txt)
Guess.Queue......: 1/1 (100.00%)
Speed.Dev.#1.....:        0 H/s (1.61ms) @ Accel:2 Loops:64 Thr:256 Vec:1
Recovered........: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.........: 0/1 (0.00%)
Rejected.........: 0/0 (0.00%)
Restore.Point....: 0/1 (0.00%)
Candidates.#1....: password -> password
HWMon.Dev.#1.....: Temp: 46c Fan: 30% Util: 85% Core: 850MHz Mem:1250MHz Bus:16

[s]tatus [p]ause [b]ypass [c]heckpoint [q]uit =>

As you can see, nothing is really happening. The progress isn't increasing, the speed is 0H/s -- any help would be appreciated.

@jsteube

This comment has been minimized.

Show comment
Hide comment
@jsteube

jsteube Sep 8, 2018

Member

Please retry with latest hashcat beta from https://hashcat.net/beta/ and post the entire output again using this version.

Member

jsteube commented Sep 8, 2018

Please retry with latest hashcat beta from https://hashcat.net/beta/ and post the entire output again using this version.

@philsmd

This comment has been minimized.

Show comment
Hide comment
@philsmd

philsmd Sep 30, 2018

Member

How did you create the luks volume ?
We have seen some users reporting problems in the past: they did only create the volume but not really initialize i.e. write to it. Without this extra step of "using" the volume (e.g. formatting the volume with a file system and writing some files to it etc) it is just garbage data and can't be cracked.

BTW: there are some example hashes/volumes on https://hashcat/wiki/example_hashes for luks. I'm pretty sure that whenever you get these to work, it shouldn't be a hashcat problem but just pebcak (not creating/initializing the volume correctly for instance).

Please test and close the issue if working. thx

Member

philsmd commented Sep 30, 2018

How did you create the luks volume ?
We have seen some users reporting problems in the past: they did only create the volume but not really initialize i.e. write to it. Without this extra step of "using" the volume (e.g. formatting the volume with a file system and writing some files to it etc) it is just garbage data and can't be cracked.

BTW: there are some example hashes/volumes on https://hashcat/wiki/example_hashes for luks. I'm pretty sure that whenever you get these to work, it shouldn't be a hashcat problem but just pebcak (not creating/initializing the volume correctly for instance).

Please test and close the issue if working. thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment