How to Recover a RAR Password If Only Half Is Readable

Here’s a question posted at reddit HowToHack. A user is wondering how to crack his RAR file. And do it fast, with GPU acceleration and enabled attack settings. The problem is a few characters of his long password got accidentally blurred and turned out totally illegible.

A cup was placed on a sheet with a password, and part of it got blurred.
Fig. 1: This note reminder situation could look like this (Author of the photo — @denglad)

The problem is challenging enough for Passcovery programs and extended mask. Here’s how you can solve the riddle using Passcovery tools (and of course what works for RAR works for other formats as well).

Step-by-step solution

1. Start Accent RAR Password Recovery (or other required Passcovery tool) and open a password-protected archive (use the toolbar icon, the menu «File->Open» or the hotkey Ctrl+O – nothing unusual here).

Screenshot of Accent RAR Password Recovery interface showing the File menu with an Open option highlighted, used to open a password-protected file
Fig. 2: Open your password-protected file using the program

2. Read the file description (protection method), then choose the PPMd blocks scanning pattern and go to the attack selection step. Select “Brute-force with extended mask”.

Screenshot of the attack selection step in Accent RAR Password Recovery, showing the Brute-force with extended mask option
Fig. 3: Choose the most suitable attack

3. Follow these rules to complete mask settings.

Let’s take the photo above as an example.

Close-up image of a partially readable password with some characters blurred, used as an example for mask settings
Fig. 4: First look carefully at the password characters and write down your guesses

Only a part of the characters are clear while the rest have been washed away by latte (let’s mark the unknown characters with asterisk «*»): PdCMAw******saXl2q

Traces of damaged characters left on the paper (fragments of lines, distance and position of dots and stains etc.) allow us to make assumptions which might help reduce the number of verifications:

  • first * - a capital letter, most likely “С”
  • second * - a “high zigzag”, most likely “Z” or “2”
  • third * - a lower-case letter with downward directed “tail”, most likely “g” or “y”
  • fourth * - a “narrow” character with an element on top, most likely “1”, “7”, “T”, however “I”, “J”, “L” are also likely
  • fifth * - a lowercase letter, really hard to guess which one, but for sure it is not a “narrow” one and it’s got no “tail”
  • sixth * - a “high” and “thin-shaped” character, most likely “1”, “l”, “t”

Based on these assumptions we can specify sets of characters and define the mask as: PdCMAwC?0?1?2?3?4saXl2q

Screenshot of the mask settings interface in Accent RAR Password Recovery, displaying character sets for unknown password positions
Fig. 5: Sets of characters and their application in the mask

4. Start the search. With the assumptions made we’re down to only 1872 combinations to be validated. It is a piece of cake for any computer.

Screenshot of the search results in Accent RAR Password Recovery, showing the successfully found password
Fig. 6: Voila! You’ve got your password found easily and quickly

You may as well describe the fifth character in the mask using macro ?s (PdCMAwC?0?1?2?s?4saXl2q). But in this case you would not be able to define your own set of letters to be checked. You do remember that the “fifth * is a large-shaped letter without any tails”, don’t you? That means we could omit even more unnecessary checks by cutting down on thin-shaped characters and those with tails:

Screenshot of an alternative mask settings interface with a custom character set for the fifth unknown position
Fig. 7: Define your own charsets as you need

With extended mask you can define a list of possible characters for each position in the generated password which makes the mask a perfect tool to customize verification range with. By cutting off redundant validations you’ll be getting to the successful result way faster.

We recommend to start with the roughest assumptions (as we did in the example above) that is with the minimum number of combinations. Should the assumptions turn out wrong and you fail to find the password in the range of scanned combinations then you’ll just need to extend your view of the invisible characters — expand the range of verification and retry the search.

Why use extended mask?

It is true that there is an ordinary mask option in Passcovery programs apart from the extended one. You can use that one too. But it is not really useful when there is at least some information known about the password.

In the usual mask an unknown character is described with a symbol and verification of all the characters involves scanning of the entire specified range. Because of the drastic increase in the number of combinations to be checked it’s sure gonna take ages to complete the search.

Here’s what the usual mask would look like in our case:

Screenshot of a standard mask attack interface in Accent RAR Password Recovery, showing a large number of combinations to check
Fig. 8: Brute-force with mask attack

That is all possible combinations for the six unknown characters with a set of digits, small and capital letters will be checked which gives us 56,800,235,584 instead of 1872 combinations. See the difference?

So if you have at least some precise information about the password, try to use extended mask.

One more thing: the extended mask described above is also applicable in other Passcovery programs. The inherent algorithm is supported by all our applications.

Passcovery RAR Cracking Tools

AccentRPR Logo
Accent RAR Password Recovery for RAR/WinRAR (GPU-accelerated)
Download x64
(10772 Kb)
Passcovery Suite Logo
Passcovery Suite for RAR/WinRAR, Microsoft Office/LibreOffice/OpenOffice, Adobe PDF, Zip/WinZip, TrueCrypt, Apple iOS, BlackBerry OS, WPA/WPA2 (GPU-accelerated)
Download x64
(17896 Kb)
Denis Gladysh

Author: Denis Gladysh, Co-owner and Head of Passcovery. Passcovery is a provider of high-speed GPU-accelerated software solutions for recovering passwords for popular file formats. Denis is the author of the first versions of Accent OFFICE Password Recovery, created in 1999.
Facebook LinkedIn Twitter