Skip to content

Email spoofing

Email spoofing is the forgery of the sender address in an email so it appears to come from someone else; without DMARC, SPF and DKIM enforcement, an attacker can impersonate any brand or person.

Definition

What it is

SMTP was designed in 1982 without authentication. The MAIL FROM and From: header are just text. Anyone can send an email claiming to be ceo@example.com unless the receiving server verifies the sender. Spoofing is used for phishing, business email compromise (BEC), and brand impersonation.

Anti-spoofing relies on three DNS-based standards (SPF, DKIM, DMARC) plus the SMTP Received chain. When all three pass, the receiver trusts the sender. When DMARC is set to p=reject, spoofed mail is blocked.

Why it matters

The FBI IC3 reports BEC losses over $2.7B in 2022 (US alone). Most attacks begin with an email that appears to come from a colleague, a vendor or a bank. DMARC at p=reject blocks 95%+ of spoofed mail.

SPF vs DKIM vs DMARC

Standard

Purpose

Record type

Enforcement

SPF

Authorize sender IPs

TXT on domain

Receiver checks

DKIM

Sign message with private key

TXT selector

Receiver verifies signature

DMARC

Policy for SPF/DKIM alignment

TXT _dmarc

none, quarantine, reject

BIMI

Display brand logo

TXT _bimi

With DMARC p=reject

MTA-STS

Force TLS on SMTP

HTTPS policy

Sender enforces

The flow of a spoofed email

sequenceDiagram
  participant A as Attacker
  participant R as Receiver MTA
  participant D as DNS
  A->>R: EHLO fake.example
  A->>R: MAIL FROM <ceo@trusted.com>
  A->>R: DATA From: ceo@trusted.com
  R->>D: SPF check trusted.com
  D-->>R: pass/fail
  R->>D: DKIM verify
  D-->>R: pass/fail
  R->>D: DMARC policy
  D-->>R: reject
  R-->>A: 550 rejected

How to prevent spoofing

Anti-spoofing checklist

  1. Publish SPF

    v=spf1 include:_spf.google.com -all. -all means "reject everything not authorized".

  2. Sign with DKIM

    2048-bit key, rotated every 6–12 months.

  3. Publish DMARC

    Start with p=none to monitor, then p=quarantine, then p=reject.

  4. Monitor the DMARC reports

    rua=mailto:dmarc@example.com. Fix sends that fail alignment before escalating policy.

  5. Add BIMI

    Requires DMARC p=reject and a VMC (Verified Mark Certificate). Shows logo in mail clients.

Common failures

Origin

SPF was proposed in 2003 (RFC 4408, 2006). DKIM followed in 2007 (RFC 6376, 2011). DMARC was published in 2012 (RFC 7489, 2015). The UK's NCSC and the US CISA mandated DMARC for government domains between 2016 and 2020, accelerating adoption. BIMI (2019) added logo display.

Without DMARC at p=reject, anyone can send email as your domain. With it, spoofing stops.

— M3AAWG, *DMARC Best Practices*, 2024 (paraphrase)
2003 · SPF propuesto
2011 · DKIM (RFC 6376)
2012 · DMARC publicado
2020 · CISA DMARC mandate (US federal)
2024 · 5M+ domains with DMARC

Evidence

FAQ

Spoofing vs phishing?

Spoofing is the technique (forge sender); phishing is the goal (steal credentials). Spoofing enables phishing.

Does DMARC stop lookalike domains?

No. It protects yourdomain.com, not yourdomian.com. Register lookalikes.

How strict should p= be?

p=reject once you have 2+ weeks of clean p=none data. Never go straight to reject.

What about subdomains?

Set sp= or use p=reject + sp=reject for all subdomains.

Connections

Etymology

Origin: compound

  • email (noun): from French émail, "enamel"; electronic mail since 1970s
  • spoof (verb): from Dutch spoof, "hoax"

Semantic network

Email spoofiemail-secuSPFDKIMDMARCBIMIMTA-STS

● broader ● narrower ● related

Broader

  • email-security

Related

Sources