Crack Password Protected Zip File Using Kali linux

Hello friends,



                           Todays, We will discuss about how we can crack a zip files using fcrackzip tool in Kali linux System. Here,  I am Using Kali linux but you can use any other os and fcrackzip (Pre-installed In Kali linux).


If you are on a Linux machine you can install it using apt-get, like so:COMMAND:  sudo apt-get install fcrackzip




written by Marc Lehmann <pcg@goof.com> You can find more info on
http://www.goof.com/pcg/marc/
First, as with any tool, we start by quickly reviewing the documentation and
 then the help menu. Here,
it is quick shot of the main features as outlined in the help menu:

COMMAND: fcrackzip --help
USAGE: fcrackzip
          [-b|--brute-force]            use brute force algorithm
          [-D|--dictionary]             use a dictionary
          [-B|--benchmark]              execute a small benchmark
          [-c|--charset characterset]   use characters from charset
          [-h|--help]                   show this message
          [--version]                   show the version of this program
          [-V|--validate]               sanity-check the algortihm
          [-v|--verbose]                be more verbose
          [-p|--init-password string]   use string as initial password/file
          [-l|--length min-max]         check password with length min to max
          [-u|--use-unzip]              use unzip to weed out wrong passwords
          [-m|--method num]             use method number "num" (see below)
          [-2|--modulo r/m]             only calculcate 1/m of the password
          file...                    the zipfiles to crack



Lets Start:
              Now if you have some protected Zip files laying around then that's great, but if you don't you can perform a quick command to make one.  Here is the syntax and quick example:
COMMAND: zip -e -r <ArchiveName> <path of target file>
EXAMPLE: zip -e -r tryzip 'root/Desktop/seceret.txt'
You will get a prompt after you hit enter which will ask you to type in the password, and then again to confirm it. You should then have a password protected Zip file to use for further testing.
So, Practise Purpose, I am creating an txt file using command:




:~# cd Desktop
 




:~# nano seceret.txt
Here, i Type A line:
"this is a sceret"
  



then Type Ctrl+X and y. Then Enter
Now, Txt File is ready For encryption. :~# zip -e tryzip secert.txt



Here, My Password is 1234


Now, For Cracking Type:
          [-c|--charset characterset]   use characters from charset
          [-l|--length min-max]         check password with length min to max
          [-u|--use-unzip]              use unzip to weed out wrong passwords
 I will note since it may not be clear at first that the '-c' charset option has a few options which will aid you if you are going to perform a straight bruteforce attack on the password:
    a => lower aplha charset [a-z]
    A => UPPER aplha charset [A-Z]
    1 => numerical charset [0-9]
    ! => Special charset [!:$%&/()=?[]+*~#]
    : => Used to mark additional characters to add into the charset
:~# fcrackzip -u -c 1 -l 4-6 'tryzip.zip'


 

  PASSWORD FOUND!!!!: pw== 1234


Note: This Is only for Educational and Practice Purpose Only


Share this

Related Posts

Previous
Next Post »

2 comments

Write comments