Glossary/Malware Analysis/Malware Spam (Malspam)

What Is Malspam? Malware Spam Explained

Malspam, short for malware spam, is unsolicited bulk email sent to deliver malware through a malicious attachment or a link to a site that drops it.

export const frontmatter = { title: "What Is Malspam? Malware Spam Explained", description: "Malspam is bulk email that delivers malware through attachments or links. Learn how it works, the lures and payloads, and how blue teams detect and stop it.", date: "2026-06-21", author: "CyberDefenders", tags: ["malware-analysis", "phishing", "email-security"], readingTime: 9, image: "/blog-malware-spam-malspam.png" };

An invoice lands in an accounts inbox. The sender looks like a known supplier, the subject reads "Outstanding payment - account on hold," and the attachment is named Invoice_4471.zip. Inside is a .lnk shortcut that, when opened, runs a one-line PowerShell command. That command pulls a loader from a remote host, the loader fetches a banking trojan, and within a minute the workstation is beaconing to a command-and-control server. No exploit, no zero-day. The whole intrusion started because one email got through the filter and one person clicked.

That email is malspam. It is the highest-volume malware delivery method in use, and it is the first link in a large share of the intrusions a SOC works. This guide covers what malspam is, how it differs from ordinary spam and from phishing, how an attack unfolds from email to payload, the lures and malware families that ride it, and the controls and detections that stop it. It is written for blue teamers who have to triage these emails and the alerts they generate.

What is malspam?

Malspam, short for malware spam, is unsolicited bulk email sent to deliver malware. The payload arrives either as a malicious attachment or as a link to a site that downloads or drops malware. The defining trait is the goal: the email exists to get malicious code running on the recipient's machine, not to sell a product or harvest a password directly.

Three terms get blurred together, and the distinction matters when you classify an alert.

  • Spam is unsolicited bulk email. Most of it is just unwanted advertising. Annoying, not dangerous by itself.
  • Phishing is email that tricks the recipient into handing over something, usually credentials, by impersonating a trusted party. The payload is deception, and the loss is the data the victim types in.
  • Malspam is the subset of malicious email whose payload is malware. The loss is code execution on the endpoint.

These overlap in practice. A single campaign can be bulk (spam), deceptive (phishing), and malware-bearing (malspam) all at once. The useful question for a defender is what the email is trying to make happen: if it wants the user to run a file or fetch a payload, treat it as malspam and scope for an infection, not just a leaked password.

Unsolicited bulk email is not new. The first one went out in 1978 over ARPANET, a marketing message from a Digital Equipment Corporation sales rep advertising the DECSYSTEM-20. Email as a malware vector matured two decades later: the Melissa macro virus spread through mass mailing in 1999, and the ILOVEYOU worm reached tens of millions of mailboxes in May 2000 by arriving as a "LOVE-LETTER-FOR-YOU.txt.vbs" attachment. The lure and the wrapper have changed since. The mechanism, email plus a file the user is talked into running, has not.

How malspam works

Malspam Attack Chain
From inbox to payload
Each stage is a place a defender can break the chain.
01
Distribution
Bulk send from a botnet or spoofed domains
02
The lure
Invoice, shipping, or account-alert social engineering
03
Delivery mechanism
Malicious attachment (ZIP, ISO, .lnk) or a link
04
Execution
User opens the file, a first-stage loader runs in memory
05
Payload and handoff
Loader fetches a trojan, infostealer, RAT, or ransomware
Defender takeaway Cut delivery at the gateway with filtering and email authentication, block risky attachment types, and rely on EDR to catch the execution that gets through. One reported sample becomes a block for the whole campaign.

A malspam attack is a chain, and each link is a place to break it. The stages line up with the early phases of an intrusion: get delivered, get the user to act, get code running, then hand off to the real payload.

  1. Distribution. Attackers send in volume, usually from a botnet of already-compromised machines or from throwaway and spoofed sender domains. Volume is the point: even a low click rate produces enough infections to be profitable.
  2. The lure. The email body uses social engineering to make opening the attachment or link feel routine or urgent. Invoices, shipping notices, resumes, voicemails, and account-security warnings are the staples because they map to things people open at work without thinking.
  3. The delivery mechanism. A malicious attachment (a macro-enabled Office document, a ZIP holding a script or shortcut, an ISO or HTML smuggling file) or a link to a page that serves the download. The attachment is increasingly a container that hides the real content from email scanners.
  4. Execution. The user opens the file and enables content, or runs the script or shortcut. That action launches a small first-stage program, often a loader, frequently running in memory to leave little on disk.
  5. Payload and handoff. The loader pulls down and runs the actual malware: a banking trojan, an infostealer, a remote access trojan, or a ransomware precursor. From here it persists, beacons to command-and-control, and does what it was built for.

Not every campaign uses every step, and modern operators chain extra layers (a benign-looking PDF that links to a ZIP that holds a shortcut) specifically to defeat automated scanning. The shape stays the same. Attackers now also use AI to generate cleaner lure text and to vary it at scale, which removes one of the oldest tells: bad grammar.

