r/HowToHack • u/Firm-Aside4041 • Aug 15 '26
cracking 20 year old zip file with password
Hi everyone. Before I start, I just want to say I am massively impressed with the amount of knowledge and information that's been shared on this sub. Some of you guys are crazy clever.
Anyway, I'm in a bit of a situation where some of my academia is being challenged. I have proof from when I was at university that my findings are primary research and haven't been plagiarised, but I'll save you the long story.
These documents are stored in an encrypted zip file. Back before Dropbox and OneDrive, I would zip and encrypt my documents using WinZip and leave them on my university network drive, or span them across multiple floppy drives to take the work home.
Now, I can't for the life of me remember the password (I only started to standardise my passwords later on in life).
Here is where I am at:
- I have compiled a wordlist for John the Ripper.
- I've been using ChatGPT to help me build a user interface to try and utilise all of John the Ripper's switches and functions.
- I ran a test file, and it did successfully find the password from the wordlist, so I know the application works.
However, it can't seem to find the password for my actual zip file.
Is there an alternative or something else I can try to figure out the password?
For hardware, I have:
• An Intel-based machine with an NVIDIA 4070
• A MacBook Air with an M3 chip
Any support or guidance would be very much appreciated.
64
u/resultingparadox Aug 15 '26
If it's on the old 2.0 standard, Hashcat could help here too.
41
u/tmemmg Aug 15 '26
How is it encrypted? If its Zip 2.0 you’re in luck, AES-256 you’re probably cooked unless you expand that word list. If thats the route, id suggest building a list with all the passwords youre using or have used in the past.
Obviously encrypt that too lol
25
u/SuchLibrarian8011 Aug 15 '26
John has filters for zip files zio2john. Try a dictionary attach using either your tailored list or lists like rockyou.
If it’s actually tour zip file you may know the style of password you may have used back in the days and would know if the wordlist could fit.
From a simple google search:
How to Use zip2john
Extract the hash from your target archive and save it to a text file:
zip2john protected.zip > zip_hash.txt
Run John the Ripper against the generated hash file using a wordlist:
john --wordlist=/path/to/wordlist.txt zip_hash.txt
View any successfully recovered passwords:
john --show zip_hash.txt
———
As last chance, slower but infallible. You can use a full brute force attack.
A 4070 could be on to start, but it you want to do it faster, can use a rented gpu online.
23
u/TommyITA03 Aug 15 '26
If you find a suitable solution, I'll gladly help you by running john on my rig (I have 64gb of ram, a 7950x and a 5090).
4
u/Firm-Aside4041 Aug 16 '26
Update: OpenAI wants me to verify my age because I’m doing doing cyber security things with ChatGPT, using hashcat 😅
5
u/LongRangeSavage Programming Aug 15 '26
Do you even know what hash type you’re dealing with? If the password isn’t in your word list, it will never work. You may have to use a rule set to build a custom password list, but if you can’t remember what the length of the password might have been, it may be an almost impossible task.
5
u/MrAdam74 Aug 15 '26
Not a solution but sure one exists, many years ago (maybe Windows ME era) I had encrypted some pics over a set of floppys using WinZip, years later I was about to throw them as not a clue as I'd used more of a sentence for the password! At the time I was playing around with data recovery on hdd's and was actually shocked to find some freeware that managed to unzip & decrypt most the pics even with atleast 1 corrupted disc. Can't remember what but sure it's out there somewhere!
4
u/octave1 Aug 15 '26
You must have some idea of the length and characters no ? Like i know for sure 15 yrs ago I just use a word and a number. Those should be crackable, just a question of time. Consider renting some cloud compute to for more power.
If it's 32 random chars include all possible ones then it becomes much harder.
2
u/XFM2z8BH Aug 16 '26
if, you remember the pattern, even part of it, and also at least know max length, use mask attack
2
u/CraigAT Aug 16 '26
Also be aware, if you run some of these tools on an institution's/organisation's PC/laptop they are likely to trigger alerts to your cyber security team - so you may want to give them a heads up before doing that - although I suspect they would insist you run anything like that at home, on personal hardware (which you may well be doing already).
2
u/brakertech Aug 17 '26
You just need to use hashcat and a GPU. Download the rockyou.txt and let it rip
5
u/Runaque Aug 15 '26
I made a multi-threaded Python script some time ago for password-protected ZIP files that might help you out. Keep in mind it's designed for modern hardware, so brute-forcing a 20-year-old archive on a CPU might be a bit slow, but feel free to give it a spin:
https://github.com/Runaque/MultiThreadZIPcrackingV6
1
u/LordHonest-8714 Aug 18 '26
Let us know if you successfully crack it OP. Tell us the process time if you go brute force.
1
u/ChestAdventurous5073 Aug 28 '26
moleza manda pra mim que resolvo pra voce 50 conto.
-3
u/Demented_Firefighter Aug 15 '26
yea right...
-1
u/SnooCats6031 Aug 15 '26
This is the strangest excuse… why would someone be reading your work or challenging it 20 years later?