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 :
|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.|
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.
- Difference between Virus, Worm and Trojan Horse
- Difference between Spyware and Trojan Horse
- Difference between Trojan Horse and Ransomware
- Difference between Worms and Trojan Horse
- Difference between Trojan Horse and Adware
- Difference between Malware and Trojan Horse
- Difference between Scareware and Trojan Horse
- Difference between Rootkit and Trojan Horse
- Trojan Horse and Trap Door
- Difference between Worms and Virus
- Difference between Virus and Malware
- Difference between Virus and Ransomware
- Difference between Virus and Spyware
- Difference between Virus and Adware
- Difference between Scareware and Virus
- Difference between Rootkit and Virus
- What Is Trojan Dropper ?
- Difference between Stop and Wait, GoBackN and Selective Repeat
- Difference between Stop and Wait protocol and Sliding Window protocol
- Similarities and Difference between Java and C++
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.