Skip to content
Related Articles

Related Articles

Improve Article

Difference between Worms and Virus

  • Last Updated : 07 Oct, 2021
Geek Week

1. Worms : 
Worms are similar to a virus but it does not modify the program. It replicates itself more and more to cause slow down the computer system. Worms can be controlled by remote. The main objective of worms is to eat the system resources. 

2. Virus : 
A virus is a malicious executable code attached to another executable file that can be harmless or can modify or delete data. When the computer program runs attached with a virus it performs some action such as deleting a file from the computer system. Viruses can’t be controlled by remote. 

Difference between Worms and Virus : 

 

S.No.WORMSVIRUS
1.A Worm is a form of malware that replicates itself and can spread to different computers via Network.A Virus is a malicious executable code attached to another executable file which can be harmless or can modify or delete data. 
 
2.The main objective of worms is to eat the system resources.The main objective of viruses is to modify the information.
3.It doesn’t need a host to replicate from one computer to another.It requires a host is needed for spreading.
4.It is less harmful as compared.It is more harmful.
5.Worms can be detected and removed by the Antivirus and firewall.Antivirus software is used for protection against viruses.
6.Worms can be controlled by remote.Viruses can’t be controlled by remote.
7.Worms are executed via weaknesses in the system.Viruses are executed via executable files.
8.Internet worms, Instant messaging worms, Email worms, File sharing worms, Internet relay chat (IRC) worms are different types of worms.Boot sector virus, Direct Action virus, Polymorphic virus, Macro virus, Overwrite virus, File Infector virus are different types of viruses
9.Examples of worms include Morris worm, storm worm, etc.Examples of viruses include Creeper, Blaster, Slammer, etc.
10.It does not need human action to replicate.a thatIt needs human action to replicate.
11.Its spreading speed is faster.Its spreading speed is slower as compared.

 

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :