TCP Half-Open Scans Learn From an Unfinished Handshake
A TCP half-open scan tests whether a network port is listening without completing the normal connection-opening exchange. It sends the opening request, examines the reply and can reset the attempt instead of finishing it. The name describes the scan's method, not a permanently half-working service.
TCP, short for Transmission Control Protocol, is a set of communication rules for programs. A port is a numbered destination where a program can receive network traffic. The messages travel in packets, small units of network data.
This port scan is also called a SYN scan, after the message used to begin the exchange. It can learn that a port is listening from the reply to that first message.
Learn Nmap in Seven Minutes
The reply provides the clue
A normal TCP connection starts with a three-way handshake. The requester sends SYN, the listener replies with SYN-ACK, and the requester returns ACK. SYN is short for synchronize and introduces the connection; ACK means acknowledgment of information received.
A half-open scan follows the opening far enough to receive SYN-ACK. That response indicates a listening port is willing to proceed. The scanning side can then send RST, a reset, instead of the final ACK.
The scanner has learned what it wanted about that port without completing the connection. Nmap, a network-scanning tool, documents this exchange in its SYN-scan explanation.
The direction of a reset matters. A reset sent by the target in response to the initial SYN indicates a closed port. A reset sent by the scanning side after SYN-ACK ends an attempt that has already revealed an open port.
Sometimes the answer never reaches the scanner
A target may not reply, or the network may block or lose a message. After repeated nonresponse or certain network error messages, Nmap can report the port as filtered. That label leaves the open-versus-closed question unresolved.
A firewall, which applies rules to network traffic, is one reason a probe may not get through. The scanner's view depends on its location and the path to the target. A port can appear reachable from one location while a rule blocks access from another.
These labels describe the observation. An open port means an application accepts communication, as Nmap's port-state guide explains. It doesn't identify the application's exact version or prove that it contains an exploitable weakness.
- Skip the install: pfSense Plus comes preloaded, so you can start writing rules right away.
- Get a firewall, router and VPN in one silent box that sips power.
- Keep receiving pfSense Plus updates for the life of the product.
The handshake stops; the packets don't vanish
A half-open scan may leave different application-level records from a scan that completes a connection. That distinction led to the description “stealth scan,” but it isn't a promise of invisibility.
The opening probes and replies still cross the network. Monitoring equipment can observe them. An intrusion detection system looks for suspicious activity; a capable one can detect either SYN or connect scanning. Nmap makes that distinction in its comparison with connect scans.
TCP's Three-Way Handshake: What Those Messages Do

A TCP Full-Open Scan Takes the Connection One Step Further

Intrusion Detection: How Suspicious Activity Becomes an Alert

QUOTE:
"Amateurs hack systems, professionals hack people."
