CompTIA PenTest+ (PT0-002) — Question 119
User credentials were captured from a database during an assessment and cracked using rainbow tables Based on the ease of compromise, which of the following algorithms was MOST likely used to store the passwords in the database?
Answer options
- A. MD5
- B. bcrypt
- C. SHA-1
- D. PBKDF2
Correct answer: A
Explanation
MD5 is known for its weak security and fast processing speed, making it susceptible to attacks like rainbow table cracking. In contrast, bcrypt, SHA-1, and PBKDF2 are designed to be more secure and resistant to such compromises, generally taking longer to crack.