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

TypeWhat is fakedMain defence
EmailSender address or nameSPF, DKIM and DMARC (policy quarantine or reject); external-sender banners
Website / domainA site and its addressPassword managers (they won't fill on the wrong domain), phishing-resistant MFA, registering look-alike domains
Caller ID / SMSPhone number or sender nameCall back on a number you already know; never share one-time codes
IPSource address of packetsIngress/egress filtering at network edges (BCP 38); DDoS protection
ARPWhich device owns an IP on the LANDynamic ARP inspection on switches; encrypted protocols (TLS, VPN)
DNSThe answer to a domain lookupDNSSEC validation, trusted resolvers, HTTPS everywhere
GPSSatellite position and timeMulti-constellation receivers, cross-checking with other sensors and time sources

Warning signs

How to prevent spoofing

For organisations

  1. Publish SPF, DKIM and DMARC for every domain that sends email, and move DMARC to p=reject once reports look clean. Protect domains that never send email too, with an SPF record of v=spf1 -all and a DMARC policy of p=reject.
  2. Use phishing-resistant MFA (security keys or passkeys) for email, VPN and admin accounts.
  3. Verify payment changes out of band: a call to a number already on file, never the one in the email.
  4. Filter spoofed traffic at your network edge and enable ARP inspection and DNSSEC validation internally.
  5. Monitor look-alike domains and register the most obvious ones yourself.
  6. Train people with real examples and make reporting a suspicious message one click.

For individuals

Spoofed messages often deliver malware or exploit known vulnerabilities after the first click. Keeping software patched limits the damage: see how to check if your software is vulnerable.

Recent spoofing and phishing threats

Want to know when software you run is affected? Get free vulnerability alerts →

Open the live threat dashboard →