Malware is usually used for describing any form of malicious software like viruses, Trojans, malicious active content, etc. The main categories of malware are viruses, worms, Trojans and hoaxes. It is a common mistake to use the term virus for all malicious programs: those are just a particular type of malware.