---
title: "CAPEC-598: DNS Spoofing"
url: https://radicalnotion.ai/capec/capec-598
type: capec
description: "An adversary sends a malicious (\"NXDOMAIN\" (\"No such domain\") code, or DNS A record) response to a target's route request before a legitimate resolver can. This technique requires an On-path or In-path device that can monitor and respond to the target's DNS requests. This attack differs from BGP Tampering in that it directly responds to requests made by the target instead of polluting the routing the target's infrastructure uses."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-598: DNS Spoofing

- **Abstraction:** Detailed
- **Status:** Draft
- **CAPEC catalog version:** 3.9

## Description

An adversary sends a malicious ("NXDOMAIN" ("No such domain") code, or DNS A record) response to a target's route request before a legitimate resolver can. This technique requires an On-path or In-path device that can monitor and respond to the target's DNS requests. This attack differs from BGP Tampering in that it directly responds to requests made by the target instead of polluting the routing the target's infrastructure uses.

## Prerequisites

- On/In Path Device

## Skills required

- **Low:** To distribute email

## Mitigations

- Design: Avoid dependence on DNS
- Design: Include "hosts file"/IP address in the application
- Implementation: Utilize a .onion domain with Tor support
- Implementation: DNSSEC
- Implementation: DNS-hold-open

## Example instances

Below-Recursive DNS Poisoning: When an On/In-path device between a recursive DNS server and a user sends a malicious ("NXDOMAIN" ("No such domain") code, or DNS A record ) response before a legitimate resolver can.

Above-Recursive DNS Poisoning: When an On/In-path device between an authority server (e.g., government-managed) and a recursive DNS server sends a malicious ("NXDOMAIN" ("No such domain")code, or a DNS record) response before a legitimate resolver can.

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-194](https://radicalnotion.ai/capec/capec-194) | Fake the Source of Data |

## Frequently asked questions

### What is CAPEC-598?

An adversary sends a malicious ("NXDOMAIN" ("No such domain") code, or DNS A record) response to a target's route request before a legitimate resolver can. This technique requires an On-path or In-path device that can monitor and respond to the target's DNS requests. This attack differs from BGP Tampering in that it directly responds to requests made by the target instead of polluting the routing the target's infrastructure uses.

### How do you prevent CAPEC-598?

Design: Avoid dependence on DNS

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/598.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/capec/capec-598). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
