A computer virus is a malicious program or type of code designed to disrupt the way a computer functions. Viruses are written to spread from one computer to another and to self-replicate. A computer virus works by attaching itself to a legitimate document or program to activate the infected code. If activated, the virus can damage software, corrupt data, or destroy information.
What Is a Computer Virus?
SafeWise experts have years of firsthand experience testing the products we recommend. Learn how we test and review.
By signing up, you agree to our Terms and Conditions and Privacy Policy.
How do computer viruses attack?
Computer viruses remain dormant until their code is activated. This means viruses can lie in wait—attached to a file or document—until you run the infected program. While the virus is dormant, it can be difficult to detect. But once your computer is infected, any other devices on the same network are also vulnerable to infection.
The amount of devastation varies from virus to virus, but some of the most common things a virus can do are listed below.
- Log keystrokes
- Steal passwords
- Send spam email (with infected code) to your contacts
- Access and steal data
- Corrupt files
- Completely take over your computer
Some computer viruses are designed to create mischief (like turning all of your files into pictures of squid), which is irritating, but usually manageable. But other viruses target financial data or aim to destroy your hard drive.
Compare the best internet security products
Amazon.com price as of post date. Offers and availability may vary by location and are subject to change. Read full disclaimer.
*First year only. Regular price $99.48/yr.
**First year only. Regular price $59.99/yr.