Stewdent.eu
▾

Malware and Viruses

Malware is malicious software designed to damage, disrupt, or gain unauthorised access to computer systems.

Last updated: 14 February 2026

★★☆☆☆ Level 2computingSystemssecuritymalwareviruscybersecurity4 min read

Report an error

What is Malware?

Malware (malicious software) is any software deliberately designed to cause harm to a computer, network, or user. The word is short for "malicious software", and it is an umbrella term covering many different types of harmful programs.

Malware can steal your personal data, damage your files, use your computer for criminal activity, or hold your data for ransom — often without you even knowing it is there.

Types of Malware

TypeWhat It Does
VirusAttaches itself to legitimate files and spreads when those files are shared. Can corrupt or delete data.
WormSpreads automatically across networks without user action. Can overload systems and carry other malware.
TrojanDisguises itself as useful software. Once installed, it creates a back door for attackers.
RansomwareEncrypts your files and demands payment for the decryption key.
SpywareSecretly monitors your activity, stealing passwords and personal information.
AdwareDisplays unwanted adverts, often slowing the computer down.
RootkitHides deep in the OS to give attackers persistent, hidden access.
Warning

Ransomware attacks have hit hospitals, schools, and businesses worldwide, demanding thousands of pounds in cryptocurrency. Always keep backups of important files — if ransomware encrypts your data, a recent backup means you can restore without paying.

How Malware Spreads

Malware needs a way to get onto your device in the first place. Common delivery methods include:

  • Email attachments: Opening a malicious attachment runs the malware
  • Malicious downloads: Software downloaded from unofficial sources
  • Phishing links: Clicking a link in a fake email takes you to a site that installs malware
  • Infected USB drives: Plugging in an unknown USB drive
  • Unpatched software: Security vulnerabilities in out-of-date software

How to Stay Protected

Tip

Good security comes from multiple layers of protection working together — no single measure is 100% effective on its own.

Key defences include:

  1. Antivirus software: Scans files and running processes for known malware signatures, and monitors for suspicious behaviour
  2. Keeping software up to date: Software updates often patch security vulnerabilities that malware exploits
  3. Using a firewall: Monitors network traffic and blocks suspicious connections
  4. Being cautious online: Avoid clicking suspicious links, downloading from unofficial sources, or opening unexpected email attachments
  5. Regular backups: Even if malware strikes, a recent backup means you can restore your data

What Antivirus Software Does

Antivirus programs protect your computer in two main ways:

  • Signature detection: Compares files against a database of known malware patterns
  • Heuristic/behaviour detection: Watches for suspicious activity (like a program suddenly trying to encrypt thousands of files)

Practice Problems

Describe the difference between a virus and a worm. Which is more dangerous in terms of spreading across a network and why?

Show answer
A virus attaches to existing files and spreads when those files are opened or shared by users. A worm spreads automatically across networks without any user action. A worm is generally more dangerous for network spread because it can replicate and infect thousands of computers quickly without anyone needing to open a file.

A student receives an email from an unknown sender with an attachment called 'free_games.exe'. Describe two security risks and explain what they should do.

Show answer
Risks: (1) The attachment could be a Trojan — an .exe file that appears to be a game but installs malware. (2) The email could be a phishing attempt to get the student to install malware or visit a harmful site. The student should not open the attachment, delete the email, and report it to a parent/teacher or IT administrator.