How to crack a password protected zip file using Kali Linux

Cracking A Password Protected Zip File Using Kali Linux Hacking Tools

We often use zipped files to store large files due to its small size and strong encryption algorithm. The zipping utility also comes with a facility of password protection which maintains the security of the files. However, sometimes it so happens that this feature turns into a nightmare if we forget the password.

Hacking a password protected zip file can be done with many password cracker utilities available online. However, if you are a Kali Linux user, password cracking becomes that much more easy with an open-source tool called fcrackzip.

Fcrackzip is a fast password cracker partly written in assembler and available for Kali Linux. It is able to crack password-protected zip files with brute force or dictionary-based attacks allowing you to unzip files even with most hard passwords.

Go to Application> Kali Linux> Password Attacks> Offline Attacks> fcrackzip

kali linux fcrack zip
Open Terminal type fcrackzip โ€“help.ย ย This command will open fcrackzip with help options

Syntax โ€“ fcrackzip โ€“u โ€“c <your password character type> ย โ€“p <total digits> zip file path

Ex โ€“ fcrackzip โ€“u โ€“c 1 โ€“p aaaaaaaa โ€˜/root/Desktop/Test.zipโ€™

Here,

The โ€“u option, Try to decompress the first file by calling unzip with the guessed password. This weeds out false positives when not enough files have been given.

The โ€“c option lets you select the character set, ‘1’ here means password also be numeric.

The -p option lets you select an initial string to start brute-force attack.

Note โ€“ as you can see the โ€˜aaaaaaaaโ€™, if you will count this is total 8 digits for your password to be in 8 digits

Syntax โ€“ fcrackzip โ€“u โ€“c <your password character type>ย  -l <password digits range> zip file path

Ex โ€“ fcrackzip โ€“u โ€“c 1 โ€“l 4-8 โ€˜/root/Desktop/Test.zipโ€™

In this example, ย the Zip file has small (lower case) alphabet digits as aย password. Here password is โ€˜abcdefghโ€™. ย If your password has small alphabets characters and length of the password is 8 digits.

Syntax โ€“ fcrackzip โ€“u โ€“c <your password character type>ย  โ€“p <total digits> zip file path

Ex โ€“ fcrackzip โ€“u โ€“c a โ€“p aaaaaaaa โ€˜/root/Desktop/Test1.zipโ€™

Here we are using โ€˜aโ€™ after โ€“c because our password has small (lower case) alphabet. If you have doubt that the password has a upper case alphabet than replace ‘a’ with capital โ€˜Aโ€™. If you think that your password has both upper and lower case than you can write โ€˜Aaโ€™. Just like this if you doubt your password has lower case (a), Upper case (A), numeric (1). You have to write there โ€˜Aa1โ€™.

Syntax โ€“ fcrackzip โ€“u โ€“D โ€“p <dictionary file path> <zip file path>

Ex โ€“ fcrackzip โ€“u โ€“D โ€“p โ€˜/root/Desktop/dicโ€™ โ€˜/root/Desktop/Test.zip

So finally we have anย all-encompassing command for cracking the password-protectedย file which should look like this >

fcrackzip -b -c ‘aA1!’ -l 1-10 -u ย file_name.zip

Subscribe to our newsletter

To be updated with all the latest news

4 COMMENTS

  1. Every time I try to use fcrackzip and no matter which options I choose, all it does it open the folder which is not helping. I cannot find anyone who seems to have this problem. Any Ideas?

  2. This program is absolutely worthless if the key is longer than 6 characters. Even for a zip cracker this is ridiculously slow. The author even says it’s slow. Stop making this tool seem like it’s worth anything. Also, running this crap as root? Kali Linux? Are scriptkids your audience? This article’s a joke.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Subscribe to our newsletter

To be updated with all the latest news

Read More

Suggested Post