---
title: "CAPEC-332: ICMP IP 'ID' Field Error Message Probe"
url: https://radicalnotion.ai/capec/capec-332
type: capec
description: "An adversary sends a UDP datagram having an assigned value to its internet identification field (ID) to a closed port on a target to observe the manner in which this bit is echoed back in the ICMP error message. This allows the attacker to construct a fingerprint of specific OS behaviors."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-332: ICMP IP 'ID' Field Error Message Probe

- **Abstraction:** Detailed
- **Status:** Stable
- **Typical severity:** Low
- **Likelihood of attack:** Medium
- **CAPEC catalog version:** 3.9

## Description

An adversary sends a UDP datagram having an assigned value to its internet identification field (ID) to a closed port on a target to observe the manner in which this bit is echoed back in the ICMP error message. This allows the attacker to construct a fingerprint of specific OS behaviors.

The internet identification field (ID) is typically utilized for reassembling a fragmented packet. RFC791 and RFC815 discusses about IP datagrams, fragmentation and reassembly. Some operating systems or router firmware reverse the bit order of the ID field when echoing the IP Header portion of the original datagram within the ICMP error message. There are three behaviors related to the IP ID field that can be used to distinguish remote operating systems or firmware: 1) it is echoed back identically to the bit order of the ID field in the original IP header, 2) it is echoed back, but the byte order has been reversed, or it contains an incorrect or unexpected value. Different operating systems will respond by setting the IP ID field differently within error messaging.

## Prerequisites

- The ability to monitor and interact with network communications. Access to at least one host, and the privileges to interface with the network interface card.

## Resources required

- A tool capable of sending/receiving UDP datagram packets from a remote system to a closed port and receive an ICMP Error Message Type 3, "Port Unreachable."

## Consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Data | - |
| Confidentiality, Access Control, Authorization | Bypass Protection Mechanism, Hide Activities | - |

## Related weaknesses (CWE)

- [CWE-204](https://radicalnotion.ai/cwe/cwe-204): Observable Response Discrepancy

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-312](https://radicalnotion.ai/capec/capec-312) | Active OS Fingerprinting |

## Frequently asked questions

### What is CAPEC-332?

An adversary sends a UDP datagram having an assigned value to its internet identification field (ID) to a closed port on a target to observe the manner in which this bit is echoed back in the ICMP error message. This allows the attacker to construct a fingerprint of specific OS behaviors.

### What weaknesses does CAPEC-332 target?

CAPEC-332 exploits one CWE weakness: CWE-204 (Observable Response Discrepancy).

### How severe is CAPEC-332?

MITRE rates CAPEC-332 as Low severity with medium likelihood of attack.

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

---

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