Malware includes viruses, worms, and trojans. Viruses spread on their own and harm files and systems. Worms spread over networks and copy themselves. Trojans seem harmless but can hide bad code.