---
title: "CAPEC-287: TCP SYN Scan"
url: https://radicalnotion.ai/capec/capec-287
type: capec
description: "An adversary uses a SYN scan to determine the status of ports on the remote target. SYN scanning is the most common type of port scanning that is used because of its many advantages and few drawbacks. As a result, novice attackers tend to overly rely on the SYN scan while performing system reconnaissance. As a scanning method, the primary advantages of SYN scanning are its universality and speed."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-287: TCP SYN Scan

- **Abstraction:** Detailed
- **Status:** Stable
- **Typical severity:** Low
- **CAPEC catalog version:** 3.9

## Description

An adversary uses a SYN scan to determine the status of ports on the remote target. SYN scanning is the most common type of port scanning that is used because of its many advantages and few drawbacks. As a result, novice attackers tend to overly rely on the SYN scan while performing system reconnaissance. As a scanning method, the primary advantages of SYN scanning are its universality and speed.

RFC 793 defines the required behavior of any TCP/IP device in that an incoming connection request begins with a SYN packet, which in turn must be followed by a SYN/ACK packet from the receiving service. For this reason, like TCP Connect scanning, SYN scanning works against any TCP stack. Unlike TCP Connect scanning, it is possible to scan thousands of ports per second using this method. This type of scanning is usually referred to as 'half-open' scanning because it does not complete the three-way handshake. The scanning rate is extremely fast because no time is wasted completing the handshake or tearing down the connection. This technique allows an attacker to scan through stateful firewalls due to the common configuration that TCP SYN segments for a new connection will be allowed for almost any port. TCP SYN scanning can also immediately detect 3 of the 4 important types of port status: open, closed, and filtered.

## Execution flow

### Step 1: Experiment

An adversary sends SYN packets to ports they want to scan and checks the response without completing the TCP handshake.

### Step 2: Experiment

An adversary uses the response from the target to determine the port's state. The adversary can determine the state of a port based on the following responses. When a SYN is sent to an open port and unfiltered port, a SYN/ACK will be generated. When a SYN packet is sent to a closed port a RST is generated, indicating the port is closed. When SYN scanning to a particular port generates no response, or when the request triggers ICMP Type 3 unreachable errors, the port is filtered.

## Prerequisites

- This scan type is not possible with some operating systems (Windows XP SP 2). On Linux and Unix systems it requires root privileges to use raw sockets.

## Resources required

- The ability to send TCP SYN segments to a host during network reconnaissance via the use of a network mapper or scanner, or via raw socket programming in a scripting language. Packet injection tools are also useful for this purpose. Depending upon the method used it may be necessary to sniff the network in order to see the response.

## Consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Other | A successful attack of this kind can identify open ports and available services on a system. |
| Confidentiality, Access Control, Authorization | Bypass Protection Mechanism, 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-300](https://radicalnotion.ai/capec/capec-300) | Port Scanning |

## Frequently asked questions

### What is CAPEC-287?

An adversary uses a SYN scan to determine the status of ports on the remote target. SYN scanning is the most common type of port scanning that is used because of its many advantages and few drawbacks. As a result, novice attackers tend to overly rely on the SYN scan while performing system reconnaissance. As a scanning method, the primary advantages of SYN scanning are its universality and speed.

### How does a TCP SYN Scan attack work?

It typically unfolds over 2 phases. It begins with: An adversary sends SYN packets to ports they want to scan and checks the response without completing the TCP handshake.

### What weaknesses does CAPEC-287 target?

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

### How severe is CAPEC-287?

MITRE rates CAPEC-287 as Low severity.

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

---

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