Table of contents
Title
Table of contents
Title

Spoofing

Updated

Spoofing is an attack in which someone forges the identity of a sender, a device, a service or a signal so that the receiving party accepts it as legitimate. The forgery can be an email address, a caller ID, a MAC or IP address, a DNS answer, an HTTP header or a satellite signal. All of them rest on one assumption: that an identifier presented by the sender proves who the sender is.

In 2025 the FBI’s Internet Crime Complaint Center received 191,561 complaints in its phishing/spoofing category, with $215,843,126 in reported losses, plus 24,768 complaints for business email compromise with $3,046,598,558 in losses. The second figure is fourteen times the first, and the technique behind both is the same.

This page covers how each spoofing variant works at the protocol level, what SPF, DKIM and DMARC do and do not solve, and which spoofing weaknesses live in your application code rather than in your network.

What is spoofing?

Spoofing is the forgery of an identifier that a protocol or a person treats as proof of identity. The attacker does not break authentication; in most variants there was no authentication to break. ARP, DNS, SMTP and GPS were all designed for cooperative networks, and none verifies that a sender is who it claims to be. That is why one word covers an email whose From field was typed by the attacker, an ARP reply that reroutes a local network, and a transmitter that makes a receiver compute the wrong position.

Spoofing is a means, not an end. On its own, a forged identifier does nothing. It becomes damaging when something downstream acts on it: a finance team pays an invoice, a browser submits credentials, a service grants access.

Spoofing, phishing and business email compromise are not the same thing

These terms get used interchangeably, including by vendors. They describe different layers of the same attack.

Term

What it names

Example

Spoofing

The forgery of an identifier

A message whose From header reads [email protected], sent from an unrelated server

Phishing

The deception that convinces a person to act

The message asks the reader to confirm credentials on a page the attacker controls

Business email compromise

The fraud scheme targeting a company’s payments

A supplier’s bank details change before a scheduled transfer

Impersonation

The result the attacker achieves

A system treats the attacker’s actions as another user’s

Spoofing is the technique, phishing is the persuasion, and business email compromise is one of the outcomes attackers monetize.

A phishing campaign can run on a lookalike domain, with no forged header at all, and a business email compromise scheme can run from a genuinely compromised mailbox. Treating the three as synonyms is why organizations buy an email gateway and consider the problem closed.

Spoofing at Fluid Attacks

Fluid Attacks tests the surfaces where spoofing gets accepted by software: DNS records, HTTP headers, and the application logic that decides whose action a request represents.

What we assess, and under what rules

Fluid Attacks tests systems only with the client’s authorization and within an agreed scope. Our DAST scanner covers seven attack surfaces: DNS records, headers, HTML content, SSL connections, unauthenticated HTTP endpoints, webhooks and WebSockets. Pentesting as a Service (PTaaS) covers those and adds authenticated endpoints and GraphQL, gRPC, REST and SOAP APIs, because most impersonation flaws appear only once a tester is logged in as a real user.

What it looks like in practice

Each variant maps to an entry in Fluid Attacks’ public weakness catalog, with an expected remediation time and, where available, a code-level fix.

Surface

What gets forged

Catalog entry

Expected remediation

Email domain

The sending domain of a message

182. Email spoofing

120 minutes

HTTP headers

The host a server believes it is serving

193. Host header injection

30 minutes

Mail features in an app

The headers and recipients of outgoing mail

442. SMTP header injection

120 minutes

Application logic

The user or system an action appears to come from

032. Spoofing

45 minutes

The four weaknesses most directly linked to spoofing in Fluid Attacks’ catalog, each with the remediation time our analysts expect.

The detection rules are public too. DAST-IAGSS reports a domain with no DMARC record, mapped to entry 182 and CWE-290; SAST-DEXEA flags unsanitized input reaching email headers in Node.js applications, mapped to CWE-113.

What a pentester finds that a scanner does not

Automated scanning catches the configuration half of this problem and misses the logic half. In Fluid Attacks’ benchmark of 36 third-party AppSec tools against a web application seeded with 1,201 known vulnerabilities, one pentester found 1,076 of them — 89.6% recall at 100% precision — while the best-performing automated scanner, our own, reached 22.7%. By risk exposure the gap widens: the pentester accounted for 98.9% of the application’s CVSSF units against the scanner’s 8.8%, and 743 vulnerabilities came from manual testing alone.

A missing record of that kind is the sort of finding a scanner reports in seconds. Application-level spoofing is not: an endpoint that lets an authenticated user post a message as the system, which is weakness 032, requires someone to be logged in and to try it.

What we do not test

Fluid Attacks does not test the security of email servers. Our documentation states it plainly: asked whether it tests them, the answer is “Not at this time”. A full audit of your mail infrastructure, including DKIM key rotation and the behavior of your receiving filters, is outside our scope.

