Four examples of malware include: Viruses. Worms. Trojans. Ransomware.