Viruses, worms, and Trojan horses are types of malicious software (malware) that can damage computers. Viruses spread by attaching to host programs and replicating, worms spread across networks without user action, and Trojans allow hackers remote access. Some examples provided include the CIH virus from 1998 that overwrites partition tables, the 2001 Code Red worm that allowed network hacking, and the 2012 Trojan.Flame malware that stole data. Basic safety tips to avoid malware include keeping systems updated, using antivirus software, avoiding unsafe files/links, and being wary of suspicious messages.