Malware
Malware is malicious software: a generic term for software designed to execute harmful or disruptive attacks on a server, network, or computer. Learn the main types of malware, how it spreads, and how organizations reduce its impact.
What is malware?
Malware (short for malicious software) is any program or code created to harm, exploit, or take control of a system without the owner's consent. Malware can steal data, encrypt files for ransom, spy on users, use systems for other attacks, or simply cause disruption.
Malware is often combined with social engineering: many infections begin with a message that persuades someone to open a file, click a link, or approve a request.
How does malware work?
Malware usually follows a pattern:
- Delivery: through phishing emails, malicious links or attachments, infected downloads, compromised websites, removable media, or vulnerable services.
- Execution: the user runs it, or it exploits a vulnerability to run on its own.
- Persistence: it installs itself so it survives restarts.
- Action: it carries out its purpose, often contacting a command-and-control server for instructions.
Common types include viruses (attach to legitimate programs), worms (spread on their own), Trojans (disguised as legitimate software), ransomware (encrypts data for payment), spyware and keyloggers (capture information), and rootkits (hide deep in the system).
Malware vs. virus
"Virus" is often used loosely to mean any malicious software, but a virus is one specific type of malware: code that attaches to other programs and spreads when they run. Malware is the umbrella term that covers viruses and every other type.
Why does malware matter?
Malware is one of the most common causes of security incidents. The damage often depends on the privileges of the account it runs under: malware running as an administrator can do far more than malware running as a standard user. Patching, endpoint protection, email filtering, least privilege, and reliable backups together limit its impact.
Frequently asked questions
What is malware?
Malware is malicious software, a generic term for software designed to execute harmful and/or disruptive attacks on a server, network, or computer. Malware is often combined with social engineering: many infections begin with a message that persuades someone to open a file, click a link, or approve a request.
What are the most common types of malware?
Viruses, worms, Trojans, ransomware, spyware, keyloggers, adware, and rootkits are the most common types. Many modern threats combine several of these behaviors.
How can you protect against malware?
Keep systems patched, use endpoint protection, filter email and web traffic, limit administrator rights, train users to spot phishing, and keep tested offline backups. Application allowlisting and monitoring for unusual behavior add further protection against malware that has not been seen before.
Limit what malware can do with stolen privileges
Grant access only for the moment it's needed, then revoke it automatically.
Related terms
Virus
A virus is infectious malware that can replicate itself and execute its code into legitimate programs.
Read now →Ransomware
Ransomware is malware designed to hold sensitive data or a system "ransom" in exchange for money.
Read now →