Virus: self-replicating code that attaches to files; spreads when infected files are shared
Worm: self-replicating; spreads across networks without user action — exploits vulnerabilities
Trojan: disguised as legitimate software; installs malware when run
Ransomware: encrypts victim's files and demands payment for decryption key
Spyware: secretly monitors activity and sends data to attacker (keyloggers, screen capture)
Adware: displays unwanted adverts; often bundled with free software