Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
CompTIA CySA+ Cybersecurity Analyst · CompTIA
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
B is the right answer Explanation A hash collision occurs when two different inputs produce the same hash output. MD5 (Message Digest Algorithm 5) is known to be vulnerable to collisions, meaning attackers can create different files that result in the same MD5 hash. This can lead to security risks, as the system may wrongly accept a malicious file if it has the same hash as a legitimate one. To mitigate this vulnerability, replacing the MD5 hash algorithm with a stronger hash function, like SHA-256 (part of the SHA-2 family), is an effective solution. SHA-256 is much more resistant to collisions, making it harder for an attacker to forge a file that matches the hash of a legitimate one.
SHA-256 is collision attacks resistant
Replacing MD5 with digital signatures is a significant change that involves implementing a different authentication mechanism, but with SHA-256 is more straightforward and effective solution to mitigate the vulnerability while minimizing disruption to the current system.