Computer viruses can damage systems in several ways, both intentionally and unintentionally. Intentionally, viruses may delete or modify files, grant hackers unauthorized access through backdoors, or disclose confidential data. Unintentionally, viruses can cause compatibility issues, consume computer resources, and increase the workload of IT support staff through infections. There are many types of viruses including boot sector viruses, web scripting viruses, browser hijackers, resident viruses, polymorphic viruses, worms, Trojans, rootkits, and ransomware. Ransomware encrypts users' files and demands payment for decryption, while recent attacks like WannaCry have impacted hundreds of thousands of systems globally.