In a TCP connect scan, what indicates an open port?

Study for the SANS560 GIAC Penetration Tester (GPEN) Test. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

In a TCP connect scan, what indicates an open port?

Explanation:
In a TCP connect scan, you rely on the operating system to complete a full TCP three‑way handshake on each target port. If the port is open, the handshake finishes and the connect call succeeds, so the port is marked open. After establishing the connection, the scanner closes it, and the teardown may be performed quickly using a reset (RST) to tear the connection down. This behavior—successful handshake followed by an immediate close—is how an open port is identified in a connect scan. For contrast, no response or a timeout usually means the port is filtered, and a SYN-ACK appears in a SYN scan rather than a connect scan.

In a TCP connect scan, you rely on the operating system to complete a full TCP three‑way handshake on each target port. If the port is open, the handshake finishes and the connect call succeeds, so the port is marked open. After establishing the connection, the scanner closes it, and the teardown may be performed quickly using a reset (RST) to tear the connection down. This behavior—successful handshake followed by an immediate close—is how an open port is identified in a connect scan.

For contrast, no response or a timeout usually means the port is filtered, and a SYN-ACK appears in a SYN scan rather than a connect scan.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy