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.

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.
| Type | How it works | What it is after |
|---|---|---|
| Virus | Attaches to files or programs and spreads when they are opened or shared | Varies: damaging files, spreading further |
| Worm | Copies itself across networks without anyone opening a file | Spreading fast, often slowing or crashing systems |
| Trojan | Pretends to be something useful, such as a free game, "cracked" app or fake update | Opening the door for other malware or remote control |
| Ransomware | Locks or encrypts files and demands payment | Money; sometimes also steals data and threatens to publish it |
| Spyware and infostealers | Quietly records activity or harvests saved passwords and browser data | Accounts, banking details, personal information |
| Adware | Floods a device with ads or redirects searches | Advertising 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:
- Turn on automatic updates for your operating system, browser and apps. Most attacks use holes that patches have already closed.
- 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.
- 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.
- Use strong, unique passwords and multi-factor authentication, especially for email, which is the key to resetting everything else. See password security basics.
- Pause before clicking. Unexpected attachments, urgent warnings and "too good to be true" downloads are the main warning signs.
- 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:
- 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.
- Stop logging in to sensitive accounts such as banking or email from that device.
- Update your security software and run a full scan. Follow its instructions to remove what it finds.
- Change passwords from a different, clean device, starting with email, and turn on multi-factor authentication.
- 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.
- 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.
Recommended resources
- CISA: Protecting Against Malicious Code — Plain-language definitions of viruses, worms and trojans with prevention and recovery steps. Free (Cybersecurity and Infrastructure Security Agency).
- StopRansomware.gov — The federal government's one-stop ransomware resource, with prevention guides and reporting information. Free (CISA and federal partners).
- CISA: Cybersecurity Best Practices — Guidance on updates, passwords, multi-factor authentication and other basics for individuals and organizations. Free.
- FTC: Malware — How to protect against, detect and remove malware, written for consumers. Free (Federal Trade Commission).
- FTC: How to Spot a CAPTCHA Scam — A 2026 alert explaining fake "verify you are human" pages that trick people into running malware. Free.
- ReportFraud.ftc.gov — Report scams, fake tech support and malicious pop-ups to the FTC. Free; no account needed.
- FBI Internet Crime Complaint Center (IC3) — Report internet crime, including ransomware and fraud, and read public service announcements. Free.
- NIST: Guide to Malware Incident Prevention and Handling (SP 800-83) — A technical federal guide for older students and IT staff on preventing and responding to malware. Free PDF.
- National Cybersecurity Alliance — A nonprofit offering practical security tips for families, students and older adults. Free.
- NCSC: Top Tips for Staying Secure Online — Clear advice for individuals and families from the U.K.'s national cybersecurity agency. Free.
- FBI: The Morris Worm — The FBI's account of the 1988 worm and the first conviction under the Computer Fraud and Abuse Act. Free.
Sources
- Protecting Against Malicious Code, Cybersecurity and Infrastructure Security Agency (CISA)
- Malware: How To Protect Against, Detect, and Remove It, Federal Trade Commission
- How to spot a CAPTCHA scam, Federal Trade Commission
- Morris Worm, Federal Bureau of Investigation
- malware (glossary), National Institute of Standards and Technology
- Top tips for staying secure online, National Cyber Security Centre (UK)


