What Is a Computer Virus?

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.

Master your smart devices with our weekly newsletter
Sign up to get the latest smart home tips and reviews directly in your inbox.

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 identity theft protection services

Best comprehensive Best individual coverage Best family coverage Best budget pick Best insurance coverage
Brand
Identity Force Logo 2019IdentityForce
ReliaShieldReliaShield
Identity GuardIdentity Guard
ZanderZander
LifeLockLifeLock
Starting price

$9.99/mo.

$7.19/mo.

$6.67/mo.

$6.75/mo.

$8.99/mo.

Recovery insurance

$1 million

$1 million

$1 million

$1 million, lost wages up to $30k

$1 million, reimbursement up to $1 million

Family plan
Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon No  Light

No

Dark-web monitoring
Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon Yes  Light

Yes

Credit monitoring available
Icon Yes  LightYes
Icon Yes  Light

Yes

Icon Yes  LightYes
Icon No  Light

No

Included w/ base plan

*Amazon.com price as of 4/8/2021 at 9:10 a.m. (MT). Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply to the purchase of this product. Safewise.com utilizes paid Amazon links.

Rebecca Edwards
Written by
Rebecca Edwards
Rebecca is the lead safety reporter and in-house expert for SafeWise.com. She has been a journalist and blogger for over 25 years, with a focus on home and community safety for the past eight. Rebecca spends dozens of hours every month poring over crime reports and spotting trends. Her safety expertise is sought after by publications, broadcast journalists, non-profit organizations, podcasts, and more. You can find her expert advice and analysis in places like TechCrunch, The Washington Post, The Chicago Tribune, The Miami Herald, NPR, HGTV, MSN, Reader's Digest, Real Simple, and an ever-growing library of radio and TV clips.

Recent Articles

Neighbourhood homes in the United Kingdom
The Best Home Alarm Systems in the UK
Find the right alarm system to protect your UK home. SafeWise recommends security systems for...
couple sitting on floor with moving boxes and a dog
Best Home Security Systems for Renters
These renter-friendly home security systems keep your house or apartment safe and require less commitment...
Large craftsman style house at twilight with lights on
Best Home Security Systems of 2021
After hundreds of hours of tests and research, plus a combined 50+ years of experience,...
SimpliSafe UK Home Alarm Review
SimpliSafe combines the convenience of DIY purchase and installation with the comfort of professional monitoring....