hashcat Forum
Salted DES - how to crack - 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: Salted DES - how to crack (/thread-11656.html)



Salted DES - how to crack - Emkei - 10-17-2023

Hello,

How to crack a salted DES with hashcat?

I created a salted DES hash like this:
perl -e 'print(crypt("7YQ588mWlp", "Fp"));'

Result: FpJcQ10ck7B4c

You can also create a salted DES hash online here:
https://unix4lyfe.org/crypt/

Is it possible to crack salted DES (used in OpenLDAP by the way) with hashcat when I know the hash (FpJcQ10ck7B4c) and salt (Fp)?

No hash/salt combination is accepted by hashcat. Even jtr did not help.

Thank you in advance for any help.


RE: Salted DES - how to crack - penguinkeeper - 10-18-2023

DESCrypt is limited to 8 characters, so the password would be: 7YQ588mW and it'd just get truncated, with "lp" and "Fp" being discarded. Also, Hashcat cracks salted DEScrypt by default, you can see "Fp" is at the start of the hash, so all you need to crack this hash is:
hashcat -m 1500 FpJcQ10ck7B4c -a 3 7YQ588mW


RE: Salted DES - how to crack - Emkei - 10-18-2023

(10-18-2023, 02:21 PM)penguinkeeper Wrote: DESCrypt is limited to 8 characters, so the password would be: 7YQ588mW and it'd just get truncated, with "lp" and "Fp" being discarded. Also, Hashcat cracks salted DEScrypt by default, you can see "Fp" is at the start of the hash, so all you need to crack this hash is:
hashcat -m 1500 FpJcQ10ck7B4c -a 3 7YQ588mW

Thank you!