Glossary
Malware
Definition
Malware: Software, firmware or files intentionally designed to harm a system or its data, such as viruses, worms, trojans, spyware and ransomware. CISA describes malicious code as unwanted files or programs that can cause harm to a computer or compromise the data stored on it.
Also known asmalicious softwaremalicious codevirustrojan
In short
Malware, short for malicious software, is any program or file designed to harm a computer, steal data or take control of a device. Viruses, worms, trojans, spyware and ransomware are all malware. It usually arrives through email attachments, booby-trapped documents, fake downloads and links, so the best defenses combine updated software, careful attachment handling and backups you can restore from.
Key takeaways
- Malware is any software or file built for a harmful purpose, including viruses, trojans, spyware and ransomware.
- Documents can carry malware too, through macros or flaws in the app that opens them.
- Disguised file names, such as a program posing as a PDF, are a classic delivery trick.
- Encryption doesn't remove malware. An encrypted attachment can still be harmful once opened.
- Updates, limited accounts, attachment caution and restorable copies are the core defenses.
Last reviewed 30 November 2026
Malware, short for malicious software, is any program or file built to harm a device, steal its data or take control of it. NIST's glossary describes it as "hardware, firmware, or software that is intentionally included or inserted in a system for a harmful purpose." CISA puts it more simply: "unwanted files or programs that can cause harm to a computer or compromise data stored on a computer."
The main types#
| Type | What it does |
|---|---|
| Virus | Attaches to files and spreads when they're shared or opened |
| Worm | Copies itself from computer to computer on its own |
| Trojan | Hides a harmful payload inside a program that looks legitimate |
| Spyware | Watches what you type and do, and sends it to someone else |
| Ransomware | Encrypts or steals your files and demands payment |
A worked example#
An email from a "supplier" says an invoice is overdue and attaches invoice.zip. Inside is invoice.pdf.exe, and because the computer hides known extensions, it shows as invoice.pdf. One double-click runs a program that installs spyware, which collects saved passwords. The same attack works with a document that asks you to "enable content," which turns on macros that download the real payload. The email itself is social engineering; the attachment is the malware.
What short definitions miss#
Documents can be dangerous too. CISA lists "malicious data files" that exploit weaknesses in the program that opens them, such as PDFs and office documents.
Encryption doesn't clean a file. An encrypted attachment arrives exactly as sent, harmful parts included. That's why the strongest checks happen on the device, before a file is sent or opened.
Recovery is a defense. CISA's tips end with backing up data. If malware damages files, a copy you can restore turns a disaster into an afternoon.
In Foxcolab#
Foxcolab Mail checks every file you attach, on your device, before it uploads. Programs, names built to disguise them and archives that contain them can't be attached at all, and you'll see This file can't be attached. Documents that can run macros, PDFs with actions and password-locked archives go out with a warning. When you read mail, a link whose text doesn't match where it really goes asks you to Check this link before you open it. None of these checks sends your files or messages to Foxcolab.
In Foxcolab Drive, where files and file names are end-to-end encrypted, a damaged copy uploaded over a good file doesn't have to be the end: open the file's Versions and choose Restore this version, or recover deleted items from Trash for 30 days. Create a free account to try both.
Keep exploring
Related terms
- RansomwareRansomware encrypts your files and demands payment for the key, and most attacks also steal data first. What helps is a copy the attacker can't reach.
- PhishingPhishing is impersonation used to trick people into handing over passwords, approving payments or opening malware. Here's how it works and what actually stops it.
- Social engineeringSocial engineering is manipulating people, rather than breaking software, to get passwords, money or access. Phishing is the best-known form, but phone calls and chat work just as well.
- Data breachA data breach is any security incident in which information is accessed, disclosed, lost or made unavailable without authorization. Whether stolen data is readable decides how bad it is.
- Account takeover (ATO)Account takeover is when someone else gains control of your account and uses it as you. The routes in are reused passwords, phishing, stolen sessions and recovery.
- Principle of least privilegeLeast privilege means every person, program and process gets only the access its current task needs, for only as long as it needs it.
- Spam filterA spam filter decides which incoming email is unwanted and keeps it out of your inbox. Here's how filters decide, why none is perfect, and what encryption changes.
Where Foxcolab uses it
Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.