A rainbow table attack is a password cracking method that uses a special table (a “rainbow table”) to crack the password hashes in a database. Applications don't store passwords in plaintext, but instead encrypt passwords using hashes.