What is inside it: whether your domains publish SPF and DMARC records at all, whether your application validates the Host header, and whether its features can be made to send mail or take actions in someone else’s name. We would rather name that boundary than let a reader assume one program covers every form of spoofing.

Treat the From field and the caller ID as unverified input

The practice that decides the rest is procedural, not technical. No identifier that arrives with a message proves who sent it: not a phone number, not a display name, not a reply-to address. Any change to payment details, bank accounts or credentials should be confirmed through a channel the requester did not choose, using contact data your organization already held. Email authentication raises the cost of forging a domain; it does not make the From field evidence.

How email spoofing works, and what SPF, DKIM and DMARC do

Email spoofing works because SMTP carries two separate sender addresses and shows the reader only one. The envelope sender, used for delivery, is invisible in most clients. The From header, the one the reader sees, is text the sending server writes.

Three DNS-published mechanisms address this, and each answers a different question.

Mechanism

What it checks

What it does not check

SPF

Whether the sending server’s IP is authorized for the envelope domain

The From header the reader sees

DKIM

Whether a cryptographic signature matches a key published by the signing domain

Whether the signing domain is the one in the From header

DMARC

Whether an SPF or DKIM result aligns with the From domain, and what receivers should do when it does not

Message content, intent, or domains that merely look similar

What each email authentication mechanism verifies, and what it leaves unanswered.

How SPF, DKIM and DMARC check a message before it reaches the inbox

Each mechanism answers a different question, and only DMARC ties the result to the domain the reader sees in the From field. Own work.

The third mechanism was re-standardized in May 2026 as RFC 9989, which obsoletes the original RFC 7489, with its reporting formats specified separately in RFC 9990 and RFC 9991. The practical detail people miss is the policy: p=none only produces reports, so a domain publishing it is monitored, not protected. Only p=quarantine or p=reject asks receiving servers to act.

Fluid Attacks reports a missing record as weakness 182, tied to requirements 062 and 273, with code-level fixes in Go, Java and Scala. The impact our catalog records is concrete: unauthorized email sent from the company’s own domain, impersonating its identity and making phishing more likely to succeed against its customers, suppliers and staff.

Fluid Attacks Database entry for email spoofing and missing DMARC records

Entry 182 of Fluid Attacks’ weakness catalog: a missing DMARC record is a reportable finding, with an expected remediation time of 120 minutes.

Email spoofing versus business email compromise

The most expensive case on record did not depend on header forgery. Between 2013 and 2015, Evaldas Rimasauskas took more than $100 million from two large U.S. technology companies. According to the U.S. Department of Justice, to which he pleaded guilty in March 2019, he registered a company in Latvia bearing the same name as a genuine Asian hardware manufacturer, then sent emails purporting to come from that manufacturer’s employees, backed by forged invoices and contracts with false corporate stamps.

Perfect email authentication would not have stopped it, because the attacker owned a real company with real accounts. That is the argument for payment verification that does not depend on what an email claims.

Network-level spoofing: ARP, IP and name resolution

On a local network, these techniques exist to get the attacker into the traffic path. MITRE classifies them under T1557, Adversary-in-the-Middle, whose sub-techniques include name resolution poisoning with SMB relay, ARP cache poisoning, DHCP spoofing and evil twin access points.

ARP spoofing

ARP resolves an IPv4 address to a MAC address inside a single network segment, and it accepts answers nobody asked for. In ARP spoofing, the attacker announces that the gateway’s IP belongs to their own MAC address, and hosts on that segment start routing traffic through the attacker’s machine. The result is a man-in-the-middle attack: traffic can be read, modified and forwarded to its real destination.

IP spoofing

IP spoofing forges the source address of packets, not the mapping between addresses. Because a recipient replies to whatever source address it was given, this is the basis of reflection and amplification attacks: small requests go to open services carrying the victim’s address, and the services deliver much larger replies to the victim. Ingress and egress filtering at the network edge is the control that limits it.

LLMNR and NBT-NS poisoning

When a Windows host cannot resolve a name through DNS, it asks the whole local segment over LLMNR and NBT-NS, and anyone there can answer. As Jonathan Armas, security analyst at Fluid Attacks, puts it in a walkthrough of the Responder tool

“An attacker can listen to them and then respond with a spoof of an authoritative source for name resolution”.

The host connects to the attacker, and if the resource asks for authentication, “the victim will send a username and an NTLMv2 hash”.

No malware, no exploit, no user interaction: just a protocol that trusts whoever replies first.

DNS spoofing, cache poisoning and hijacking

These three terms describe different points of failure in name resolution, and conflating them is the most common error in explanations of DNS spoofing.

Term

Where it happens

What the attacker needs

DNS spoofing

The answer in transit

A forged response that reaches the resolver before the real one

DNS cache poisoning

The resolver’s cache

A forged answer the resolver stores and serves to everyone behind it

DNS hijacking

The authoritative records or the registrar account

Access to the DNS provider, registrar or name server

Three attacks on name resolution that are routinely treated as one.

