PDF download Download Article PDF download Download Article

When a RAR file is protected with a password, the file is encrypted with one of the strongest levels of encryption—either AES 256 or AES 128, depending on the version.[1] If you can't open a RAR because you don't know the password, your only chance of recovering the password is to use brute force. This wikiHow article will show you how to use a free Windows command prompt tool called cRARk to find the password of an encrypted RAR file.

Bypassing a WinRAR Password

Download cRARk at https://www.crark.net/. Right-click the RAR file and select "Extract here." Rename the file in your language to "password.def." Open the file in Notepad. Delete the "#" from an option, then save your changes. Open the cRARk folder's command prompt. Type "crark yourarchivename.rar" and press "Enter."

  1. You can grab the latest version from http://www.crark.net/#download. cRARk is a command line program that can crack RAR passwords using brute force. As long as the password is fewer than 6 characters long, you have a chance of cracking it with cRARk.[2]
    • If you are trying to crack a password that's more than 6 characters and you have no information about the password, it's impossible to crack due to the incredibly strong encryption of RAR files.
    • If you know a few characters in the password, you can crack passwords with cRARk up to 28 characters long. Knowing some facts about the password will really cut down on the time it takes to find it with brute force.
    • cRARk supports GPU password recovery using CUDA and OpenCL technologies and works with NVIDIA and AMD GPUs. If you don't have a high-end GPU, finding the password will take much longer.
  2. You'll need WinRAR or your preferred RAR program to do this. Just right-click the file and select Extract here to unpack the files inside.
    Advertisement
  3. In the extracted folder, you'll see a bunch of files that end with .def for different languages. Just right-click your language, select Rename, type password.def, and then press Enter.
    • If you're using Windows Vista or Windows 7 and have an NVIDIA GPU, such as a GeForce, you'll also need to run the file called driver-timeout.reg in the extracted folder.[3] After running the file, reboot your computer. Since this will disable certain functions of your video card, we'll show you how to undo this action when you're finished cracking the password.
  4. To do this, just right-click the file, select Open with, and then choose Notepad.
  5. Now you'll need to make some changes to the file below the two hash symbols ## so cRARk knows the rules for finding the password. Only make changes to the section below those hash marks.
    • All lines that begin with one hash # are comments—you'll see that the only uncommented line is the one that says $a *. This means that cRARk will try to brute-force the password using only lower-case letters.
    • Several other examples appear in the file, including the option to search for passwords that only contain numbers, or combinations of both. To use any of these other options, delete the hash symbol from the beginning of its line to uncomment it.
    • The last two options are for if you know part of the password. For example, if you know that the password begins with certain characters and ends with a 4-digit number, you can uncomment the line MyPass $1 $1 $1 $1 and modify it so it fits your criteria.
    • To learn more about different options for the password definition file, see http://www.crark.net/cRARk.html#41.
  6. Just click the File menu and select Save when you're finished editing to save your new password rules.
  7. This is just so you won't have to type long complicated paths at the command prompt. Drag the file right into the extracted folder to move it.
  8. Here's how:
    • First, copy the full path to the extracted folder at the top of the File Explorer window. To do so, highlight the full path and press Control + C to copy it.
    • In the Windows Search bar, type cmd, and then click Command prompt in the search results.
    • Type cd and press the Spacebar.
    • Press Command + V to paste the copied URL and press Enter.
  9. Replace yourarchivename.rar with the name of the RAR file you want to crack. This will start the process of cracking the password using the definitions you specified. Once the password is cracked, you'll see the password followed by CRC OK.[4]
    • A short simple password may only take a few minutes to crack, while more complicated passwords could take days, weeks, months, or longer.
    • If you want to stop the process, you can press Control + C at the prompt. If that doesn't stop the cracking, just close the command prompt window.
    • If you're using Windows 7 or Vista and ran the driver-timeout.reg file, you'll want to undo the action when you're finished with the tool. Right-click the file, select Open with > Notepad, change dword:00000000 to dword:00000001, and save the file. Then, double-click the file to run it again, and reboot your PC.
  10. Advertisement


Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Change Directories in Command Prompt Navigate to a Different Folder in the Command Prompt
Format a USB Using Cmd Format a USB Using CMD (Command Prompt)
Change a Computer Password Using Command Prompt Change a Windows Password Using Command Prompt
Reboot from Command Prompt on WindowsReboot from Command Prompt on Windows
Use Windows Command Prompt to Run a Python FileUse Windows Command Prompt to Run a Python File
Run a Batch File from the Command Line on Windows Run a Windows Batch File from the Command Line (CMD)
Open a Folder in Cmd Open a Folder in Command Prompt (CMD)
Add Users from CMDAdd Users from CMD
Open Command Prompt with a Keyboard Shortcut (Windows 8, 8.1, and 10)3 Ways to Open Command Prompt with Keyboard on Windows
Open the Command Prompt in Windows5 Simple Ways to Open the Command Prompt in Windows
Watch Star Wars on Command Prompt Watch Star Wars via Telnet: Windows CMD & Mac Terminal
Copy Files in Command PromptCopy Files in Command Prompt
Use Net SendUse Net Send
Merge Text (.Txt) Files in Command Prompt Merge Multiple Text Files in Command Prompt, Notepad, & More
Advertisement

About This Article

Luigi Oppido
Reviewed by:
Computer & Tech Specialist
This article was reviewed by Luigi Oppido and by wikiHow staff writer, Nicole Levine, MFA. Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years. This article has been viewed 135,812 times.
How helpful is this?
Co-authors: 4
Updated: June 23, 2024
Views: 135,812
Categories: Command Prompt
Article SummaryX

1. Download and extract cRARk.
2. Rename the language.def file of your choice to "password.def."
3. Edit the password definitions in the password.def file and save it.
4. Move your RAR file to the extracted directory.
5. Open the command prompt and go to the extracted directory.
6. Type "crark yourfilename.rar" to crack the password.

Did this summary help you?

Thanks to all authors for creating a page that has been read 135,812 times.

Is this article up to date?

Advertisement