How long does it take to crack a password? Let’s explain the principles of three common methods of cracking passwords: brute-force attacks, dictionary attacks, and mask attacks. We will also discuss why there is such a significant difference in difficulty between different file formats, as well as the differences in processing power between graphics cards and CPUs.
| Comparison term | Download your own cracking software | Leave it to us |
|---|---|---|
| computing power | A home computer usually only has an integrated graphics card | Multiple GPU decryptors running the same task at the same time |
| Password Dictionary | I randomly found hundreds of thousands of entries online, and a whole bunch of duplicates and invalid ones | Dictionaries accumulated and cleaned over the years, categorized according to usage habits |
| cracking strategy | They will only try one by one from beginning to end | First the dictionary, then the mask, then the full amount, a multi-level strategy is being implemented layer by layer |
| Can I keep running | The computer needs to be on all the time; shutting it down or restarting it will be all for naught | It runs 24/7 on the server; it won't be affected even if you turn off your computer |
| Possibility of unraveling | It's all down to luck; a slightly longer password is practically out of the question | First, cover the most likely combination; short passwords often yield results within tens of minutes |
| Start-up cost | Installing drivers, configuring command lines, and reporting errors are all ignored | Just upload the file, and you'll be notified of the results |
The essence of password recovery is to continuously try out all possible combinations until the correct one is found. The faster you try, and the fewer combinations you test, the higher the chances of success. On the other hand, the more combinations there are, and the more time it takes to try each combination, the less likely it is to succeed. This calculator helps to quantify both the number of attempts required and the time spent on each attempt. This allows you to have a better understanding of the security level of your files, and to understand why some files can be opened in just a few minutes, while others cannot even be opened despite being tried multiple times.
Brute force attacks rely on nothing but exhaustive enumeration of all possible combinations based on the character set and length of the password. For example, there are only one hundred million possible combinations for an 8-digit string of pure numbers. However, an 8-digit password consisting of uppercase and lowercase letters, numbers, and symbols has more than 6×10¹⁴ possible combinations. Such attacks proceed from “aaaaaaa” down to the last possible combination. The advantage of this method is that it’s both the simplest and most reliable approach—as long as there’s enough time, it’s theoretically possible to find every possible combination. The downside is that the number of possible combinations grows exponentially with increasing length and character set size. For even slightly longer passwords, it would take countless generations of attempts to find them.
Most people don’t use random characters as passwords. Instead, they use things like birthdays, names, keyboard sequences (like “qwerty”), or common words. Dictionary attacks organize these frequently used passwords into lists of possible candidates, and try each one one by one. This often leads to the discovery of weak passwords within a few minutes. The efficiency of this method is much higher than brute-force attacks, but it only works if the password actually exists in the list of possible candidates. Of course, this method becomes ineffective when dealing with highly randomized passwords. We have accumulated and cleaned up countless passwords over the years, precisely to improve the success rate of such attacks.
Mask attacks are a more sophisticated version of brute-force attacks. If you remember that “the password should be 8 characters long, start with a capital letter, and end with 2024”, you can provide these conditions to the cracking program, allowing it to generate only those combinations that meet the requirements. The original set of 6×10¹⁴ possible passwords can be reduced to just a few hundred million possibilities in just a few hours. This is why providing as many clues as you can when submitting the task will significantly increase the chances of success.
The files are not compared directly to the password, but rather to the “hash value” generated from the password. Every time a password is tried, the program must perform a hash operation. The more iterations there are, the slower the process becomes. The old formats offer almost no protection: Office 97 uses MD5/RC4, and graphics cards can perform tens of millions of such operations per second. In contrast, Office 2013 uses PBKDF2, which requires around 100,000 iterations per second—meaning it’s only about 10,000 times slower. PDFs use RC4, which is quite weak, while AES is slightly stronger. RAR5 requires around 30,000 iterations per file, making it several dozen times slower than RAR3. 7Z, on the other hand, requires over 500,000 iterations per file, making it one of the most difficult formats to crack. The reason why the same password might take dozens of minutes to be cracked on someone else’s machine, while taking days for you to try without any results, lies precisely here.
Hashing operations are a typical type of computation that involves many identical tasks, each independent of the others. This makes hashing particularly suitable for parallel processing architectures. A mainstream gaming graphics card typically has thousands of cores, allowing it to perform millions of hash calculations simultaneously. The speed of such operations is dozens to hundreds of times faster than that of CPUs. Ordinary computers, on the other hand, either rely on integrated graphics cards or have their CPUs handle all the calculations, resulting in significantly slower performance. Our algorithm involves multiple GPU servers working together to perform the same task. Additionally, techniques like dictionary-based filtering and masking help to narrow down the search range step by step. This is exactly where the difference lies between “performing the calculations yourself over several months” and “letting us handle it in just a few minutes”.
Therefore, every additional character in the password length, or every expansion of the character set, will significantly increase the difficulty of retrieval. On the other hand, using a faster file format or remembering more clues about the password can greatly reduce the time required. The calculator above has already quantified these factors—by entering the type of file you’re working with and the range of possible passwords, you can see how long it will take for your computer to process the data compared to our system. If the results seem discouraging, feel free to submit your file to us and let us handle it.
It depends on password length, character set and file encryption. An 8-digit numeric password has about 100 million combinations, which a normal computer exhausts in hours to days. A 12-character password with mixed letters, digits and symbols exceeds 10 to the power 24 combinations and could take centuries. Enter your parameters here for an instant estimate.
Brute force relies on no prior knowledge and tries every combination. Dictionary attacks try curated lists of common weak passwords first, which is far more efficient. Mask attacks add known clues to brute force, such as 8 characters starting with a capital, and only generate matching combinations, shrinking the search space by orders of magnitude.
Because the number of hash iterations differs hugely by format. Office 97 uses weaker MD5 and RC4 where a GPU tries tens of millions per second. Office 2013 and later use about 100,000 iterations, dropping that to roughly a thousand per second, about 10,000 times slower. 7z exceeds 500,000 iterations and is the hardest common format.
It's more meaningful to give us the documents and run through the most likely combinations first than to run through them yourself for a few days at home.