1 Introduction
Spoofing is the act of impersonating someone or something else on a network. It is the digital equivalent of wearing a disguise: the attacker puts on a mask to make you believe they are someone you trust.
Imagine someone showing up at your door in a postal worker uniform, with a fake badge and a fake package. You trust them because they look like a postal worker. On the Internet, spoofing works the same way: the attacker forges an identity (sender name, email address, phone number, SMS sender, domain name, network address) to gain your confidence. Spoofing is rarely the goal in itself: it is the disguise that makes phishing, fake bank advisor calls or CEO fraud believable.
The four major families of spoofing
Email Spoofing
Forging the sender address or display name of an email
Caller ID and SMS Spoofing
Faking the displayed phone number or SMS sender name
Domain Spoofing
Imitating a legitimate domain name or website
ARP Spoofing
Intercepting traffic on a local network
2 How It Works
Each type of spoofing exploits a different trust mechanism. Let us examine how each one works in detail:
Email Spoofing
The SMTP protocol (which sends emails) was designed in the 1980s without built-in authentication. The "From" field in an email is just a text string that the sender can set to anything. It is as easy as writing someone else's return address on a physical letter. There are three main variants: exact domain spoofing (the real address [email protected] is forged), display-name spoofing (the name says "CEO" but the address is any webmail), and lookalike domains ([email protected]).
// The attacker connects to an SMTP server and writes:
MAIL FROM: <[email protected]>
RCPT TO: <[email protected]>
DATA
From: Chief Executive <[email protected]>
Subject: Urgent transfer - confidential
Hello, please make a transfer of 45,000 EUR...
Without protection
Anyone can send an email claiming to be from your CEO, your bank, or any other address. The recipient's email client displays whatever the attacker put in the From field.
With SPF/DKIM/DMARC
SPF lists the servers allowed to send for a domain, DKIM signs messages, and DMARC checks that the visible From matches. With DMARC set to quarantine or reject, exact domain spoofing is blocked. It does not stop display-name spoofing or lookalike domains. See Analyzing a suspicious email.
Caller ID and SMS Spoofing
Using VoIP (Voice over IP) services, attackers can make almost any phone number appear on your screen: your bank's real number, a government agency, or even your own number. This technique is heavily used in vishing (voice phishing). SMS works the same way: bulk SMS services let the sender choose a name such as "BANK" or "DELIVERY" instead of a number, and the fake message can even land in the same conversation thread as the real ones. The voice itself can now be faked too: with a few seconds of audio, AI tools can clone the voice of a relative or a manager.
Classic scenario: the fake bank advisor
A call shows your bank's number. The "advisor" warns you about fraud on your account and asks you to read out a code you just received, or to approve an operation in your app, to "block" it. In reality, you are approving the scammer's payment.
Defenses
Hang up and call back the official number yourself (the one on your card). Never share a code over the phone. Carriers are deploying number authentication: STIR/SHAKEN in the US and Canada, and in France operators must authenticate landline numbers since October 2024. These help, but spoofed calls still get through, so a familiar number proves nothing.
Domain Spoofing
Attackers create websites that closely imitate legitimate ones. They register lookalike domains using typosquatting, homoglyphs (letters from other alphabets), added words (combosquatting) or subdomain tricks. The fake site is often a pixel-perfect copy of the real one, designed to harvest credentials or distribute malware. The same domains are then used to send authenticated emails. See Analyzing a suspicious domain.
arnazon.com
Typosquatting ("rn" looks like "m")
apple.com.verify.xyz
Subdomain trick
amazon-secure.com
Combosquatting
ARP Spoofing
ARP (Address Resolution Protocol) maps IP addresses to physical MAC addresses on a local network. In an ARP spoofing attack, the attacker sends fake ARP messages to associate their MAC address with the IP of another device (usually the router). This allows them to intercept, modify, or stop network traffic -- a classic man-in-the-middle attack. It requires being on the same network as the victim, for example a shared or public Wi-Fi.
Defenses
For everyone: use HTTPS sites and never click through certificate warnings; a VPN adds protection on untrusted networks (see Public Wi-Fi safety). For network administrators: Dynamic ARP Inspection (DAI) on managed switches, static ARP entries for critical systems, and network segmentation with VLANs.
3 Detailed Analysis
CEO fraud: spoofing in action
One of the most costly attacks based on spoofing is CEO fraud, part of the wider Business Email Compromise (BEC) family. Here is how it works:
Reconnaissance: the attacker studies the company on LinkedIn, social media and its website to identify the executives and the accounting team.
Spoofing: they send an email impersonating the CEO (forged address, display name or lookalike domain), sometimes followed by a call with a cloned voice.
Manipulation: they request a "confidential" transfer to a foreign account, insisting on urgency and secrecy. A variant targets suppliers: "our bank details have changed".
Extraction: the money is transferred and quickly moved through a network of accounts, which makes recovery difficult.
The FBI reported more than $55 billion in exposed losses from BEC worldwide between 2013 and 2023 (FBI IC3, 2024). The best defense is procedural: any payment or bank detail change is confirmed by calling a number you already know.
DMARC enforcement: closing the door on email spoofing
A DMARC record only protects a domain if its policy is enforced. Many organizations stop at the first step:
p=none -- monitoring only
The domain receives reports but asks receivers to deliver spoofed emails anyway. This is the minimum now required from bulk senders by Gmail, Yahoo and Outlook.com, but it blocks nothing.
p=quarantine -- to the spam folder
Messages that fail DMARC are treated as suspicious and usually land in spam.
p=reject -- refused
Messages that fail DMARC are rejected before reaching the inbox. This is the target for every domain, including domains that never send email (to stop anyone using them).
You can check a domain's policy yourself: it is published in DNS as a TXT record on _dmarc.example.com (see What is DNS?).
Comparison of spoofing techniques
| Technique | What is forged | Common use | Defense |
|---|---|---|---|
| Email (exact domain) | From address | Phishing, BEC fraud | SPF, DKIM, DMARC at p=reject |
| Display name | Sender name only | CEO fraud, fake support | Check the full address, mail filtering |
| Caller ID | Phone number | Vishing, fake bank advisor | Call back yourself, STIR/SHAKEN, number authentication |
| SMS sender ID | Sender name or number | Smishing (parcels, fines, bank) | Never click, use the official app |
| Domain | Website identity | Credential harvesting | Check the exact URL, password manager, passkeys |
| ARP | MAC address | Man-in-the-middle, eavesdropping | HTTPS, VPN, DAI, VLANs |
| IP | Source IP address | DDoS amplification, evasion | Ingress filtering (BCP38) |
Other spoofing in real-world attack chains
Evil Twin Wi-Fi
The attacker creates a Wi-Fi access point with the same name as a legitimate network (like "Airport_Free_WiFi"). Devices that remember the name may connect automatically, and the victim's traffic passes through the attacker's device.
DNS Spoofing (Cache Poisoning)
The attacker corrupts a DNS resolver's cache so that a legitimate domain name resolves to a malicious IP. Users typing the correct URL end up on the attacker's server. HTTPS limits the damage: the fake server cannot present a valid certificate for the real domain, so the browser shows a warning.
Try it on mlab.sh
Analyze email headers to verify SPF, DKIM, and DMARC authentication results. Detect email spoofing by tracing the real origin of a message through its header chain.
Verify email authenticity4 Red Flags
Here are the warning signs that you may be the target of a spoofing attack:
Display name does not match email
The name shows "IT Support" but the actual email address is [email protected]. Always check the full email address, not just the display name.
Caller asks for codes or approvals
A "bank" calling to ask for your PIN, password, a one-time code or to approve an operation in your app is always a scam. Hang up and call the official number yourself, even if the caller ID looks real.
Urgency and secrecy
"This is urgent, don't tell anyone." Urgency is the attacker's main weapon to stop you from checking and thinking.
Sudden change of bank details
"Our bank account has changed, please use these new details." Any change of payment details must be verified through another channel you already know.
Unexpected authentication failure
If the email headers show a DMARC, SPF or DKIM failure for a supposedly legitimate sender, the email is likely spoofed. Check the Authentication-Results header.
Pressure to bypass security or procedures
"Skip the double approval just this once", "Ignore the security warning", "Disable your antivirus to install this update." Any request to lower your defenses is a hallmark of spoofing-based attacks.
Certificate warning in the browser
A full-page "Your connection is not private" warning on a site you use every day can mean someone is intercepting traffic (ARP or DNS spoofing, evil twin). Never click through: leave the network and try again later.
A familiar voice with an unusual request
A relative or manager calling from an unknown number, in distress, asking for money urgently. Voices can be cloned: hang up and call them back on their usual number, or agree in advance on a family code word.
What to do
Verify through a second channel you already know: the number on your card, the colleague's usual phone number, the official website typed by hand. Never use the contact details given in the suspicious message.
Money already sent? Call your bank immediately: a transfer can sometimes be recalled if you act within hours. Then file a police report.
Report it. If you are in France: forward spam SMS and report spoofed calls to 33700, report phishing emails on signal-spam.fr, and get help from 17Cyber (17cyber.gouv.fr) or cybermalveillance.gouv.fr.
Related Modules
Source: mlab Academy — Cybersecurity Awareness Platform
URL: https://academy.mlab.sh//page/spoofing-techniques
Module: Spoofing techniques — Phishing & Social Engineering
Disclaimer: This content is for awareness purposes only.