nerdexam
EC-Council

312-50V9 · Question #410

How can rainbow tables be defeated?

The correct answer is A. Password salting. Password salting defeats rainbow table attacks by appending a unique random value to each password before hashing, making precomputed hash lookups useless.

System Hacking

Question

How can rainbow tables be defeated?

Options

  • APassword salting
  • BUse of non-dictionary words
  • CAll uppercase character passwords
  • DLockout accounts under brute force password cracking attempts

How the community answered

(46 responses)
  • A
    93% (43)
  • B
    2% (1)
  • D
    4% (2)

Why each option

Password salting defeats rainbow table attacks by appending a unique random value to each password before hashing, making precomputed hash lookups useless.

APassword saltingCorrect

Rainbow tables are precomputed tables mapping hash values back to plaintext passwords. Salting adds a unique random string to each password before it is hashed, so even identical passwords produce different hashes. This means an attacker would need a separate rainbow table for every possible salt value, which is computationally infeasible.

BUse of non-dictionary words

Non-dictionary words help against dictionary attacks but not rainbow tables, which can contain hashes of arbitrary strings including non-dictionary words if the table is large enough.

CAll uppercase character passwords

Using all uppercase characters merely reduces the character set and does not prevent rainbow table lookups since tables can be built for any character set.

DLockout accounts under brute force password cracking attempts

Account lockout policies mitigate online brute force attacks but are irrelevant against rainbow table attacks, which are performed offline against stolen hash databases.

Concept tested: Defeating rainbow table attacks with password salting

Source: https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html

Topics

#rainbow tables#password salting#password cracking#hash attacks

Community Discussion

No community discussion yet for this question.

Full 312-50V9 Practice