Cache poisoning is the one with reach, because a single accepted forgery is served to every client behind that resolver until the record expires. DNSSEC addresses it by signing answers, so a resolver can reject one that does not validate. Hijacking is the hardest to spot from outside: the records are genuinely wrong, served by the real name servers, and a valid certificate for the domain is usually within reach once its DNS belongs to the attacker.

Spoofing inside your application

The spoofing variant almost nobody covers is the one developers can fix themselves. An application can be made to misrepresent who performed an action, and that is a software defect, not a network problem.

Host header injection is the clearest case. The server uses the Host header to decide which site to serve, and when it is not validated, an attacker can make the application generate links and redirects pointing at their own domain. Password reset links are the classic target. Fluid Attacks records it as weakness 193, with an exploit maturity of “Attacked”, fixes in eight languages and 30 minutes of expected remediation.

SMTP header injection turns a contact form into a mail relay. Unvalidated input reaches the headers of a message the application sends, so the attacker controls recipients or content in email that genuinely originates from your domain and passes every authentication check. It is weakness 442.

Application-level spoofing is entry 032: it is possible to perform actions in the application and make them look as if the system or another user performed them. The impact our analysts record is impersonation of the application itself, which raises the success rate of phishing and social engineering against its own users.

In Fluid Attacks’ State of Attacks 2026, built on vulnerabilities reported between January and December 2025, “authentication mechanism absence or evasion” was the single largest driver of risk exposure, at 19.1% of the total across all systems evaluated, and appeared in 32.9% of them.

GPS and location spoofing

Two different things get called GPS spoofing, and only one of them involves radio.

Location spoofing in an application changes what a device reports about itself. Pokémon GO made it famous: software on the phone feeds the app a position its user never visited. The app is deceived; the satellites are not involved.

GNSS spoofing transmits counterfeit satellite signals so a receiver computes a false position or time. Those signals are, in the FAA’s words, “extremely weak and easily overpowered”, and most receivers accept whatever they get. An FAA briefing reports that 209 airlines recorded roughly 150,000 loss-of-GPS events between June 2022 and June 2023 across about five million flight operations, on a steeply rising trend. The distinction matters for anything that takes time or position as an input, including the timestamps in your own logs.

Conclusions

Spoofing is not one attack with one countermeasure. It is a property shared by protocols that were never designed to verify identity, so the controls differ by layer: a policy stronger than p=none for email domains, DNSSEC for name resolution, filtering for forged source addresses, and input validation for the headers and actions inside your own software.

The last one is what most organizations leave untested. Gateways and network controls get bought and configured; whether an application can be made to act in someone else’s name is answered only by someone trying it. With automated scanning finding 10% to 30% of a system’s total risk exposure, application-level spoofing does not get ruled out by tooling alone.

Frequently asked questions

What is the difference between spoofing and phishing?

Spoofing is the forgery of an identifier; phishing is the attempt to convince a person to act on a deceptive message. Phishing often relies on it, but it can also use a lookalike domain the attacker registered legitimately, in which case nothing is forged. And a forged identifier with no persuasion attached, such as a false source IP in an amplification attack, is not phishing.

Can SPF, DKIM and DMARC stop all email spoofing?

No. Together they let receiving servers verify that a message’s visible domain is authorized and unaltered, which stops direct spoofing of your domain. They do nothing about lookalike domains, compromised mailboxes, or display names that read as a familiar person, and their effect depends on the published policy: p=none only generates reports.

How do you detect caller ID spoofing?

You cannot detect it from the call itself. The number shown is supplied by the originating network, not verified by it. The reliable control is procedural: end the call and dial back using a number your organization already held, never one given to you during the call.

Is DNS spoofing the same as DNS cache poisoning?

No. The broader term covers any forged answer in the resolution path. Cache poisoning is the case where a resolver stores that answer and serves it to every client behind it until the record expires, which is what gives one forgery wide reach.

Does Fluid Attacks test for spoofing vulnerabilities?

Yes, within a defined scope: DNS records, HTTP headers and application logic, through DAST and PTaaS. Email server security is not part of it. In Fluid Attacks’ benchmark of 36 third-party AppSec tools against an application with 1,201 known vulnerabilities, one pentester found 89.6% of them at 100% precision while the best automated scanner reached 22.7%, which is why the logic-level variants get tested by hand.

Find out where your systems accept a forged identity

Our scanners check your DNS records and headers continuously, and our pentesters test whether your application can be made to act in someone else’s name. Start free trial · Contact us.

Get started with Fluid Attacks' ASPM solution right now

Reduce risk without slowing delivery

Fast and accurate results from one continuous security program powered by AI, scanners, and pentesters.

Reduce risk without slowing delivery

Fast and accurate results from one continuous security program powered by AI, scanners, and pentesters.

Reduce risk without slowing delivery

Fast and accurate results from one continuous security program powered by AI, scanners, and pentesters.