Computer Virus:
Self-Replication: A virus is a self-replicating program that spreads by attaching itself to other files or programs.
Malicious Intent: A virus has malicious intent and can damage or corrupt files, steal personal information, or cause other types of harm to the system.
Hidden Execution: A virus is designed to remain hidden and undetected by antivirus software, making it difficult to detect and remove.
Trojan Horse:
Deception: A Trojan horse is a program that disguises itself as a legitimate software or application, tricking the user into downloading or installing it.
Unauthorized Access: Once installed, a Trojan horse can provide unauthorized access to the attacker, allowing them to steal sensitive data or take control of the system.
Persistence: A Trojan horse can be designed to remain hidden and persist even after a system restart, making it difficult to detect and remove.
Worm:
Self-Propagation: A worm is a self-propagating program that spreads by exploiting vulnerabilities in the system or network.
Network-Based: A worm spreads over a network and can infect multiple systems, making it a potential threat to large organizations.
Resource Consumption: A worm can consume system resources, slowing down the network or causing it to crash.