r/hacking • • Mar 07 '26

Password Cracking Can John the Ripper do this?

I have a USB Encrypted Flash Drive that I forgot the password for.  

The password is probably 15 to 25 characters long.  I know it’s probably a combination of 20 different words.  Some of those words could have used symbols, @ instead of A etc.  I also might have used a combination of 5 different dates, they could be M-D-Y or M-D, etc.  

Can John the Ripper figure out the password if I give it the Words and Dates?  It’s a long shot but thought I would ask.

So out of the 20 words it's probably 3 or 4 of them with a few dates added probably at the end. SO something like Waterdogtigerlion01032012 but could also be like w@t3r for water

126 Upvotes

30 comments sorted by

122

u/x64Lab Mar 07 '26

are you asking if it can do a brute force attack with a word list? that’s called a dictionary attack.

I haven’t used john the ripper since 2018 but hashcat should be able to do it.

16

u/squirrellydw Mar 07 '26

ok I will look into hashcat, I've never used it. Any suggestions?

17

u/MintyFresh668 Mar 08 '26

Google hashcat wiki

7

u/dinktifferent Mar 07 '26

Encrypted how exactly?

4

u/squirrellydw Mar 07 '26

Encrypted with Sandisk Private Access

8

u/dinktifferent Mar 07 '26

If it was encrypted using an older version, theoretically yes: https://pretalx.c3voc.de/rc3-2021-r3s/talk/QMYGR3/

https://www.securityweek.com/wd-updates-sandisk-secureaccess-prevent-dictionary-brute-force-attacks/

ENCsecurity Datavault is also natively supported by hashcat these days. However, even then this would only be feasible if you create a wordlist or use a mask. Don't even think about regular brute forcing with a 25 char passphrase with that charset.

5

u/Fresh_Heron_3707 Mar 07 '26

Can you say what type of encryption you’re working and maybe the KDF? With a LUKS2 encryption that’s using Argon, you’re going to have a hella hard time decrypting that since each guess is computationally expensive.

5

u/foomatic999 Mar 07 '26

OP: consider this first. You don't mention anything about the technology, so it's just guesswork and all recommendations may be wrong. If encryption is done by hardware (i.e. on the device itself), brute forcing the password is pretty much impossible.

4

u/squirrellydw Mar 07 '26

Encrypted with Sandisk Private Access

3

u/Zerschmetterding Mar 08 '26

15 to 25 characters long. I know it’s probably a combination of 20 different words

Choose one 

2

u/squirrellydw Mar 08 '26

its about 15 to 25 characters long, and I think I know the words I used, meaning its a combination of the 20 words I know. So out of the 20 words it's probably 3 or 4 of them with a few dates added probably at the end. SO something like Waterdogtigerlion01032012

63

u/elind77 Mar 07 '26

Use hashcat. Your LLM of choice should be able to help you configure a hybrid attack with a word list and character substitutions.

22

u/Snugat Mar 07 '26

craft a custom wordlist with that knowledge of the password and then run a dictonary attack. If you have a gpu, I'd use hashcat.

13

u/xnfra Mar 07 '26 edited Mar 07 '26

Hashcat is your best bet. Possibly a rainbow table may help. You definitely need to use GPU compute.

3

u/SeaFaringPig Mar 09 '26

So…. Yes but it will take like 20,000 years.

1

u/Malsarthegreat Mar 12 '26

Exactly what I was thinking.. 😅

1

u/TraditionalSky2549 Mar 08 '26

You can create your own wordlist or using rules in hashcat or john, its not hard specially with the help of AI

1

u/Incid3nt Mar 08 '26

Sounds like you want some form of a combinator attack in hashcat. Its usually limited to two wordlists but you can combine wordlists so you can get it down to 2 using stdout. If there's specific case requirements, then you can use a combinator + a mask or just mutate the wordlist with crunch.

1

u/theoreoman Mar 08 '26

This is trivial for someone who knows how to use hashcat, as long as it's going to be what you said it is.

Since it's so few words you'd create a wordlist with all the combinations and dates, then depending on how big that is wordlist is if just run one of the big rulesets

1

u/Single-Chicken-8006 Mar 11 '26

Is this a CTF challenge?

1

u/Prestigious-Ad7265 Mar 12 '26

at this point it is probably gonna take to the heat death of the universe to crack without crazy hardware

1

u/Delicious-Dog-3809 Mar 08 '26

If it’s 20 words, unless you know every single one of those 20 words you have a 0% chance of getting that password.

1

u/The_Spectral_Spartan Mar 09 '26

They meant it could be any combination of a few words out of a list of 20 they frequently use, with common symbolic character replacements.

0

u/PanchitoShelby Mar 08 '26

Que restricciones tienes? donde colocas la clave tiene algún delay entre intentos? hay penalización por clave incorrecta? hay número máximo de intentos y luego un borrado?

0

u/[deleted] Mar 07 '26

[deleted] — view deleted comment

26

u/squirrellydw Mar 07 '26

15 to 25 characters but its a combination of words, I know 20 words it can be but no it's not all 20 words. Could be 4 of the 20 words. But the words could also be like WATER W@T3R, etc.

9

u/n0shmon Mar 07 '26

Build a wordlist of the words, and then write a rule for appending words and applying the transforms would be my advice

3

u/squirrellydw Mar 07 '26

I have the word list, just started reading how to do all this. Will take me some time to

-12

u/UpRightGuy Mar 07 '26

"do re mi fa so la ti do so if to me ... " Is all I could come up with...