nerdexam
GIAC

GPEN · Question #159

In which of the following scanning methods does an attacker send SYN packets and then a RST packet?

The correct answer is A. TCP SYN scan. TCP SYN scanning, also called a half-open scan, is defined by sending a SYN packet and then immediately responding with a RST upon receiving a SYN-ACK, deliberately aborting the connection before the three-way handshake completes.

Vulnerability Discovery & Scanning

Question

In which of the following scanning methods does an attacker send SYN packets and then a RST packet?

Options

  • ATCP SYN scan
  • BXMAS scan
  • CIDLE scan
  • DTCP FIN scan

How the community answered

(48 responses)
  • A
    81% (39)
  • B
    13% (6)
  • C
    2% (1)
  • D
    4% (2)

Why each option

TCP SYN scanning, also called a half-open scan, is defined by sending a SYN packet and then immediately responding with a RST upon receiving a SYN-ACK, deliberately aborting the connection before the three-way handshake completes.

ATCP SYN scanCorrect

In a TCP SYN scan, the attacker sends a SYN packet to probe a port; if the port is open, the target replies with SYN-ACK, and the attacker immediately sends a RST to tear down the session before it fully establishes. This SYN-then-RST sequence is the defining behavior of the half-open scan and avoids logging that a full connection would trigger. The technique allows rapid, stealthy port enumeration while staying below the threshold of a complete TCP connection.

BXMAS scan

XMAS scan sends packets with the FIN, URG, and PSH flags all simultaneously set, not SYN packets, relying on RFC 793 behavior to infer port state from the absence of a RST.

CIDLE scan

IDLE scan exploits the predictable IP ID counter of a third-party zombie host to infer open ports by spoofing packets from that host, not by directly sending SYN then RST from the attacker.

DTCP FIN scan

TCP FIN scan sends only a FIN packet to target ports - it never sends a SYN - and relies on closed ports responding with a RST while open ports silently drop the packet.

Concept tested: TCP SYN half-open port scanning technique

Source: https://nmap.org/book/synscan.html

Topics

#TCP SYN scan#port scanning#scan types#packet flags

Community Discussion

No community discussion yet for this question.

Full GPEN Practice