Malware is one of the most common and damaging cybersecurity threats. In IB Computer Science, students are expected to understand what malware is, how different types spread, and why they are dangerous. Examiners often test whether students can distinguish clearly between malware types, not just name them.
Three of the most important malware types are viruses, worms, and Trojan horses.
What Is Malware?
Malware is any software designed to:
- Cause harm
- Disrupt systems
- Gain unauthorised access
- Steal data
Malware operates without the user’s informed consent and is a major threat to both individuals and organisations.
In IB terms, malware represents a deliberate security threat.
What Is a Virus?
A virus is a type of malware that:
- Attaches itself to a legitimate file or program
- Requires user action to spread
A virus spreads when:
- An infected file is opened or executed
Key Characteristics of Viruses
- Needs a host file
- Requires user interaction
- Spreads through file sharing, downloads, or removable media
Viruses can:
- Corrupt files
- Slow down systems
- Cause software to behave unpredictably
