---
title: "CAPEC-312: Active OS Fingerprinting"
url: https://radicalnotion.ai/capec/capec-312
type: capec
description: "An adversary engages in activity to detect the operating system or firmware version of a remote target by interrogating a device, server, or platform with a probe designed to solicit behavior that will reveal information about the operating systems or firmware in the environment. Operating System detection is possible because implementations of common protocols (Such as IP or TCP) differ in distinct ways. While the implementation differences are not sufficient to 'break' compatibility with the protocol the differences are detectable because the target will respond in unique ways to specific probing activity that breaks the semantic or logical rules of packet construction for a protocol. Different operating systems will have a unique response to the anomalous input, providing the basis to fingerprint the OS behavior. This type of OS fingerprinting can distinguish between operating system types and versions."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-312: Active OS Fingerprinting

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

## Description

An adversary engages in activity to detect the operating system or firmware version of a remote target by interrogating a device, server, or platform with a probe designed to solicit behavior that will reveal information about the operating systems or firmware in the environment. Operating System detection is possible because implementations of common protocols (Such as IP or TCP) differ in distinct ways. While the implementation differences are not sufficient to 'break' compatibility with the protocol the differences are detectable because the target will respond in unique ways to specific probing activity that breaks the semantic or logical rules of packet construction for a protocol. Different operating systems will have a unique response to the anomalous input, providing the basis to fingerprint the OS behavior. This type of OS fingerprinting can distinguish between operating system types and versions.

## 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

- Any type of active probing that involves non-standard packet headers requires the use of raw sockets, which is not available on particular operating systems (Microsoft Windows XP SP 2, for example). Raw socket manipulation on Unix/Linux requires root privileges. A tool capable of sending and receiving packets from a remote system.

## Consequences

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

## Related weaknesses (CWE)

- [CWE-200](https://radicalnotion.ai/cwe/cwe-200): Exposure of Sensitive Information to an Unauthorized Actor

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-224](https://radicalnotion.ai/capec/capec-224) | Fingerprinting |
| Child | [CAPEC-317](https://radicalnotion.ai/capec/capec-317) | IP ID Sequencing Probe |
| Child | [CAPEC-318](https://radicalnotion.ai/capec/capec-318) | IP 'ID' Echoed Byte-Order Probe |
| Child | [CAPEC-319](https://radicalnotion.ai/capec/capec-319) | IP (DF) 'Don't Fragment Bit' Echoing Probe |
| Child | [CAPEC-320](https://radicalnotion.ai/capec/capec-320) | TCP Timestamp Probe |
| Child | [CAPEC-321](https://radicalnotion.ai/capec/capec-321) | TCP Sequence Number Probe |
| Child | [CAPEC-322](https://radicalnotion.ai/capec/capec-322) | TCP (ISN) Greatest Common Divisor Probe |
| Child | [CAPEC-323](https://radicalnotion.ai/capec/capec-323) | TCP (ISN) Counter Rate Probe |
| Child | [CAPEC-324](https://radicalnotion.ai/capec/capec-324) | TCP (ISN) Sequence Predictability Probe |
| Child | [CAPEC-325](https://radicalnotion.ai/capec/capec-325) | TCP Congestion Control Flag (ECN) Probe |
| Child | [CAPEC-326](https://radicalnotion.ai/capec/capec-326) | TCP Initial Window Size Probe |
| Child | [CAPEC-327](https://radicalnotion.ai/capec/capec-327) | TCP Options Probe |
| Child | [CAPEC-328](https://radicalnotion.ai/capec/capec-328) | TCP 'RST' Flag Checksum Probe |
| Child | [CAPEC-329](https://radicalnotion.ai/capec/capec-329) | ICMP Error Message Quoting Probe |
| Child | [CAPEC-330](https://radicalnotion.ai/capec/capec-330) | ICMP Error Message Echoing Integrity Probe |
| Child | [CAPEC-331](https://radicalnotion.ai/capec/capec-331) | ICMP IP Total Length Field Probe |
| Child | [CAPEC-332](https://radicalnotion.ai/capec/capec-332) | ICMP IP 'ID' Field Error Message Probe |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| ATTACK | System Information Discovery | 1082 |

## Frequently asked questions

### What is CAPEC-312?

An adversary engages in activity to detect the operating system or firmware version of a remote target by interrogating a device, server, or platform with a probe designed to solicit behavior that will reveal information about the operating systems or firmware in the environment. Operating System detection is possible because implementations of common protocols (Such as IP or TCP) differ in distinct ways. While the implementation differences are not sufficient to 'break' compatibility with the protocol the differences are detectable because the target will respond in unique ways to specific probing activity that breaks the semantic or logical rules of packet construction for a protocol. Different operating systems will have a unique response to the anomalous input, providing the basis to fingerprint the OS behavior. This type of OS fingerprinting can distinguish between operating system types and versions.

### What weaknesses does CAPEC-312 target?

CAPEC-312 exploits one CWE weakness: CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor).

### How severe is CAPEC-312?

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

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

---

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