Security

A compliance audit of /etc/shadow on a Linux server finds password hashes that begin with four different prefixes. Which prefix indicates a weak hashing algorithm that should be replaced?

Show the answer

Correct answerB. $1$ (MD5)

The $1$ prefix marks MD5-based crypt, which is fast to brute-force and cryptographically broken, so it should be replaced. The $5$ prefix is SHA-256 crypt; it is older than yescrypt but is not considered broken.