Open In App

Difference between Virus and Trojan Horse

Last Updated : 04 Jul, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

1. 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. 

2. Trojan Horse : 

Trojan Horse is also a type of malware which uses false and fake name for mislead users from its true intent and executing them. Trojan Horses generally install on the system as legitimate and useful software that can give unauthorized access and control of the system to the hackers. Back orifice, Rootkit and Beast Trojan are some of the common Trojan horse which is more harmful. 

Difference between Virus and Trojan Horse :

S.No. VIRUS TROJAN HORSE
1. A Virus is a malicious executable code attached to another executable file which can be harmless or can modify or delete data. Trojan Horse is a form of malware that capture some important information about a computer system or a computer network.
2. The main objective of virus is to modify the information. The main objective of Trojan horse is to steal the information.
3. It is more harmful. It is less harmful as compared.
4. Antivirus software are used for protection against viruses. Trojan horses are detected by the antivirus software.
5. Virus can’t be controlled by remote. Trojan Horse can be controlled by remote.
6. Viruses are executed via executable files. Trojan horse are executed through a program and interprets as utility software.
7. Resident and Non -resident viruses are two types of Virus. Back orifice, Rootkit and Beast Trojan are some of the common Trojan horses.
8. Virus replicates itself. Trojan horse does not replicate itself.
9. The spreading rate of viruses is moderate. The spreading rate of Trojan horse is slow in comparison to virus.

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads