What is a spoofing attack? Types, examples and how to prevent it
A spoofing attack is any attack in which someone pretends to be a source you trust: a colleague's email address, your bank's website, a support phone number, a server on your network. Spoofing is rarely the goal in itself; it is the disguise that makes phishing, fraud, malware delivery and network interception work.
The main types of spoofing
Email spoofing
The attacker forges the From address so a message appears to come from a trusted person or company. Classic uses are invoice fraud, fake password-reset messages and "CEO fraud" (business email compromise). A weaker variant, display-name spoofing, keeps a random address but shows a trusted name, which many mail apps display prominently.
Website and domain spoofing
A fake site copies the look of a real one, on a domain that is easy to mistake for the original: a typo (typosquatting), an extra word, a different top-level domain, or look-alike characters from other alphabets (an IDN homograph attack). These sites collect passwords, card numbers or one-time codes.
Caller ID and SMS spoofing
Many phone networks still let callers set the number that is displayed, so a call can appear to come from a bank or a government office (vishing). SMS sender names can be faked in a similar way (smishing), which is why fake parcel and bank texts can land in the same thread as real ones.
IP spoofing
Network packets carry a source IP address that the sender can forge. Attackers use this to hide where traffic comes from and, above all, in reflection and amplification DDoS attacks: they send small requests with the victim's address as the source, and servers on the internet answer the victim with much larger responses.
ARP spoofing
On a local network, ARP maps IP addresses to device hardware addresses. By sending forged ARP replies, an attacker can make other devices send their traffic through the attacker's machine: a man-in-the-middle position used to read or alter unencrypted traffic.
DNS spoofing (cache poisoning)
The attacker gets a DNS resolver to store a false answer, so users who type the correct domain name are sent to the wrong server. It can also be done by compromising a router or by changing DNS settings on a device with malware.
GPS spoofing
Fake satellite signals make a receiver calculate a wrong position or time. It affects ships, aircraft, vehicles and any system that relies on GPS time, and it has been reported at large scale near conflict zones.
Each type and its defence at a glance
| Type | What is faked | Main defence |
|---|---|---|
| Sender address or name | SPF, DKIM and DMARC (policy quarantine or reject); external-sender banners | |
| Website / domain | A site and its address | Password managers (they won't fill on the wrong domain), phishing-resistant MFA, registering look-alike domains |
| Caller ID / SMS | Phone number or sender name | Call back on a number you already know; never share one-time codes |
| IP | Source address of packets | Ingress/egress filtering at network edges (BCP 38); DDoS protection |
| ARP | Which device owns an IP on the LAN | Dynamic ARP inspection on switches; encrypted protocols (TLS, VPN) |
| DNS | The answer to a domain lookup | DNSSEC validation, trusted resolvers, HTTPS everywhere |
| GPS | Satellite position and time | Multi-constellation receivers, cross-checking with other sensors and time sources |
Warning signs
- Urgency or secrecy: "pay today", "don't tell anyone", "your account will be closed".
- A request to change payment details, buy gift cards, or share a code you just received.
- A sender name you know with an address you don't, or a reply-to address that differs from the sender.
- A domain that is almost right: an extra letter, a hyphen, an unusual ending.
- Your password manager does not offer to fill in your password on a "login" page.
- Certificate warnings, or a site suddenly asking you to log in again.
How to prevent spoofing
For organisations
- Publish SPF, DKIM and DMARC for every domain that sends email, and move DMARC to
p=rejectonce reports look clean. Protect domains that never send email too, with an SPF record ofv=spf1 -alland a DMARC policy ofp=reject. - Use phishing-resistant MFA (security keys or passkeys) for email, VPN and admin accounts.
- Verify payment changes out of band: a call to a number already on file, never the one in the email.
- Filter spoofed traffic at your network edge and enable ARP inspection and DNSSEC validation internally.
- Monitor look-alike domains and register the most obvious ones yourself.
- Train people with real examples and make reporting a suspicious message one click.
For individuals
- Use a password manager and passkeys or app-based MFA.
- Type addresses yourself or use bookmarks for banking and email.
- Hang up and call back on the official number if a call asks for money or codes.
- Never share one-time codes. No real support team needs them.
Recent spoofing and phishing threats
- CVE-2026-145494 - Hypercorn through 0.18.0 WSGI Header Spoofing via Underscore Header Names NVD · 5 Dec 2026
- CVE-2026-145366 - Istio: Workload identity impersonation via a mis-encoded SAN when using an extern… NVD · 4 Dec 2026
- CVE-2026-145237 - Istio: Cross-cluster secret disclosure via spoofed CLUSTER_ID in multicluster ist… NVD · 4 Dec 2026
- CVE-2026-120093 - Administrator impersonation and credential disclosure through Velocity viewtools NVD · 4 Dec 2026
- CVE-2026-144468 - NGINX Unit 1.29.0 through 1.35.0 and FreeUnit before 1.37.2 Local Privilege Escal… NVD · 3 Dec 2026
- Device-code phishing campaign plants rogue devices in 305 Entra tenants - BleepingComputer BleepingComputer · 3 Dec 2026
- IT guy emailed passwords to his wife, who promptly lost them in a phishing attack The Register · 3 Dec 2026
- CVE-2026-142635 - Laravel: IP Spoofing via Host Header in TrustProxies Middleware Forge/Vapor Auto-… NVD · 2 Dec 2026