Skip to content

Computer Viruses and Security – SS2 Computer Hardware & GSM Repair Lesson Note (Third Term)

Lesson note at a glance

Class
SS2
Subject
Computer Hardware & GSM Repair
Term
Third Term
Reading time
6 min
Start of this note, 3 of 8
Take this term’s notes offline
Reading here is free. Download all 8 SS2 Computer Hardware & GSM Repair Third term notes as PDF to print and Word to edit.
Download all three terms, ₦2,000
Instant download. Secure payment by Paystack. Card, bank transfer, USSD or OPay. Payment stuck? WhatsApp us.

A computer virus is a hidden program or piece of code, written by a hacker, that spreads from one computer to another and causes trouble.

Behavioural objectives

By the end of the lesson, students should be able to:

Advertisement
  1. explain what a computer virus is and state what it is written to do;
  2. describe the virus, worm, Trojan horse, ransomware and spyware;
  3. state four ways a computer gets infected;
  4. identify the symptoms of an infected computer;
  5. list ways to prevent infection and say what to do if a computer is infected;
  6. name popular antivirus tools and say what each is used for.

What is a computer virus?

A computer virus is a hidden program or piece of code written by a person (a hacker) to cause trouble on a computer.

  • Not a germ: a computer virus is software and cannot make a person ill.
  • Host: a flu virus needs a human body to spread, and a computer virus needs a host such as a flash drive or an email attachment.
  • Hacker: a person who breaks into computers or writes harmful code.
  • Malware: short for “malicious software”, the name for all harmful programs, including viruses.

What are the goals of a computer virus?

A virus is usually written for one of three goals: to annoy, to destroy or to steal.

  1. To annoy: showing pop-up ads or changing your wallpaper.
  2. To destroy: deleting your school projects or corrupting Windows.
  3. To steal: copying your passwords or bank details.

What are the common types of malware?

There are five common types of malware: virus, worm, Trojan horse, ransomware and spyware.

Not every “sick” computer has a virus, so students must know each type.

Virus

  • How it works: it attaches itself to a file such as a photo or a song.
  • When it starts: when you open the file, the virus “wakes up” and starts copying itself.

Worm

  • How it works: it does not need you to open a file.
  • How it spreads: it “crawls” through the internet or a local network to find other computers to infect.
Advertisement

Trojan horse

  • Name: it is named after the wooden horse in the Greek story of Troy.
  • How it works: it looks like a helpful program, such as a free game or a fake “speed booster”.
  • Danger: once you install it, it lets a hacker into your computer.

Ransomware

  • How it works: it locks your files with a secret code.
  • Demand: it asks you to pay money (a ransom) to get the files back.

Spyware

  • How it works: it hides in the background and watches what you do.
  • What it steals: things you type, such as social media or bank passwords.

How does a computer get infected?

A computer gets infected through an “open door”, and there are four common doors.

  1. Infected flash drives: plugging a friend’s USB drive into your laptop without scanning it is a common way viruses spread in schools.
  2. Email attachments: opening a file from a stranger that says “You won a prize!” or “Urgent Invoice”.
  3. Pirated software: downloading “cracked” games or movies from unofficial websites, which often come with hidden Trojans.
  4. Fake websites: clicking banners that say “Your computer is infected! Click here to fix it!”.

What are the symptoms of an infected computer?

The symptoms of an infected computer are slow speed, missing files, strange pop-ups, self-starting apps and frequent crashes.

  • The “snail” speed: the computer suddenly becomes very slow for no reason.
  • Disappearing files: your assignment is gone or renamed to strange symbols.
  • Strange pop-ups: ads appear on your screen even when you are not browsing the internet.
  • Self-starting apps: your webcam light turns on by itself, or programs open without you clicking them.
  • The “blue screen”: the computer crashes or restarts often.
  • Other causes: faulty hardware can show some of these signs too, so scan the computer before deciding it has a virus.
Advertisement

How can you prevent infection?

Prevention is always better than repair, and five habits keep a computer safe.

  • Install an antivirus: think of it as your computer’s “immune system”.
  • Keep software updated: when Windows or Chrome asks to “Update”, say yes, because updates often carry “security patches” that close the doors hackers use.
  • Think before you click: if an email or a website looks “too good to be true”, it probably is.
  • Scan every USB: right-click the flash drive and select “Scan with Antivirus” before opening it.
  • Use strong passwords: do not use “12345” or your name, and mix letters, numbers and symbols.
  • Back up your files: keep a second copy on another drive, so ransomware or deletion does not cost you your work.

What is antivirus software and how does it work?

Antivirus software is a program that finds, blocks and removes malware from a computer.

  1. The antivirus scans files, programs and flash drives.
  2. It compares them with its list of known malware.
  3. It flags any file that matches or behaves like malware.
  4. It moves the file to quarantine (a safe, locked place) or deletes it.
  5. It needs regular updates so that it can recognise new malware.

Popular antivirus tools include Windows Defender, Avast, AVG, Kaspersky, Norton and Malwarebytes, and some are free while others are paid.

  • Windows Defender: built into Windows 10 and 11, and very good if you keep it updated.
  • Avast / AVG: popular free versions for home users.
  • Kaspersky / Norton: paid versions that offer extra protection, including for online banking.
  • Malwarebytes: good for “cleaning up” a computer that is already heavily infected.

What should you do if your computer is infected?

If your computer is infected, cut it off from the network and then scan and clean it.

Advertisement
  1. Disconnect from the internet and remove any flash drive.
  2. Update your antivirus, then run a full scan.
  3. Quarantine or delete every threat the scan finds.
  4. Restart the computer and scan again to confirm it is clean.
  5. Restore any lost files from your backup.
  6. Change your passwords from a clean computer.

How do the main security threats compare?

The table below compares each threat, what it does and how to prevent it.

Security threat What is it? Best prevention
Virus Hidden code in a file. Use an antivirus and scan USBs.
Worm Spreads via the internet or a network. Use a “firewall” and update the operating system.
Trojan A fake “good” program. Do not download pirated software.
Ransomware Locks your files and demands money. Back up your files and do not open strange attachments.
Spyware Steals your passwords. Do not click strange links in emails.

Evaluation

  1. What is a computer virus? Name the three usual goals of a virus.
  2. State one difference between a virus and a worm.
  3. Why is a Trojan horse called by that name?
  4. List four ways a computer can get infected.
  5. Give three prevention methods and say why scanning a flash drive matters.

Assignment

Check your computer. Is Windows Defender turned on? When did it last run a “Full Scan”? If it was a month ago or more, start a scan now and write down what it finds.

Teacher's lesson plan

A ready-to-use lesson plan for this topic: objectives, previous knowledge, materials, step-by-step presentation, board summary and conclusion.

Included when you get this note, and inside your download. Sign in with your purchase to see it here.

Sign in

This term's Computer Hardware & GSM Repair topics

SS2 Third Term · 8 topics

  1. Advanced Computer Repair I
  2. Advanced Computer Repair II
  3. Computer Viruses and Security
  4. Networking Setup
  5. GSM Software Optimization
  6. Troubleshooting GSM Software Issue
  7. Internet Security Issue
  8. Small Scale ICT Business
Advertisement

Lesson Notes for Other Classes

Print it or edit it in Word

Every note is free to read online. A PDF or Word copy of one subject costs ₦1,000 for one term, or ₦2,000 for all three terms.

Sign in first, then choose your class and subject at checkout.