CAPEC-312
Active OS Fingerprinting
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.
On this page
Ask an AI about this attack pattern
Show the prompt
Explain the attack pattern CAPEC-312: Active OS Fingerprinting: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/312.html and https://cve.bz/cve/capec/312?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.
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
| Impact | Affects | Note |
|---|---|---|
| Read Data | Confidentiality | |
| Hide Activities | Confidentiality, Access Control, Authorization |
Weaknesses it exploits
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Recent CVEs with these weaknesses
- 3.3CVE-2026-118999
Permission control vulnerability in the theme setting module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.
- 5.5CVE-2026-140052
A vulnerability was identified in g-mr SmartCall up to 1.0.9. This vulnerability affects the function token of the file smart-maxkb/src/main/java/com/qidiangk/smart/maxkb/controller/TokenController.java of the component smart-maxkb. Such m…
- 6.2CVE-2026-119008
Vulnerability of improper data management in the location service module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.
- 5.5CVE-2026-139893
A vulnerability has been found in 0xERR0R blocky up to 0.35.0. Impacted is the function configureDebugHandler of the file server/server_endpoints.go. Such manipulation leads to information disclosure. The attack may be performed from remot…
- 6.9CVE-2026-140122
PDF & Print by BestWebSoft before 2.4.8 contains an information disclosure vulnerability in pdfprnt_print() that allows unauthenticated attackers to view non-public posts by injecting WP_Query arguments. Attackers can send print=print-cust…
- 6.9CVE-2026-140098
Vite is a frontend tooling framework for JavaScript. In 8.4.0-beta.1, a network-exposed development server can register a request-chosen file outside server.fs.allow in config.environments.client.safeModulePaths when processing ?worker&imp…
- 6.7CVE-2026-63271
LibreOffice presentations can link to sounds, and SVG images and XHTML documents can link to images and objects. A crafted document could link to a local file in one of these ways and have that file's content put into the document, for exa…
- 6.7CVE-2026-126796
A LibreOffice Writer document can contain its own database. When the document was opened, that database was registered in the user's settings under a name the document chose, replacing any database the user had registered under that name. …
The newest records naming one of them. Each weakness's page lists them all.
Related attack patterns
- Part of
- CAPEC-224 Fingerprinting
- More specific patterns
- CAPEC-317 IP ID Sequencing Probe
- CAPEC-318 IP 'ID' Echoed Byte-Order Probe
- CAPEC-319 IP (DF) 'Don't Fragment Bit' Echoing Probe
- CAPEC-320 TCP Timestamp Probe
- CAPEC-321 TCP Sequence Number Probe
- CAPEC-322 TCP (ISN) Greatest Common Divisor Probe
- CAPEC-323 TCP (ISN) Counter Rate Probe
- CAPEC-324 TCP (ISN) Sequence Predictability Probe
- CAPEC-325 TCP Congestion Control Flag (ECN) Probe
- CAPEC-326 TCP Initial Window Size Probe
- CAPEC-327 TCP Options Probe
- CAPEC-328 TCP 'RST' Flag Checksum Probe
- CAPEC-329 ICMP Error Message Quoting Probe
- CAPEC-330 ICMP Error Message Echoing Integrity Probe
- CAPEC-331 ICMP IP Total Length Field Probe
- CAPEC-332 ICMP IP 'ID' Field Error Message Probe
MITRE's words, unchanged: CAPEC-312 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.