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
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
There is any similar tool for ubuntu?
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?
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.
Hahahaha, Be a polite man. Or maybe could you create a new version of this fcrackzip ?