How to Crack Zip File Password Using Fcrackzip Tool

Installation

There are two methods for installing and configuring this tool on kali linux or any other operating system. The first way is to download this tool using the “wget” command and configure it using the “dpkg” command. wget http://ftp.br.debian.org/debian/pool/main/f/fcrackzip/fcrackzip_1.0-10_amd64.deb dpkg -i fcrackzip_1.0-10_amd64.deb

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

The other way is to install this tool directly using the following command if you are using the kali inux operating system. apt install fcrackzip

2apt install fcrackzip

Features

After successfully installing you can boot this tool using the following command and at the same time we can get some information about this tool by executing the “help” command. fcrackzip –help

3fcrackzip –help

Complete Info

Using the man command we can see all the user manuals of any specific command or tool. man fcrackzip

4man fcrackzip

System Benchmark

A unique feature of this tool is that we can see the actual benchmark score of our system by adding “B” letter in command. fcrackzip -B

5fcrackzip -B

Create ZIP File

The time has come to create a password protected zip file to demonstrate the use of this tool. We have also left a usage of command through which you can understand better.

Usage !! zip –password < your password > < give zip file name > < files that you want compressed > zip –password [email protected]# crack2.zip file1.txt file.txt rep.txt unzip crack2.zip

6zip –password [email protected]# crack2.zip file1.txt file.txt rep.txtunzip crack2.zip

Cracking alphabet password protected file

You can easily crack the password if you have a minor knowledge about the password. In this case we knew that the password is completely in alphabetical letters, so as you can see the password is easily cracked.

  • -b = Bruteforce
  • -c = Charest
  • a’ = Alphabet Charset
  • 1′ = Numeric
  • ‘a1‘ = Alphabetical and Numeric
  • ‘!’ = Special Characters
  • ‘l’ = lenght

fcrackzip -b -c ‘a’ secure.zip

7fcrackzip -b -c ‘a’ secure.zip

Cracking numeric password protected file

Thus, if the zip file is protected with numeric characters then you should try the following command. As we know the password is completely in numeric form that’s why we only add ‘1′ to the command to get a valid password. fcrackzip -b -c ‘1’ secure.zip

8fcrackzip -b -c ‘1’ secure.zip

Verbose Mode

We can activate verbose mode by adding “v” characters after which we can see some additional details about brute forcing. fcrackzip -b -v -c ‘a’ secure.zip

9fcrackzip -b -v -c ‘a’ secure.zip

Exclude Wrong Passwords

As you may have noticed, it also gives us the wrong password while cracking the password, so we can use the “-u” parameter to avoid this and to get the exact valid password. fcrackzip -b -v -c ‘a’ -u secure.zip

10fcrackzip -b -v -c ‘a’ -u secure.zip

Crack alphanumeric password protected file

Now the situation has become somewhat complicated because we do not know anything about the password, so what will we do in that case? Now we will take both alphabet and numeric characters in command and wait for it to crack. It takes some time but it has successfully cracked the password. fcrackzip -b -v -c ‘a1’ -u secure.zip

11fcrackzip -b -v -c ‘a1’ -u secure.zip

Minimum and Maximum Length

Now if you know anything about minimum and maximum length of password then you can mentioned in your command as like below. fcrackzip -b -v -c ‘1’ -l 1-4 -u secure.zip

12fcrackzip -b -v -c ‘1’ -l 1-4 -u secure.zip

Dictionary Attack

Sometimes you create your own wordlist to crack the password of zip files, in that case you can use your own wordlist using the following command.

Usgae !! fcrackzip -D -p < your wordlist path > < zip fie > fcrackzip -D -p wordlist.txt secure.zip

13fcrackzip -D -p wordlist.txt secure.zip

Special Characters

You can include special characters in your brute force attack by adding “!” in command. fcrackzip -b -v -c ‘a!’ -u secure.zip

14fcrackzip -b -v -c ‘a!’ -u secure.zip

Example

Now we will combine all the feature once and try to crack the passphrase protected zip file. As you can see, cracking the password with the fcrackzip tool looks complicated. zip –password h4x0r2 secure.zip file1.txt file.txt rep.txt

15zip –password h4x0r2 secure.zip file1.txt file.txt rep.txt

Great !! The results are in front of you and you can see that it has dumped the valid password of the zip file in a few seconds. fcrackzip -b -v -c a1 -l 5-7 -u secure.zip

16fcrackzip -b -v -c a1 -l 5-7 -u secure.zip

Leave a Reply

Your email address will not be published.