This lecture compares and contrasts the different classes of malicious software (malware): logic bombs, backdoors, trojans, viruses and worms. It considers the different ways in which malware can attack a system and discusses some of the ways in which malware will attempt to evade detection.