nerdexam
GIAC

GPEN · Question #20

In which of the following scanning techniques does a scanner connect to an FTP server and request that server to start data transfer to the third system?

The correct answer is A. Bounce attack scanning. An FTP bounce attack abuses the FTP PORT command to instruct an FTP server to open a data connection to an arbitrary third-party host and port, effectively using the server as a scanning proxy.

Vulnerability Discovery & Scanning

Question

In which of the following scanning techniques does a scanner connect to an FTP server and request that server to start data transfer to the third system?

Options

  • ABounce attack scanning
  • BXmas Tree scanning
  • CTCP FIN scanning
  • DTCP SYN scanning

How the community answered

(21 responses)
  • A
    71% (15)
  • B
    10% (2)
  • C
    14% (3)
  • D
    5% (1)

Why each option

An FTP bounce attack abuses the FTP PORT command to instruct an FTP server to open a data connection to an arbitrary third-party host and port, effectively using the server as a scanning proxy.

ABounce attack scanningCorrect

In a bounce attack scan, the attacker sends a PORT command to a vulnerable FTP server specifying the target host and a port to probe; the server then attempts the data connection on the attacker's behalf. The attacker infers whether the target port is open or closed based on the response from the FTP server. This technique was historically used to bypass firewall rules and obscure the true source of the scan, and is described in RFC 2577 as a known FTP security issue.

BXmas Tree scanning

Xmas Tree scanning sets the FIN, URG, and PSH TCP flags simultaneously in a probe packet and does not involve FTP servers.

CTCP FIN scanning

TCP FIN scanning sends packets with only the FIN flag set directly to target ports to elicit RST responses from closed ports, with no FTP involvement.

DTCP SYN scanning

TCP SYN (half-open) scanning sends SYN packets and analyzes SYN-ACK or RST responses without completing the handshake, and does not use FTP as an intermediary.

Concept tested: FTP bounce attack port scanning via proxy server

Source: https://www.rfc-editor.org/rfc/rfc2577

Topics

#FTP bounce scanning#port scanning techniques#Nmap#third-party relay

Community Discussion

No community discussion yet for this question.

Full GPEN Practice