CSC114 ยท 0 ยท 5 marks
What is malicious software? How virus differs from worms?
What is malicious software? How virus differs from worms? [5]
Quick answer
Malicious software (Malware) refers to various forms of harmful software designed to damage, disrupt, or gain unauthorized access to computer systems. It is any software that is intentionally created to cause harm to a computer, server, network, or its users.
Malicious Software and Virus vs. Worms
What is Malicious Software?
Attackers use a variety of methods to deliver malware to a target computer, such as phishing emails, malicious downloads, and infected websites.
Common examples of malware include:
- Viruses
- Worms
- Trojan Horses
- Ransomware
How Virus Differs from Worms
| Basis | Virus | Worm |
|---|---|---|
| Definition | A computer virus is a malicious program that self-replicates by copying itself to another program. | A computer worm is a type of malware that infects other systems by making multiple copies of itself and spreading into other computers within the network. |
| Host Required | A virus requires a host program to attach itself to in order to spread. | A worm does not require a host program; it is a standalone program. |
| Spreading | Spreads when an infected file or program is executed by the user. | Spreads automatically across networks without any user interaction. |
| Replication | Replicates by attaching itself to other programs or files. | Replicates independently and spreads through network connections. |
| Speed of Spread | Spreads relatively slower as it depends on user action. | Spreads faster as it propagates automatically over networks. |
| Damage | Corrupts or modifies files on the infected system. | Consumes network bandwidth and system resources, slowing down systems. |
| Example | File infector viruses, boot sector viruses. | Morris Worm, ILOVEYOU worm. |
Summary
In short, both viruses and worms are types of malicious software that self-replicate, but the key difference is that a virus needs a host program and user action to spread, while a worm spreads independently across networks without requiring a host or user intervention.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.