Malware is software designed by cybercriminals to damage or destroy computers, leak private information, gain unauthorized access to accounts and more. Common types of malware include ransomware, viruses and spyware.