Viruses are a type of malware (malicious software) that is capable of spreading to other computer files, programs and systems with the intent to do damage. A virus is designed to replicate itself by modifying existing programs and files on your machine and inserting its own code.