How to identify malspam

The red flags below are the same signals a SOC uses to triage a reported email and that user training teaches. No single flag is proof. A cluster of them is.

  • Sender mismatch. The display name says a known brand or colleague, but the actual sending domain is wrong, look-alike (rnicrosoft.com), or unrelated. Check the real address and the message headers, not the friendly name.
  • Unexpected attachment. An invoice, receipt, or document you did not request, especially a ZIP, ISO, .lnk, .html, or a document that demands you "enable content" or "enable editing" to view it.
  • Urgent or threatening tone. Account suspension, a payment "on hold," a package that cannot be delivered, legal action. Urgency is designed to stop you from checking.
  • Link and display-text mismatch. The visible text reads one thing; hovering shows a different, often long or obfuscated URL on an unrelated domain.
  • Off tone from a known contact. A message that is oddly worded, out of context, or asking for something the real person never would.
  • Generic greeting and pressure to act. "Dear customer," combined with a single call to action that wants a file opened or a link clicked right now.

Grammar and spelling errors used to top this list. They still appear, but AI-written lures have made clean, well-targeted text common, so the absence of typos is no longer reassuring. Weight the structural signals (sender, attachment type, link target) over the prose.

Common lures and payloads

Malspam is a delivery service. The lure gets the email opened; the payload is the malware that delivery serves. Knowing the pairings helps a responder predict what an infection will do next.

Lure themeTypical wrapperCommon payloadAttacker goal
Invoice / payment dueOffice doc, ZIP, PDF linkBanking trojan, loaderFinancial fraud, staging
Shipping / delivery noticeZIP, ISO, HTML attachmentInfostealer, loaderCredential and data theft
Resume / job applicationMacro document, archiveTrojan, ransomware precursorInitial access
Voicemail / fax / scanned docHTML, PDF linkLoader, RATRemote control
Account security alertLink to fake portal or downloadInfostealer, RATCredential theft, access

The payloads themselves are the standard intrusion toolkit. A loader or dropper is a small first stage whose only job is to fetch and run the next thing. A banking trojan or infostealer harvests credentials, session cookies, and financial data. A remote access trojan gives the operator hands-on control. And malspam has long been the on-ramp for ransomware: many campaigns deliver an initial loader that, weeks later, becomes the foothold a ransomware crew uses. Treat a single malspam infection as a possible early stage, not an isolated event.

How to defend against malspam

No single control stops malspam, because it targets the two things hardest to patch: the email gateway and the person reading the email. Defense is layered so what slips past one layer is caught by the next.

  • Email filtering and authentication. A modern email security gateway with attachment sandboxing and link rewriting blocks the bulk of it. Enforce SPF, DKIM, and DMARC so spoofed sender domains are rejected before they reach a mailbox. This is the cheapest place to cut delivery.
  • Block risky attachment types. Strip or quarantine the wrappers attackers rely on: macro-enabled Office files, .lnk, .iso, .html, and password-protected archives that sandboxes cannot inspect. Disable Office macros from the internet by policy.
  • Endpoint detection and response (EDR). When a lure does get clicked, EDR catches the behavior, a document spawning PowerShell, a script reaching out to a remote host, a loader setting persistence, even when the file itself is brand new.
  • Patch browsers and clients. Link-based malspam often relies on a browser or client vulnerability to run code on visit. Patching closes that path.
  • Multi-factor authentication. Limits what stolen credentials are worth, with the caveat that infostealers grabbing session cookies can sidestep it. Pair MFA with short session lifetimes.
  • User awareness and easy reporting. People are the delivery target. Training that teaches the red flags above, plus a one-click "report phishing" button, turns recipients into sensors and cuts the click rate everything else depends on.

The pattern is the same as for malware generally: assume an email gets through, and build so the click is detected and contained fast rather than betting everything on the filter.

How to report malspam

Reporting is not busywork. A reported sample feeds detections that protect everyone else on the same campaign.

  • Inside an organization, report the email through the built-in reporting button or forward it to the security team or IT. Do not delete it first; the headers and the attachment are what analysts need to build blocks and hunt for other recipients.
  • In the United States, suspicious emails can be reported to CISA at [email protected]. Mark it as junk in the client as well so the provider learns the pattern.
  • Do not reply, click, or open the attachment to "check." Replying confirms the address is live; opening is the infection.

For the SOC, a reported malspam email is a small investigation: pull the headers, detonate the attachment or URL in a sandbox, extract indicators of compromise, and hunt them across the mail logs to find every recipient, not just the one who reported it.

Why malspam matters for blue teams

Malspam sits at the front of a large fraction of intrusions, which makes it a recurring item in every blue team workflow.

  • In the SOC, reported emails and email-gateway alerts are a daily triage queue. Telling a benign newsletter from a malware loader is core analyst work.
  • In incident response, identifying the malspam that started a case tells you the initial vector, who else was targeted, and what payload to scope for.
  • In threat hunting, the senders, domains, attachment hashes, and lure patterns of a campaign become hunt hypotheses across mail and endpoint logs.
  • In detection engineering, detonated samples turn into the rules, signatures, and gateway blocks that catch the next wave.

