RarCrack is a program that uses brute force algorithm to find and recover the correct password for compressed archive in .rar (WinRAR), .7z (7-Zip) and .zip (WinZip) format in any POSIX compatible operating system. As such, RarCrack is useful when you have forgotten or lost the password for the compressed archive package in the supported format. To make bruteforce password breaking faster, RarCrack supports specifying a selection of characters and digits to be used in password generations in order to crack the password.

The guide below is a brief explanation on how to use RarCrack to recover and retrieve back the password for .rar, .7z or .zip files. Note that RarCrack requires glibc 2.4, pthreads and libxml2 libraries in order to work. Use rpm, pkg_add, apt-get and other commands to install the dependencies if it’s not installed yet.

  1. Download RarCrack by using the one of the following commands (just the difference of downloading mirror) in terminal:

    wget http://superb-east.dl.sourceforge.net/sourceforge/rarcrack/rarcrack-0.2.tar.bz2
    wget http://kent.dl.sourceforge.net/sourceforge/rarcrack/rarcrack-0.2.tar.bz2
    wget http://nchc.dl.sourceforge.net/sourceforge/rarcrack/rarcrack-0.2.tar.bz2

  2. Extract the RarCrack archive:

    tar -xjf rarcrack-0.2.tar.bz2

  3. Change directory into the extracted RarCrack folder:

    cd rarcrack-0.2

  4. Install the RarCrack with the following command:

    make
    sudo make install (so simply make install if already login as root)

  5. To crack or break the RAR, 7z or ZIP file Password, use the following syntax:

    rarcrack encrypted_archive.ext [–threads thread_num] [–type rar|zip|7z]

    The switch in [] is optional. RarCrack can autodetect the archive type, so the –type parameter only require if auto-detection of file type is wrong. And by default, RarCrack launches two cracking threads if no thread number is specified.

    For example,

    rarcrack example.rar
    rarcrack forgetpassword.zip

  6. After starting the process to break and crack the password, RarCrack will print and save the current status of cracking to a XML status file. Any valid good password to open the archive, if found, will be printed as good_password variable. An example of the XML file is as follow:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <rarcrack>
    <abc>0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</abc>
    <current>uU</current>
    <good_password></good_password>
    </rarcrack>

    Tip: If you can barely remember the password but pretty confident that only certain characters or digits are used, modify the “abc” character set to include those characters or numbers only. On first use, run the RarCrack to generate the XML status file, then edit then file and rerun the RarCrack again.

To unlock a protected or locked RAR archive, use WinRAR Unlock instead.

Related Posts

  • Heart HacKerZZZZ

    Thank you i need a 7zip cracking tool wrks in windows NOT ZIP RAR EXE it is .7zip

  • NIckolas

    I’m running Ubuntu 11.04, and every time I try to make, it fails. This is part of my terminal output.

    nickolas@nickolas-Latitude-E6400:~/Downloads/rarcrack-0.2$ sudo make installinstall -s rarcrack /usr/bin
    install: cannot stat `rarcrack’: No such file or directory
    make: *** [install] Error 1

    Keep in mind I’m very new to Linux, so, can you tell me why this fails?

  • The Techno Alien

    It’s been hours and this damn thing does nothing but “Probing”…
    how long does it take to find a password?
    I have an Intel Core2 Duo 2.53GHz CPU.

  • xenad

    This method does NOT work when only some files in the rar are encrypted, rarcrack thinks the extraction works…

  • This is a joke, righ

    This thing does nothing on its own; it just repeatedly forks instances of winrar, and only supports incermental bruteforce.

    Don't waste your time on this, better off a trivial bash script, at least you'll be able to perform some basic dictionary attack.

    *shivering in shock and confusion*

  • I

    This program just calls unrar a million times with different passwords. That's why it's so slow, it doesn't contain any code for decrypting/checking things itself…

  • fin

    Yeah, you don't need those links, you can just go to http://rarcrack.sourceforge.net and get it from the project downloads.

    You'll probably need libxml2-dev installed to compile it.

  • wnker

    Fuck this, the first two links don't work and the third is a broken .bz2

  • captainron

    what does threads mean?

    Say I download 8 rar parts. If there was no password (or if I knew the password) I'd just right click and extract any of those 8, and it would automatically get the data from the other 7 files and extract a complete movie.

    Do I just rarcrack one file, or all individually, or is that what threads mean?

  • It works for me!

  • Max

    @xxx

    Thank you so much for the instructions, I only installed Linux in order to use this program. Now it works, yay!

  • xxx

    I used rarcrack in linux and it worked. It took a couple of minutes, but the password was very weak. I had to install libxml2-dev in order to compile.

    http://sourceforge.net/projects/rarcrack/
    <code>

    tar xvjf rarcrack-0.2.tar.bz2

    cd rarcrack-0.2

    more README

    sudo apt-get install libxml2-dev

    make

    sudo make install

    rarcrack br.rar –type rar

    </code>

    check the xml-file rarcrack creates.

  • KasperH

    the wget already gives a suspicious error:

    Last-modified header invalid — time-stamp ignored.

  • EFC1878

    Sorry, but it failed for me on the first make. I'm using Ubuntu karmic and it might just be me being an idiot. First few lines of the error messages are:

    gcc -pthread rarcrack.c `xml2-config –libs –cflags` -O2 -o rarcrack

    /bin/sh: xml2-config: not found

    In file included from rarcrack.c:21:

    rarcrack.h:25:48: error: libxml/xmlmemory.h: No such file or directory

    rarcrack.h:26:27: error: libxml/parser.h: No such file or directory

    rarcrack.h:27:36: error: libxml/parserInternals.h: No such file or directory

    rarcrack.h:28:25: error: libxml/tree.h: No such file or directory

  • Xtian

    seems not to be working with me, i used for a couple of very old rar files i have and when i use the rar crar it just tell me found but the password is still not the correct one..

  • Bear

    You can try some softwares ,such as Password Unlocker ,Zip Password unlocker,Rar Passowrd unlocker and so on.

    You can find them though google.

    I hope this information will be helpful.Thanks.

  • bear

    You also can transfer your linux .rar file and .zip file to Windows xp and crack them

  • PacoBell

    shankar & Antispam are complete imbeciles. Have you seen the source code? It's completely innocuous apart from being a rudimentary brute-forcing utility. Seriously, get your collective heads out of your arses!

  • rarcrack and several other linux programs work great to recover lost archive passwords. For those saying "Bullshit" are probably those who either have not tried it, or tried it and gave up after a few minutes. These programs attempt to use as many combinations of letters and number as possible so for an 8 char. password using upper/lower case letters and numbers you could spend years trying to recover it. Other then that rarcrack works perfect for password recovery, especially when its for someone who can't remember which dictionary based word they used.

  • Ragnar

    No Bullshit. It doesn't claim to break the protection it uses bruteforce (shall I google that for you?) to which NO crypto-algorhythm is safe against, since it emulates a user typing in ALL passwords possible. If you implement a time penalty or limit of tries, thats another matter, but has nothing to do with the crypto-algorhythm.

  • Antispam

    Bullshit. There's no such thing as 'break rar/zip passwords'.

    Bunch of idiots. You're all spending the time of everyone.

  • Bernard

    I tried this in Ubuntu 8.04, didn't work. It halted on the first 'make'.

  • shankar

    WinRAR unlock is a spyware stealing credit card information. This spyware doesnot detected even in VirusTotal, but after installation, the spyware springs up. beware. Kasperky detected that way.

  • Pingback: WinRAR Unlock Free Download to Unlock Locked Protected RAR Archive (Support SFX EXE) » My Digital Life()