Browse Definitions:

rainbow table

Contributor(s): Matthew Haughn

A rainbow table is a listing of all possible plaintext permutations of encrypted passwords specific to a given hash algorithm.

Rainbow tables are often used by password cracking software for network security attacks. All computer systems that require password-based authentication store databases of passwords associated with user accounts, typically encrypted rather than plaintext as a security measure.  

Once an attacker gains access to a system’s password database, the password cracker compares the rainbow table’s precompiled list of potential hashes to hashed passwords in the database. The rainbow table associates plaintext possibilities with each of those hashes, which the attacker can then exploit to access the network as an authenticated user.

Rainbow tables make password cracking much faster than earlier methods, such as brute-force cracking and dictionary attacks. Depending on the particular software, rainbow tables can be used to crack 14-character alphanumeric passwords in about 160 seconds. However the approach uses a lot of RAM due to the large amount of data in such a table.

Rainbow tables have only become viable recently because the amount of available RAM in older computers was inadequate. A single rainbow table for a standard alphanumeric file is close to 4 gigabytes (GB). Adding symbols to the mix increases the amount of memory required, as does each step up in encryption.

To protect against attacks using rainbow tables, system administrators should add security measures to password encryption, such as the addition of randomly generated  characters (salt) to password hashes and avoiding the use of outdated password hashing algorithms.

This was last updated in January 2015

Continue Reading About rainbow table

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

The basis of rainbow tables is a reduction function that generates chains (containing starting and ending index values only) that are stored in a table. It is NOT a pre-computation of all possible plaintext to hash values...hence why rainbow tables are considered a time-memory trade-off problem to cracking hashes. Please look at Philippe Oechslin's paper on this topic.


Extensiones de Documento y Formatos de Documento

Accionado por:


  • risk map (risk heat map)

    A risk map, also known as a risk heat map, is a data visualization tool for communicating specific risks an organization faces. A...

  • internal audit (IA)

    An internal audit (IA) is an organizational initiative to monitor and analyze its own business operations in order to determine ...

  • pure risk (absolute risk)

    Pure risk, also called absolute risk, is a category of threat that is beyond human control and has only one possible outcome if ...


  • cloud ecosystem

    A cloud ecosystem is a complex system of interdependent components that all work together to enable cloud services.

  • cloud services

    Cloud services is an umbrella term that may refer to a variety of resources provided over the internet, or to professional ...

  • uncloud (de-cloud)

    The term uncloud describes the action or process of removing applications and data from a cloud computing platform.


  • federated identity management (FIM)

    Federated identity management (FIM) is an arrangement that can be made among multiple enterprises to let subscribers use the same...

  • cross-site scripting (XSS)

    Cross-site scripting (XSS) is a type of injection security attack in which an attacker injects data, such as a malicious script, ...

  • firewall

    In computing, a firewall is software or firmware that enforces a set of rules about what data packets will be allowed to enter or...




  • bad block

    A bad block is an area of storage media that is no longer reliable for storing and retrieving data because it has been physically...

  • all-flash array (AFA)

    An all-flash array (AFA), also known as a solid-state storage disk system, is an external storage array that uses only flash ...

  • volume manager

    A volume manager is software within an operating system (OS) that controls capacity allocation for storage arrays.


  • hybrid hard disk drive (HDD)

    A hybrid hard disk drive is an electromechanical spinning hard disk that contains some amount of NAND Flash memory.