Cyber Threats & Countermeasures

Spam

About 5 min read

What Is Spam

Spam refers to unsolicited messages sent in bulk without the recipient's consent. Beyond email, it also arrives via SMS, social media direct messages, forum posts, and website comment sections.

Kaspersky's spam and phishing report for 2025 put the average share of spam in global email traffic at 44.99%. For organizations, spam wastes bandwidth and storage, reduces employee productivity, and serves as a distribution channel for phishing and malware. For individuals, a single misclick on a spam link can lead to financial loss or credential theft.

History of Spam - The First Spam Email in 1978

The first recorded spam email was sent on May 3, 1978, by Gary Thuerk, a marketer at DEC (Digital Equipment Corporation), to approximately 400 ARPANET users promoting a product. The term "spam" was not in use yet, and the message drew strong backlash from recipients.

The name "spam" comes from a Monty Python sketch where every menu item contains SPAM canned meat, regardless of what the customer orders. In the 1990s, when mass posting became a problem on Usenet, the term was adopted to describe unwanted, unavoidable messages.

In the United States, the CAN-SPAM Act was signed into law in December 2003 and took effect on January 1, 2004, requiring commercial email to include an opt-out mechanism. Japan's Act on Regulation of Transmission of Specified Electronic Mail was enacted in 2002 and, through its 2008 amendment (in force from December 1, 2008), moved to an opt-in model under which advertising email may be sent only to recipients who have given prior consent. Technical filtering is used alongside legislation.

Filtering Technologies

Spam defenses rely on layered protection that combines several technologies.

Bayesian Filtering
Statistically analyzes word frequencies in email content to determine spam probability. Accuracy improves as users mark messages as spam. Paul Graham's paper "A Plan for Spam", published in August 2002, popularized this approach.
SPF (Sender Policy Framework)
DNS records specify which IP addresses are authorized to send email for a domain. Receiving servers verify the sender's IP against SPF records to detect spoofing.
DKIM (DomainKeys Identified Mail)
The sending server attaches a digital signature to emails, which recipients verify using a public key published in DNS. Detects tampering with the signed parts and confirms the signing domain.
DMARC
Builds on SPF and DKIM, allowing domain owners to specify how failed authentication should be handled (none/quarantine/reject) and receive reports on spoofing attempts.

Major email services like Gmail and Microsoft 365 combine these technologies with machine learning-based filtering. Google has required senders of more than 5,000 messages a day to Gmail addresses to authenticate their email with SPF, DKIM, and DMARC since February 2024. Yahoo's page for senders likewise states that enforcement of its sending standards takes effect beginning in February 2024. Bulk mail that does not meet these requirements risks rejection or spam-folder placement, so email authentication is a prerequisite for sending at volume.

Spambots and Mass Distribution

Spam sent at scale makes use of botnets. Attackers remotely control infected devices and send small volumes from each. Because the sending IP addresses are spread out, IP-based blacklists alone have trouble stopping it.

Website comment sections and contact forms are also targeted by spambots. Besides CAPTCHA and honeypot fields (hidden form fields invisible to humans), some setups add rate limiting to cope with bots that get past CAPTCHAs.

Practical Countermeasures

For Email Server Administrators

  • Configure SPF, DKIM, and DMARC: Reduce spoofing of your domain and improve filtering accuracy. Gradually tighten DMARC policy from none to quarantine to reject.
  • Use real-time blacklists (RBLs): Reference Spamhaus, Barracuda, and similar lists to reject mail from known spam sources.
  • Implement greylisting: Temporarily reject first-time connections. Legitimate servers retry; some spambots do not.

For Individual Users

  • Minimize email address exposure: Avoid publishing your email in plaintext on websites or social media.
  • Use the spam folder: Marking spam trains the Bayesian filter and improves accuracy over time.
  • Never click suspicious links: Spam links may lead to phishing sites or malware. Even "unsubscribe" links in malicious spam can confirm your address is active.

Common Misconceptions

Spam is harmless if you just ignore it
Even ignored, spam wastes server bandwidth and storage. Phishing and malware-laden messages also hide among spam, and a single misclick can lead to damage.
Clicking 'unsubscribe' stops spam
For legitimate senders, unsubscribe works. For malicious spam, clicking unsubscribe confirms your address is active and monitored, potentially increasing the volume of spam you receive.
Gmail or Outlook makes spam protection unnecessary
Filtering by major email services is not 100% effective either. Targeted spear-phishing can bypass filters. User judgment and organizational SPF/DKIM/DMARC configuration therefore remain part of the defense.
Share

Related Terms

Related Articles