Malware includes viruses, trojans, worms, spyware, adware, rootkits, and keyloggers. Each type attacks in its own way.