Salted DES - how to crack
#1
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.
Reply
#2
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
Reply
#3
(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!
Reply