Sponsored
Ethical Hacking

Multiple Ways to Crack ZIP File Passwords

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.txt

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.hashes

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

cat zip.hashes

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.hashes

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-crack

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 >

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.deb

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.deb

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.zip

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.py

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

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.py

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

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

hApPy HaCkInG ๐Ÿ™‚ !!

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

Recent Posts

Termux Cheat Sheet for Hackers

Hey Folks :) !! In this article, we present the "Termux Cheat Sheet for Hackers"…

1 month ago

Cracking the X-Factor in Cybersecurity: How Humans are Protecting the Systems?

Amid the rapid advancement of technology, the significance of human involvement in cybersecurity frequently goes…

8 months ago

Cariddi – Hidden Endpoint Finder for Bug Hunting

Hey Folks, we are back today after such a long break, but don't worry we…

2 years ago

API Security Testing 101: Know Everything About API Security Testing!

The security of your API should be one of the top priorities of companies. Without…

2 years ago

7 Best Tools for Web Penetration Testing: Comprehensive Details

Hey Folks, In today's business world, it is essential to have an online presence. However,…

2 years ago

Cyber Security Audits: Everything You Need to Know About It

Hey Folks, Is your business prepared in case of a cyber attack? Many companies don't…

2 years ago
Sponsored

This website uses cookies.