|Password Recovery Solutions|
Weíll describe different methods of password recovery in this article, along with their distinctive features, conditions under which they can be used, and their pros and cons.
Instant Password Extraction
Recommended Article: Universal Password Recovery Methods
Sometimes, the password can be recovered instantly. This is only possible if the password protection is very poorly implemented. The example is MS Access. Any password for an MS Access document can be recovered instantly no matter how long it is.
Sometimes it is possible to create a "fake password". It is different from the original password (and it usually looks quite odd), but it can be used instead of the original password. You can use it to remove the protection from the document or to change the existing password. Unfortunately, you canít determine the original password this way (the only exception is the case when the password is very short and some additional conditions are met). If you have several documents protected with the same password, youíll be able to use the same fake password to unlock all of them. The fake password is likely to contain very exotic character combinations and if you make a mistake typing it you wonít be able to use it. Therefore, fake passwords should be typed very accurately (better use the clipboard).
Sometimes it is possible to modify the password protected document in such a way that the document becomes unlocked and the password is not required anymore (remove password). Another option is to modify the document so it will be possible to use a known password (reset the password to known one).
Brute Force Attack is the most widely known password cracking method. This attack simply tries to use every possible character combination as a password. To recover a one-character password it is enough to try 26 combinations (Ďaí to Ďzí). It is guaranteed that you will find the password.. but when? How long will it take? The two-character password will require 26*26=676 combinations. The number of possible combinations (and therefore required time) grows rapidly as the length of the password increases and this method quickly becomes useless. Do you ready to wait for two months while your 9-character password is cracked? What about one hundred years for an 11-character password? Besides the maximal length of the character set you should also specify the character set i.e. the list of characters that will be included in the combinations. The longer the character set is, the longer the required period of time is. Here is the problem: usually you have no idea of what characters are present in the password. On the one hand, you should specify all possible characters. On the other hand, this can slow things down very much. Unfortunately, there are no common ways to determine what character set to use. It is more a question of luck and intuition. The only thing I can recommend is to begin with trying short passwords using the full character set. Then you can increase the length of password simultaneously decreasing the character set to keep the required time good acceptable.
If the password is case sensitive (this is the most common situation), there is another problem with the case.
There are three options:
1) you can assume that the password was typed in lower case (this is most likely). In this case, the required time will stay the same but if the password contains upper case letters it will not be recovered.
2) you can try all combinations.
The password is guaranteed to be found, but the process slows down significantly. A 7-character lower case password requires about 4 hours to be recovered but if you would like to try all combinations of upper case and lower case letters, it will require 23 days. 3) The third method is trade-off. Only the most probable combinations are taken into consideration, for example "password", "PASSWORD" and "Password". The complicated combinations like "pAssWOrD" are not. In this particular case the process slows down to one third of original speed but there is still a possibility to fail.
You can reduce the amount of time required using faster computers (only the CPU speed is important. The amount of RAM, the performance of the hard drive and other hardware donít affect the brute force speed), using several computers, choosing the fastest password crackers or tuning the brute force parameters wisely and accurately.
You can use our Password Calculator software to estimate the time required for Brute Force Attack.
The table below shows the time required for Brute Force Attack depending on the password length and used character set. It is assumed that the attack is carried out on a single computer and the brute force speed is 500 000 passwords per second.
Bear in mind that the time shown above is the worst possible time. Brute Force Attack tries all password combinations and you donít know which one of them is correct. If youíre lucky enough, the first combination will succeed. If not, the correct combination will be tried last.
If you are not afraid of formulas: the required time is equal to (C^L) / S / N, where C is the length of the character set, L is the length of the password, S is the number of password checked per second, and N is the number of computers used in password recovery.
Important Note: our software is highly optimized and most of it works faster that than our competitorsí software. Nevertheless, the amount of time required grows rapidly as the length of the password increases and that renders Brute Force Attack useless for recovering long passwords. This is the fundamental problem. Our competitorsí software is not able to recover long passwords either. Fortunately, in many cases more efficient recovery methods can be applied such as Guaranteed Recovery.
Recommended Article: Universal Password Recovery Methods
Dictionary Attack uses a dictionary. Password Crackers will try every word from the dictionary as a password. A good dictionary (also known as a word list) is more than just a dictionary, e.g. you will not find the word "qwerty" in the ordinary dictionary but it will surely be included into a good word list. Indeed, this combination of characters is commonly used as a password.
Dictionary Attack is usually quite fast. Noticeable delays are possible only if the dictionary is very large. However, the password can be recovered only in case it is present in the dictionary. The probability that this assumption is true is not, in fact, high. Nevertheless, since Dictionary Attack doesnít take much time, it is recommended to try it before proceeding to the slow Brute Force Attack.
There is a variant of this method called Hybrid Dictionary Attack that significantly increases the probability of success. In this case, the password cracker checks all words in the dictionary along with its variations. These can be, for example, the same words with different digits appended to them. Hybrid Dictionary Attack is noticeably slower than Dictionary Attack (for example, if the variations include words with two digits appended to them, then the process is 100 times slower. In case of 4 digits appended, it is 10 000 times slower).
Recommended Article: Universal Password Recovery Methods
Smart Force Attack is the advanced Brute Force Attack. This method assumes that the password being recovered consists of letters only and this combination of letters is meaningful. Smart Force Attack is based on the statistical tables built by means of analyzing of a large amount of texts. Smart Force Attack can save your time because it doesnít test meaningless combinations of letters. The effectiveness of Smart Force Attack can be compared to that of Dictionary Attack with a very large dictionary. Smart Force Attack will not find passwords that contain digits or other non-alpha characters. Also it doesnít work with machine-generated "random" passwords. Moreover, there is a possibility that Smart Force Attack will not recover a meaningful password. Nevertheless, Smart Force Attack can check passwords up to 11 characters in length in a reasonable amount of time. Brute Force Attack is useless in such cases.
If youíre not afraid of formulas: the rough estimation of time required is ((C*X/26)^L) / S / N, where C is the length of the characters et, X is the SmartForce level, L is the length of the password, S is the speed of recovery (the number of passwords processed per second) and N is the number of computers used for recovery.
This method can be used for recovering password protected ZIP-archives. It can be used only if the archive contains several files and at least one of them is available to the user. E.g. the archive contains several Word documents and the user has a copy of one of them unpacked, or the archive contains an executable and several DLLs and among them there are standard DLLs which can be found unencrypted.
Guaranteed Recovery was developed by LastBit Corp. in 1999. The unique feature of Guaranteed Recovery is the ability to recover any documents in an acceptable amount of time no matter how long the password is. LastBit Corp. was the first company to offer the solution for guaranteed recovery of password protected Word and Excel documents. The users of our password recovery tools are insured against failures and money losses.
In 2004 we developed an improved technology called Express Recovery (see below) that reduced the time required to 2 minutes.
Guaranteed Recovery can be used for Word and Excel documents protected with a password to open. Guaranteed Recovery doesnít work with old versions of Word and Excel (through Office 95) or French versions of them. In this case it is not needed because the password can be recovered instantly. Guaranteed Recovery doesnít work with documents protected using the Advanced Encryption feature available in Office XP and 2003. You can use Express Recovery to recover Office XP, 2003 documents only if they were saved in the default (Office 97/2000 compatible) encryption mode. If the document was saved in the advanced encryption mode, Guaranteed Recovery will not work. Unfortunately, in this case only traditional recovery methods can be applied such as Dictionary Search or Brute Force Attack.
If youíre curious: Guaranteed Recovery is the special sort of Brute Force Attack. Formerly in the USA there were serious legislative limitations on the exporting of strong encryption algorithms. Only encryption algorithms with key length up to 40 bit could be exported freely. Thatís why Microsoft limited the strength of the Office encryption to 40 bit. Guaranteed Recovery performs a brute force attack on the internal 40 bit key instead of the original password. The 40 bit key length means that there are only 2^40 (about a trillion) possible combinations. It is possible to test them all in a reasonable amount of time. However this is a very calculation intensive task for a single computer so it is performed in our data center.
Guaranteed Recovery Peculiarities
Express Recovery is an improvement over Guaranteed Recovery. In fact from the point of view of the user the only difference is that Express Recovery requires only one minute to recover the document! Besides this, some Excel documents (about 3% of all documents) are impossible to recover using Express Recovery. In this case Guaranteed Recovery should be used instead.
Often the problem with the password is that it was typed incorrectly. The user can make a mistake or type the password with CAPS LOCK turned on. Moreover, the user often remembers the approximate appearance of the password but fails to recall it in detail. In this case we can take the approximate password and test every possible variant, such as case changes (password -> PASSWORD, Password, PAssword, pASSWORD etc), omission of one of the characters, doubling characters, inserting or replacing the character with the neighboring characters and so on. Usually the number of combinations is not very large and it is possible to test them all in a little time.
Automatic Mode is not an independent recovery method. We tried to make the recovery process easier and save users from the need to adjust a huge number of parameters. Automatic Mode consecutively uses Dictionary Attack, Brute Force Attack and Smart Force Attack with different settings. We tried to tune these settings in the best way possible. Automatic Mode is the best option for users who donít want to go deeply into the peculiarities of password recovery and adjust all parameters manually.
Copyright (C) 1997 - 2012 LastBit Corp. All rights reserved.