Re-Quest Search

SAFInternet Safety

Computer Viruses and Malware: A Plain-English Guide to Staying Safe

Viruses, worms, trojans and ransomware explained: how infections happen, the habits that prevent them, and what to do step by step if a device is infected.

Published 6 min readBy Re-Quest

Rows of old black and grey 3.5-inch floppy disks laid out in an overlapping grid
Image: kevberon, Pixabay Content License

Suppose a pop-up on a homework site says your laptop is infected and tells you to call a number right away. Or a web page that looks like a "prove you are human" check asks you to press a few keys and paste something. Is this real? What should you do?

"Computer virus" has become the everyday name for almost any harmful software, but the threats people actually meet today are a broader family called malware. This guide explains the main kinds in plain English, how devices get infected, the handful of habits that prevent most problems, and a calm, step-by-step plan if something goes wrong.

Malware, viruses and the rest of the family

NIST, the federal standards agency, defines malware broadly as software or firmware intended to perform an unauthorized process that harms the confidentiality, integrity or availability of a system. In practice, the names describe how a program spreads or what it does.

TypeHow it worksWhat it is after
VirusAttaches to files or programs and spreads when they are opened or sharedVaries: damaging files, spreading further
WormCopies itself across networks without anyone opening a fileSpreading fast, often slowing or crashing systems
TrojanPretends to be something useful, such as a free game, "cracked" app or fake updateOpening the door for other malware or remote control
RansomwareLocks or encrypts files and demands paymentMoney; sometimes also steals data and threatens to publish it
Spyware and infostealersQuietly records activity or harvests saved passwords and browser dataAccounts, banking details, personal information
AdwareFloods a device with ads or redirects searchesAdvertising revenue, sometimes as a step toward worse

CISA's guidance makes the same basic distinctions: viruses can damage or destroy files, worms spread themselves from computer to computer, and trojan horses hide harmful code inside programs that look legitimate. For tools that spy on a person rather than a device, see our guide to spyware and stalkerware.

A brief history: from campus prank to criminal business

Early self-copying programs were experiments and pranks. The turning point in public awareness came on November 2, 1988, when a program now known as the Morris worm spread across the young internet. According to the FBI's history of the case, it hit an estimated 6,000 of the roughly 60,000 computers then connected, slowing university and military systems for days. Its author became the first person convicted under the 1986 Computer Fraud and Abuse Act, and the government created the country's first computer emergency response team within days.

Today most malware is a business. Criminal groups sell ransomware "services," rent out networks of infected machines and trade stolen passwords. That is why the most common attacks rely on tricking people rather than on clever code.

How infections usually happen

  • Phishing messages. Emails, texts and direct messages with links or attachments that install malware or steal passwords. Our guide on recognizing phishing covers the warning signs.
  • Fake warnings and tech-support scams. Pop-ups claiming your device is infected, urging you to call a number or install "cleaning" software. These descend from older pop-up spam; see pop-up spam, then and now.
  • Fake "verify you are human" pages. In June 2026 the FTC warned about pages that mimic a CAPTCHA but instruct visitors to press keys that open a command box, paste hidden text and run it, installing malware. A real CAPTCHA never asks you to run commands.
  • Pirated software, game cheats and "free" downloads from unofficial sites, a classic route for trojans.
  • Out-of-date software. Attackers exploit known security holes that updates have already fixed.
  • Infected USB drives and files shared from unknown sources.

Safety: Young children should install apps and games only with an adult, from the official app store or the developer's own site. Agree as a family that no one types in commands, disables security software or calls a number because a pop-up says so; they come and ask first. Never pay a ransom or "fee" demanded on screen.

Habits that prevent most problems

Government security agencies in the U.S. and U.K. give remarkably consistent advice:

  1. Turn on automatic updates for your operating system, browser and apps. Most attacks use holes that patches have already closed.
  2. Use security software and keep it updated. Modern operating systems include built-in protection; make sure it is switched on. Download any additional security product directly from the vendor's own website.
  3. Back up important files, including schoolwork and photos, to an external drive or cloud service, and keep at least one copy disconnected so ransomware cannot reach it.
  4. Use strong, unique passwords and multi-factor authentication, especially for email, which is the key to resetting everything else. See password security basics.
  5. Pause before clicking. Unexpected attachments, urgent warnings and "too good to be true" downloads are the main warning signs.
  6. Use an everyday account without administrator rights where possible, so malware cannot change the whole system as easily.

Try it: Spend ten minutes on a "security checkup" for one device. Check that automatic updates are on, that built-in security protection is enabled, when your last backup ran, and whether your email account has multi-factor authentication. Write down anything you need to fix.

Signs of infection and what to do

The FTC lists common warning signs: a device that suddenly slows down, crashes or shows repeated error messages; a browser home page or search engine that changes on its own; new toolbars or extensions you did not install; unexpected pop-ups; and messages or posts sent from your accounts that you did not write.

If you suspect malware, follow these steps, which combine FTC and CISA guidance:

  1. Disconnect from the internet (turn off Wi-Fi or unplug the cable) to stop data leaving and limit spread. At school or work, tell the IT team immediately.
  2. Stop logging in to sensitive accounts such as banking or email from that device.
  3. Update your security software and run a full scan. Follow its instructions to remove what it finds.
  4. Change passwords from a different, clean device, starting with email, and turn on multi-factor authentication.
  5. Restore or reinstall if needed. If the problem persists, restore from a clean backup or reinstall the operating system, which usually erases everything on the device; this is where backups pay off.
  6. Report it. Report scams and malicious pop-ups to the FTC at ReportFraud.ftc.gov, and cybercrime involving financial loss to the FBI's Internet Crime Complaint Center (IC3). Organizations hit by ransomware can also contact CISA.

Checklist: Updates on. Security protection on. Recent backup, one copy offline. Unique passwords and multi-factor authentication on email. Downloads only from official sources. A family rule to ask before acting on any pop-up.

Sources

  1. Protecting Against Malicious Code, Cybersecurity and Infrastructure Security Agency (CISA)
  2. Malware: How To Protect Against, Detect, and Remove It, Federal Trade Commission
  3. How to spot a CAPTCHA scam, Federal Trade Commission
  4. Morris Worm, Federal Bureau of Investigation
  5. malware (glossary), National Institute of Standards and Technology
  6. Top tips for staying secure online, National Cyber Security Centre (UK)