1. Worms :
Worms is similar to virus but it does not modify the program. It replicate itself more and more to cause slow down the computer system. Worms can be controlled by remote. The main objective of worms to eat the system resources.
2. Virus :
A virus is a malicious executable code attached to another executable file which can be harmless or can modify or delete data. When the computer program runs attached with virus it perform some action such as deleting a file from the computer system. Virus can’t be controlled by remote.
Difference between Worms and Virus :
|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 to eat the system resources.||The main objective of virus is to modify the information.|
|3.||It doesn’t need a host to replicate from one computer to another.||It require 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 are used for protection against viruses.|
|6.||Worms can be controlled by remote.||Virus can’t be controlled by remote.|
|7.||Worms are executed via weaknesses in system.|
Viruses are executed via executable files.
|8.||Morris Worm, Storm Worm and SQL Slammer are some of the examples of worms.||Resident and Non -resident viruses are two types of Virus.|
|9.||It does not needs human action to replicate.||It needs human action to replicate.|
|10.||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.