- Ethical Hacking Tutorial
A rainbow table is a hash function that is widely used in cryptography for storing various bits of important data inside a database. Such important data might be passwords or sensitive personal. Windows Password Recovery - rainbow table generator. Rainbow tables are special search tables used for reversing cryptographic One-Way Functions and cracking plaintext passwords derived from the hash functions. An example of such hashes would be a user password (LM or NTLM hashes) in the Windows OS. Windows Password Recovery has the password lookup implementation using rainbow tables. The tables it requires can be downloaded off the Internet or created manually with the RT generation tool. Ophcrack looks at the beginning of the table to see which rainbow table it is (or user inputted).index. Chain offset (4 bytes).start. Start point (4 bytes) Generated from sequential start points also check points are stored here if there are any but all the free tables do not have check points. Online Rainbow Cracking: To make the game eaiser, lot of websites ( including free as well as commericial ) offer free online rainbow cracking service. These organizations have setup huge database of rainbow tables for all keysets on their high end machines.
- Ethical Hacking Useful Resources
- Selected Reading
We have passwords for emails, databases, computer systems, servers, bank accounts, and virtually everything that we want to protect. Passwords are in general the keys to get access into a system or an account.
In general, people tend to set passwords that are easy to remember, such as their date of birth, names of family members, mobile numbers, etc. This is what makes the passwords weak and prone to easy hacking.
One should always take care to have a strong password to defend their accounts from potential hackers. A strong password has the following attributes −
Contains at least 8 characters.
A mix of letters, numbers, and special characters.
A combination of small and capital letters.
Dictionary Attack
In a dictionary attack, the hacker uses a predefined list of words from a dictionary to try and guess the password. If the set password is weak, then a dictionary attack can decode it quite fast.
Hydra is a popular tool that is widely used for dictionary attacks. Take a look at the following screenshot and observe how we have used Hydra to find out the password of an FTP service.
Hybrid Dictionary Attack
Hybrid dictionary attack uses a set of dictionary words combined with extensions. For example, we have the word “admin” and combine it with number extensions such as “admin123”, “admin147”, etc.
Crunch is a wordlist generator where you can specify a standard character set or a character set. Crunch can generate all possible combinations and permutations. This tool comes bundled with the Kali distribution of Linux.
Brute-Force Attack
Online Rainbow Table Cracker
In a brute-force attack, the hacker uses all possible combinations of letters, numbers, special characters, and small and capital letters to break the password. This type of attack has a high probability of success, but it requires an enormous amount of time to process all the combinations. A brute-force attack is slow and the hacker might require a system with high processing power to perform all those permutations and combinations faster.
John the Ripper or Johnny is one of the powerful tools to set a brute-force attack and it comes bundled with the Kali distribution of Linux.
Rainbow Tables
A rainbow table contains a set of predefined passwords that are hashed. It is a lookup table used especially in recovering plain passwords from a cipher text. During the process of password recovery, it just looks at the pre-calculated hash table to crack the password. The tables can be downloaded from http://project-rainbowcrack.com/table.htm
RainbowCrack 1.6.1 is the tool to use the rainbow tables. It is available again in Kali distribution.
Quick Tips
Free Rainbow Table Download
Don’t note down the passwords anywhere, just memorize them.
Set strong passwords that are difficult to crack.
Use a combination of alphabets, digits, symbols, and capital and small letters.
Don’t set passwords that are similar to their usernames.