Malware is any software intended to harm a computer that is installed without consent. Common types of malware include viruses, worms, Trojans, spyware, and adware. Viruses can replicate and infect files. Worms replicate over networks without user intervention. Trojans appear useful but have hidden malicious functions. Spyware monitors user behavior and personal information. Adware displays advertisements during program use.