Frequently Asked Questions

What is malspam?

Malspam, short for malware spam, is unsolicited bulk email sent to deliver malware. The malicious code arrives as an attachment or as a link to a site that downloads it, and the goal is to get that code running on the recipient's machine. It is the most common method attackers use to deliver malware.

What is the difference between malspam, spam, and phishing?

Spam is any unsolicited bulk email, most of it harmless advertising. Phishing tricks the recipient into handing over data, usually credentials, by impersonating a trusted party. Malspam is the subset of malicious email whose payload is malware rather than a credential theft form. A single campaign can be all three at once, so classify by what the email is trying to make the user do.

What kinds of malware does malspam deliver?

The common payloads are loaders and droppers (small first stages), banking trojans, infostealers, and remote access trojans. Malspam is also a frequent first step in ransomware intrusions, where an emailed loader becomes the foothold a ransomware crew uses weeks later. The lure theme often hints at the payload, for example invoice lures pairing with banking trojans.

How can I tell if an email is malspam?

Look for a sender address that does not match the display name, an unexpected attachment (especially a ZIP, ISO, .lnk, or a document that asks you to enable content), urgent or threatening language, and links whose real URL differs from the visible text. No single sign is proof, but several together are a strong signal. Clean grammar no longer rules it out, because attackers now use AI to write the lures.

How do I report a malspam email?

Inside an organization, use the report-phishing button or forward the email to your security or IT team without deleting it, since the headers and attachment are needed to investigate. In the United States you can also report suspicious emails to CISA at [email protected]. Do not reply to the email or open the attachment to verify it.

Can malspam get past email filters?

Yes. Attackers nest payloads inside containers (a PDF linking to a ZIP holding a shortcut) and use password-protected archives and HTML smuggling specifically to defeat scanners, and AI-generated lure text removes the grammar tells filters once keyed on. That is why endpoint detection and response and user reporting matter: they catch what reaches the mailbox and gets clicked, after the gateway has done its part.

The bottom line

Malspam is malicious bulk email built to run malware on the recipient's machine, through an attachment or a link. It is the highest-volume malware delivery method and the opening move in a large share of intrusions, from infostealer infections to ransomware. The chain is consistent: distribute in volume, lure with a routine-looking message, deliver a malicious file or link, get it executed, then hand off to the real payload.

That consistency is the defender's advantage. Cut delivery at the gateway with filtering and email authentication, block the risky attachment types, put EDR on every endpoint to catch the click that gets through, and make reporting one button so users become sensors. For a blue teamer, the core skill is reading a reported email, pulling the indicators, and turning one infection into a block that stops the rest of the campaign.

Frequently asked questions

What is malspam?

<p>Malspam, short for malware spam, is unsolicited bulk email sent to deliver malware. The malicious code arrives as an attachment or as a link to a site that downloads it, and the goal is to get that code running on the recipient's machine. It is the most common method attackers use to deliver malware.</p>

What is the difference between malspam, spam, and phishing?

<p>Spam is any unsolicited bulk email, most of it harmless advertising. Phishing tricks the recipient into handing over data, usually credentials, by impersonating a trusted party. Malspam is the subset of malicious email whose payload is malware rather than a credential theft form. A single campaign can be all three at once, so classify by what the email is trying to make the user do.</p>

What kinds of malware does malspam deliver?

<p>The common payloads are loaders and droppers (small first stages), banking trojans, infostealers, and remote access trojans. Malspam is also a frequent first step in ransomware intrusions, where an emailed loader becomes the foothold a ransomware crew uses weeks later. The lure theme often hints at the payload, for example invoice lures pairing with banking trojans.</p>

How can I tell if an email is malspam?

<p>Look for a sender address that does not match the display name, an unexpected attachment (especially a ZIP, ISO, .lnk, or a document that asks you to enable content), urgent or threatening language, and links whose real URL differs from the visible text. No single sign is proof, but several together are a strong signal. Clean grammar no longer rules it out, because attackers now use AI to write the lures.</p>

How do I report a malspam email?

<p>Inside an organization, use the report-phishing button or forward the email to your security or IT team without deleting it, since the headers and attachment are needed to investigate. In the United States you can also report suspicious emails to CISA at [email protected]. Do not reply to the email or open the attachment to verify it.</p>

Can malspam get past email filters?

<p>Yes. Attackers nest payloads inside containers (a PDF linking to a ZIP holding a shortcut) and use password-protected archives and HTML smuggling specifically to defeat scanners, and AI-generated lure text removes the grammar tells filters once keyed on. That is why endpoint detection and response and user reporting matter: they catch what reaches the mailbox and gets clicked, after the gateway has done its part.</p>

Practice track
Malware Analysis
Reverse engineer malicious code, decode obfuscated payloads, and extract behavioral indicators to understand threat capabilities and infection techniques.
Browse Malware Analysis Labs โ†’