Skip to content
Skip to main content

Computer Safety, Ethics, and Virus Protection

JSS2 Term 1 • Week 8
About 40 minutes
Learning goals: Define Computer Malware and classify its main types: Viruses, Worms, Trojan Horses, and Ransomware. • Explain common vectors of malware infection (unauthorized downloads, infected USB drives, email phishing). • Describe the defensive operation of modern Antivirus and Firewall software. • Examine legal and ethical computing rules: Software Piracy, Copyright law, and the Nigerian Cybercrimes Act.

Imagine locking the front door of your family home every evening before going to bed. You check the deadbolt, close the windows, and make sure no stranger can walk inside while you sleep.

In the digital world, your computer holds personal letters, family photographs, school grades, passwords, and banking records. Yet millions of cybercriminals, scam artists, and malicious software programs patrol the internet twenty-four hours a day searching for unlocked digital doors!

In this lesson, we will explore the dark world of Malware, discover how Antivirus software and Firewalls defend our systems, and understand the ethical and legal responsibilities established by copyright laws and the Nigerian Cybercrimes Act.


Learning Outcomes

By the end of this lesson, you will be able to:

  1. Define Malware and differentiate between Viruses, Worms, Trojan Horses, and Ransomware.
  2. Identify common infection vectors: Infected flash drives, email attachments, and suspicious download links.
  3. Explain how Antivirus programs use signature definitions to neutralize threats.
  4. Define Software Piracy and explain ethical responsibilities under cyber laws.

Key Vocabulary

Term Technical Meaning
Malware "Malicious Software" — programs written to infiltrate, damage, or steal data from computers.
Computer Virus Malicious code that attaches itself to legitimate files and spreads when the infected file is executed.
Worm Standalone malware that replicates and spreads across computer networks automatically without human help.
Trojan Horse Deceptive malware disguised as useful software (e.g., a free game) with hidden destructive payloads.
Ransomware Malware that encrypts a user's files and demands a money ransom to unlock them.
Software Piracy The illegal copying, sharing, or selling of copyrighted software without a valid license.

               +-------------------------------------------+
               |             MALWARE TYPES                 |
               +-------------------------------------------+
                                     |
         +-----------------+---------+---------+-----------------+
         |                 |                   |                 |
         v                 v                   v                 v
   [ 1. VIRUS ]      [ 2. WORM ]         [ 3. TROJAN ]     [ 4. RANSOMWARE ]
   - Needs a host    - Spreads alone     - Disguised as    - Encrypts files
     file to attach    across networks     useful app      - Demands money
   - Spreads when    - Exploits security - Steals stored     to unlock
     file is opened    loopholes           passwords         hostage data

Study Notes: How Malware Attacks and How to Defend

  1. The Computer Virus: Named after biological viruses. It cannot spread by itself; it attaches its code to a legitimate .exe or .docx file. When an unsuspecting user double-clicks that file, the virus activates, damages files, and infects other programs on the drive.
  2. The Worm: Far more aggressive than a virus. A worm does not need a host file or human clicks. It crawls across network cables and Wi-Fi connections from computer to computer, clogging bandwidth and opening backdoors for hackers.
  3. The Trojan Horse: Disguised as something attractive—such as "Free_Minecraft_Skins.exe" or "Movie_Downloader.zip". Once opened, it quietly installs spyware that logs your keystrokes and steals your email and banking passwords.
  4. Ransomware: The most dangerous modern cybercrime threat. It scrambles all your essays, photos, and files with military-grade encryption and displays a countdown timer demanding ₦500,000 to send the decryption key!

2. Common Infection Pathways (Vectors)

How does malware get inside a school or home computer? - Unchecked USB Flash Drives: Inserting a flash drive from a cybercafé that has infected shortcut viruses. - Phishing Email Attachments: Clicking on files attached to emails from strangers claiming you won a prize. - Pirated Software & Cracks: Downloading "cracked" games or operating systems from shady torrent websites. Cybercriminals always bundle trojans inside pirated software!

3. The Digital Armor: Antivirus and Firewalls

  • Antivirus Software: Continuously monitors RAM and disk storage. It checks files against an updated database of virus signatures (fingerprints). When it detects a match, it quarantines (isolates) the infected file and deletes the malicious code.
  • Firewall: Acts as a digital security guard at your network gateway. It inspects all incoming and outgoing internet packets, blocking unauthorized connection attempts from hackers.
  • Software Piracy is Theft: Writing software takes thousands of hours of intense human labor by software engineers. When people copy and sell cracked software, programmers cannot earn a living.
  • Nigerian Cybercrimes Act (2015): Under Nigerian law, hacking into computer systems, transmitting malware, identity theft, and digital fraud carry severe criminal penalties, including heavy financial fines and prison sentences.

Worked Example: Detecting a Phishing Trap

Scenario: Amina receives an email:
Sender: service@bank-security-alert-online.com
Subject: URGENT! Your Bank Account is Blocked!
Message: Dear Customer, someone attempted to steal your funds. Download and open the attached verification form: 'account_repair.exe' to unlock your account immediately.

Amina's Detective Analysis: 1. Check Sender Address: The email address ends in a random commercial domain, not her real bank's official domain (.com.ng). 2. Inspect Attachment: The attachment is an .exe (executable program)! Banks never send .exe files to customers. It is a dangerous Trojan or Ransomware program. 3. Action: Amina does NOT download or click the file. She marks the email as Spam and reports it to an adult!


Practical Class Activity: The Cyber Defender Checklist

In your notebook, write down the Five Golden Rules of Cyber Defense:

  1. Keep Antivirus Active: Always run an antivirus program with automatic daily signature updates.
  2. Scan External Storage: Always scan every USB flash drive before opening files.
  3. Never Click Unknown Attachments: Delete unexpected email attachments, especially .exe, .scr, and .vbs files.
  4. Use Strong Passwords: Combine uppercase letters, lowercase letters, numbers, and symbols (e.g., K!nspire#2026).
  5. Practice Legal Ethics: Never download or distribute pirated software cracks.

Common Mistakes & Corrections

Common Mistake Why It Is Incorrect Proper Correction
"If my computer looks fine, it cannot have a virus." Modern malware (like spyware and botnets) is designed to run silently without any visible signs. Run regular scheduled background antivirus scans even when the computer seems healthy.
"Antivirus installed three years ago without updates still protects me." Thousands of new malware variants are released every week; old definitions cannot spot new threats. Antivirus software must connect to the internet regularly to update its signature definitions.

Notebook Summary

Copy Into Your Computing Notebook

  • Malware includes Viruses (attach to host files), Worms (spread across networks), Trojans (disguised traps), and Ransomware (scrambles files for ransom).
  • Protect systems using Antivirus software, Firewalls, and regular Operating System updates.
  • Software Piracy violates copyright law and is illegal under the Nigerian Cybercrimes Act.
  • Never open attachments from strangers and never use pirated software cracks!

Check your understanding

What is the general term for all malicious software written intentionally to damage, disrupt, or steal data from computers?
Which type of malware disguises itself as a harmless, attractive file (like a free game) but contains hidden malicious code inside?
What is 'Software Piracy' in computer ethics and law?
How does an Antivirus scanner detect known computer viruses on your system?
Feedback appears after you check your answer.