🦠 Hardware & Cyber Safety

Computer Viruses & Protection

⏱ 2 hr3 topicsInteractive
🎯 By the end: You can define a computer virus, tell it apart from worms/trojans/spyware, recognise infection symptoms, explain how malware spreads, and list protective measures.

Just as people catch a cold, computers can catch a virus — a harmful program. This chapter explains the kinds of harmful software (malware) and, most importantly, how to protect yourself.

1Viruses & types of malware

A computer virus is a harmful program that attaches itself to files and spreads, damaging data or disrupting the computer. (Some say VIRUS stands for Vital Information Resources Under Siege.) Viruses are one type of malware (malicious software):

MalwareWhat it does
VirusAttaches to a file; spreads when that file runs; damages data
WormSpreads by itself across networks — no host file needed
Trojan HorsePretends to be useful software but harms you once run
SpywareSecretly watches you and steals information
Key difference: a virus needs a host file and a user to run it; a worm spreads on its own; a trojan tricks you by pretending to be safe.
Key points
  • A virus attaches to files and spreads, damaging data; it's a type of malware.
  • A worm spreads by itself; a trojan pretends to be useful but harms you; spyware secretly steals information.
  • A virus needs a host file and a user to run it; a worm doesn't.

2Symptoms & how they spread

Signs a computer may be infected:

  • Runs much slower than usual or crashes often.
  • Strange pop-ups, messages or new programs you didn't install.
  • Files go missing, change or won't open.
  • Antivirus or settings get turned off by themselves.

How malware spreads

RouteExample
Email attachmentsOpening an infected file from an unknown sender
Infected storagePlugging in an infected pen drive
Unsafe downloadsDownloading from untrusted websites
Key points
  • Symptoms: slowdowns/crashes, strange pop-ups or unknown programs, missing/changed files, settings disabled.
  • Malware spreads via email attachments, infected storage drives, and unsafe downloads.
  • Never open attachments or plug in drives from unknown sources.

3Antivirus & prevention

Antivirus software protects a computer by scanning files, detecting known malware (from its virus database) and removing or quarantining it. Examples: Windows Defender, Avast, McAfee, Norton, Quick Heal, Kaspersky.

Antivirus must be updated regularly — new viruses appear daily, and only an up-to-date virus database can catch them.

Prevention best-practices

  • Install and update antivirus; keep the OS & apps updated.
  • Don't open unknown email attachments or links.
  • Scan pen drives before use; download only from trusted sites.
  • Use strong passwords and a firewall; back up important files.
Key points
  • Antivirus software scans, detects and removes/quarantines malware using its virus database.
  • Keep antivirus UPDATED — new viruses appear daily and only an updated database catches them.
  • Prevent infection: avoid unknown attachments, scan drives, download from trusted sites, and back up files.

★ Practical: stay virus-safe

Answer in your own words:

  1. Give one difference between a virus and a worm.
  2. List three symptoms that a computer might be infected.
  3. Name one antivirus program and say why it must be updated.
  4. Write three habits that prevent malware infections.

Ready for the chapter test?

Answer 5 questions. Score 60% or more to mark this chapter complete.

Start the test →

💡 Log in to save your progress and earn the certificate.