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 |
|
Display brand logo | TXT | With DMARC p=reject | |
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
Publish SPF
v=spf1 include:_spf.google.com -all.-allmeans "reject everything not authorized".Sign with DKIM
2048-bit key, rotated every 6–12 months.
Publish DMARC
Start with
p=noneto monitor, thenp=quarantine, thenp=reject.Monitor the DMARC reports
rua=mailto:dmarc@example.com. Fix sends that fail alignment before escalating policy.Add BIMI
Requires DMARC
p=rejectand 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)
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, notyourdomian.com. Register lookalikes.- How strict should p= be?
p=rejectonce you have 2+ weeks of cleanp=nonedata. Never go straight to reject.- What about subdomains?
Set
sp=or usep=reject+sp=rejectfor all subdomains.
Connections
Kucherawy, M. & Zwicky, E. (2015). RFC 7489. https://www.rfc-editor.org/rfc/rfc7489
CISA (2024). BOD 18-01. https://www.cisa.gov/news-events/directives/bod-18-01-enhance-email-and-web-security
M3AAWG (2024). DMARC Best Practices. https://www.m3aawg.org/
Etymology
Origin: compound
email(noun): from French émail, "enamel"; electronic mail since 1970sspoof(verb): from Dutch spoof, "hoax"
Semantic network
● broader ● narrower ● related
Sources
Kucherawy & Zwicky (2015). RFC 7489. https://www.rfc-editor.org/rfc/rfc7489
CISA (2024). https://www.cisa.gov/news-events/directives/bod-18-01-enhance-email-and-web-security