Viruses
Viruses are malicious programs that replicate and spread by attaching themselves to other files or programs. When the host file is opened, the virus executes and can steal data, corrupt files, disrupt operations, and infect other computers.
Worms
Worms resemble viruses but do not need a host file to spread. They replicate independently across networks, often without user action, and can slow network traffic, cause denial-of-service attacks, steal information, and corrupt data.
Trojan Horses
Trojans disguise themselves as legitimate software. Once installed, they grant attackers remote access, allowing them to steal information, control the computer, install additional malware, or launch attacks on other systems.
Other malware types include spyware, which secretly gathers user activity; ransomware, which encrypts files for payment; and adware, which displays unwanted advertisements.