• We just launched and are currently in beta. Join us as we build and grow the community.

Multiple Ways to Crack ZIP File Passwords

GauntClick

Exploit Weaponization Expert
G Rep
0
0
0
Rep
0
G Vouches
0
0
0
Vouches
0
Posts
163
Likes
115
Bits
1 MONTH
1 1 MONTH OF SERVICE
LEVEL 1 400 XP
C2EBAB96-9A8C-4519-90FE-924B77378417.png


Hey Folks, in this tutorial we will show you how we can crack passwords of any zip file in few second. In this tutorial we will uses more than one software or tools to recover forgotten ZIP password. As we know that removal of a password from an encrypted zip file can be easy or hard depending on the complexity of the password but these kind of tool are uses dictionary file for cracking the passwords.

Requirements

Kali Linux = ( Version 2020.1 )

Lets take a look 🙂 !!

Protect ZIP File

Now first we will protect our zip file with any random string by using the following command.
Usage 🙂 zip –password < password > < zip file name > < your files >

zip --password shubham@# crack2.zip file1.txt file.txt rep.txt1zip--password shubham@# crack2.zip file1.txt file.txt rep.txt

create-first.png

Zip2john

Zip2john create the hashes of any zip file after that john can crack it. By using the following command we can save the output in txt file format.

zip2john crack.zip > zip.hashes1zip2john crack.zip>zip.hashes

1-18.png


We have successfully got the hash which you can see by the cat command.

cat zip.hashes1cat zip.hashes

2-15.png

John the Ripper

John the Ripper is a free password cracking software tool that is commonly found in Linux or Windows. It can also be to crack passwords of Compressed files like ZIP and also Documents files like PDF. It can be run against various encrypted password and hashes.

After obtain the hashes we will uses john the ripper tool which will uses his default dictionary to crack the hashes.
Usage 🙂 john < hash file >

john zip.hashes1john zip.hashes

3-16.png


It will try a bunch of passwords to crack the hash and when it successfully gets the key it will return the result to you.

7zip-Crack

7zip-Crack is the open source tool that is listed on github page. Again It uses the dictionary to find the right key of the password protected zip file but in this tool we have to add our custom wordlist. We need to setup this tool using the following command.

git clone https://github.com/Goron/7zip-crack.git
cd 7zip-crack
chmod +x *
./7zip-crack1234git clone
https://github.com/Goron/7zip-crack.gitcd7zip-crackchmod+x *./7zip-crack

4-18.png


As you can see above we can operate this tool easily and similarly we can crack the password of zip file by using the following command.

7zip-crack < zip file > < wordlist >17zip-crack<zip file><wordlist>

5-14.png

Fcrackzip

Fcrackzip is the another third party tool which is especially designed to cracking zip file passwords. Fcrackzip is one of the best tool to crack the zip file password because it’s provided multiple facilities that can be helpful for crack the passphrase.

First we will download this tool from the official website.

wget http://ftp.br.debian.org/debian/pool/main/f/fcrackzip/fcrackzip_1.0-10_amd64.deb1wget http://ftp.br.debian.org/debian/pool/main/f/fcrackzip/fcrackzip_1.0-10_amd64.deb

6-13.png


After depackages this tool it will automatically added on binary’s and after that we can start by enter only the name of this tool on terminal.

sudo dpkg -i fcrackzip_1.0-10_amd64.deb1sudo dpkg-ifcrackzip_1.0-10_amd64.deb

7-12.png


Now lets we will try to crack our password protected zip file by this tool using the following command.
Usage 🙂 fcrackzip -D -p < password list > -u < zip file >

  • -D = Dictionary
  • -p = password list
  • -u = exclude wrong password

fcrackzip -D -p /usr/share/john/password.lst -u crack2.zip1fcrackzip-D-p/usr/share/john/password.lst-ucrack2.zip

8-10.png

ZIP-Password-Brute Force

ZIP-Password-Brute Force tool is an open source tool which is available for both Window and Linux. First we need to setup this tool by using the following command.

git clone https://github.com/The404Hacking/ZIP-Password-BruteForcer.git
cd ZIP-Password-BruteForcer
python ZIP-Password-BruteForcer.py123git clone
https://github.com/The404Hacking/ZIP-Password-BruteForcer.gitcd ZIP-Password-BruteForcerpython ZIP-Password-BruteForcer.py

9-9.png


As you can see below, this tool takes few seconds to crack the password protected zip file.

10-8.png

Zip-Cracker

Zip-Cracker is great tool for crack the encrypted zip files. This is open 🔓 source tool which is hosted on github page and here is the link of this tool from where you can downloaded it.

git clone https://github.com/lamanihani/zip-cracker.git
cd zip-cracker/
python3 crack.py123git clone
https://github.com/lamanihani/zip-cracker.gitcd zip-cracker/python3 crack.py

11-7.png


After executing the above command we are ready to start this tool. Now here we need to enter the location of protected zip file.

12-6.png


After giving the dictionary it will easily crack the password of zip file.

13-6.png


hApPy HaCkInG 🙂 !!

About the AuthorShubham Goyal Certified Ethical Hacker, information security analyst, penetration tester and researcher. Can be Contact on Linkedin.
 

414,728

309,677

309,686

Top