What is the main difference between malware and ransomware?

  • AMalware only affects hardware; ransomware affects software
  • BMalware is malicious software; ransomware encrypts files and demands payment
  • CMalware requires payment; ransomware does not
  • DThey are identical
Show answerHide answer

Correct answer B

Malware is any software designed to harm or exploit a computer system. Ransomware is a type of malware that encrypts files and demands payment to unlock them. Not all malware is ransomware; some just spy, delete, or slow down systems. Ransomware specifically targets user data for extortion. Understanding the difference helps in cybersecurity defense and response.