Virus is a computer program or software that connect itself to another software or computer program to harm computer system. 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.
Worms is also a computer program like 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.
Trojan Horse does not replicate itself like virus and worms. It is a hidden piece of code which steal the important information of user. For example, Trojan horse software observe the e-mail ID and password while entering in web browser for logging.
Difference between Virus, Worm and Trojan Horse:
|Virus is a software or computer program that connect itself to another software or computer program to harm computer system.||Worms replicate itself to cause slow down the computer system.||Trojan Horse rather than replicate capture some important information about a computer system or a computer network.|
|Virus replicates itself.||Worms are also replicates itself.||But Trojan horse does not replicate itself.|
|Virus can’t be controlled by remote.||Worms can be controlled by remote.||Like worms, Trojan horse can also be controlled by remote.|
|Spreading rate of viruses are moderate.||While spreading rate of worms are faster than virus and Trojan horse.||And spreading rate of Trojan horse is slow in comparison of both virus and worms.|
|The main objective of virus to modify the information.||The main objective of worms to eat the system resources.||The main objective of Trojan horse to steal the information.|
- Difference between MAN and WAN
- Difference between LAN, MAN and WAN
- Difference Between SEO and SEM
- Web 1.0, Web 2.0 and Web 3.0 with their difference
- Difference between OOP and POP
- What's difference between MMU and MPU?
- Difference between PNG and GIF
- Difference between JSP and ASP
- Difference between CRT and LCD
- Difference between LED and LCD
- Difference between LAN and WAN
- Difference between MP4 and MP3
- Difference between C and C#
- Difference between 1G and 2G
- Difference between CPU and GPU
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.