Malware is any program designed to damage a device, steal information or take control of a system without the owner's permission. The word is short for malicious software, and it includes viruses, trojans, ransomware, spyware, worms and keyloggers, which differ in how they get in and what they do once inside.