Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Half-Open Connection
Cyber Security

Half-Open Connection

← Back to Glossary
By NHI Mgmt Group Updated October 29, 2026 Domain: Cyber Security

A half-open connection is a TCP connection in which one side has sent a SYN and received a SYN-ACK, but the final ACK has not yet arrived. The session is not fully established, so many of these entries can consume connection resources and be used in SYN flood attacks.

How Half-Open Connections Work

A half-open connection is a TCP session that has passed the initial SYN and SYN-ACK exchange but has not yet completed the final ACK. It exists in a transitory state, so the endpoints are not yet fully synchronized about the connection’s legitimacy or resource ownership.

This state matters because TCP allocates bookkeeping for each pending handshake. A small number of half-open entries is normal during connection setup, but a surge can tie up server memory, queue space, or socket state before the connection is truly established.

Why Half-Open States Matter in TCP Reliability

TCP uses the three-way handshake to confirm reachability and readiness on both sides. The half-open interval is the gap between the server’s willingness to accept the session and the client’s final confirmation. That gap is brief in healthy traffic, but it becomes important when latency, packet loss, or deliberate abuse keeps handshakes incomplete.

Because the session is not yet established, application-layer assumptions should not treat it as a trusted or durable channel. Until the ACK arrives, the connection is provisional, and the stack must preserve enough state to finish setup without overcommitting resources.

Operational Consequences of a Large Half-Open Queue

Large numbers of half-open connections can consume listen backlog capacity and related TCP resources, reducing the ability of a service to accept legitimate clients. On busy systems, this can look like a sudden increase in failed handshakes, delayed accepts, or service degradation under what appears to be modest traffic volume.

Network conditions can also create benign half-open buildup, so the presence of these entries is not automatically malicious. The practical question is whether the observed volume, duration, and source pattern match normal connection behavior for the service and its users.

SYN Floods and Defensive Handling

Half-open connections are a core building block of SYN flood attacks because an attacker can send many SYNs, receive SYN-ACKs, and never complete the handshake. That leaves the target holding state for sessions that will never become active, which can starve legitimate connection attempts.

NIST Cybersecurity Framework 2.0 helps place this issue in a broader resilience context, while NIST SP 800-53 Rev 5 Security and Privacy Controls is useful when you need to map backlog protection, rate limiting, and monitoring expectations to specific control families.

Risk and Threat Considerations

Half-open connections create a denial-of-service exposure when an attacker can keep handshake state pending faster than the service can clear it. The risk is highest on internet-facing services with finite backlog capacity, weak SYN protection, or limited ability to distinguish normal retransmission from hostile volume.

Failure mechanism: The server allocates connection state before the final ACK arrives, and repeated incomplete handshakes exhaust that state faster than it can age out or be recycled.

Impact: Legitimate clients experience failed connections, longer setup times, or outright service unavailability, especially during peak traffic or sustained attack conditions.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.IR-01 — Network ResilienceHalf-open TCP states affect service resilience and connection handling under load.
Recommendation — Tune transport-layer capacity and protection controls to sustain legitimate connection establishment during handshake abuse.
NIST SP 800-53 Rev 5SC-5 — Denial-of-Service ProtectionSYN floods exploit pending connection state and exhaust server resources.
SI-4 — System MonitoringDetecting abnormal half-open buildup depends on monitoring network and service behavior.
Recommendation — Apply SC-5 protections to limit connection-state exhaustion from incomplete TCP handshakes. Monitor handshake rates and backlog saturation to identify likely SYN flood conditions early.
CIS Controls v8CIS-12 — Network Infrastructure ManagementConnection-state pressure is managed through secure network design, filtering and capacity controls.
Recommendation — Configure edge and network controls to reduce the impact of excessive incomplete TCP handshakes.
MITRE ATT&CKT1499 — Endpoint Denial of ServiceSYN flood behavior is a denial-of-service technique that consumes target resources.
Recommendation — Map observed handshake exhaustion to denial-of-service activity and escalate detection accordingly.

Practitioner Guidance

What to watch for: Treat sustained growth in half-open entries, backlog saturation, and repeated SYN spikes as signals to investigate transport-layer pressure rather than application failure alone. Distinguish malformed or hostile traffic from benign retransmissions before changing service configuration.

Practitioner note: Services that are exposed to the public internet should be designed to survive handshake abuse without consuming excessive state per pending session. Capacity planning, TCP tuning, and layered edge controls are most effective when they are validated under realistic traffic and failure conditions.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 29, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org