Locks your files and demands a "ransom" payment to give them back.

Once active, a virus might do anything from showing annoying messages to deleting your entire operating system. 3. Key Differences: Virus vs. Malware

When you run the infected program or open the infected file, the virus code executes.