nerdexam
GIAC

GPEN · Question #125

Which of the following scanning methods is most accurate and reliable, although it is easily detectable and hence avoided by a hacker?

The correct answer is C. TCP SYN/ACK. TCP SYN/ACK (full connect) scanning completes the three-way handshake, making it the most accurate method but also the most easily detected by firewalls and IDS systems.

Vulnerability Discovery & Scanning

Question

Which of the following scanning methods is most accurate and reliable, although it is easily detectable and hence avoided by a hacker?

Options

  • ATCP FIN
  • BTCP half-open
  • CTCP SYN/ACK
  • DXmas Tree

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    11% (4)
  • C
    83% (29)
  • D
    3% (1)

Why each option

TCP SYN/ACK (full connect) scanning completes the three-way handshake, making it the most accurate method but also the most easily detected by firewalls and IDS systems.

ATCP FIN

TCP FIN scanning sends only a FIN packet to bypass firewalls for stealth, but it is unreliable because Windows systems respond identically to open and closed ports, producing inaccurate results.

BTCP half-open

TCP half-open (SYN) scanning intentionally avoids completing the handshake to reduce detectability, sacrificing the reliability and accuracy of a full connect scan.

CTCP SYN/ACKCorrect

TCP SYN/ACK scanning completes the full three-way handshake (SYN - SYN/ACK - ACK), ensuring accurate port state determination with no false positives. Because it establishes a real connection, it is logged by the target system and easily detected by firewalls and intrusion detection systems, which is why malicious actors avoid it in favor of stealthier techniques.

DXmas Tree

Xmas Tree scanning sets FIN, URG, and PSH flags simultaneously for stealth, but like FIN scanning it produces unreliable results across different OS implementations.

Concept tested: TCP port scanning techniques and detectability trade-offs

Source: https://nmap.org/book/man-port-scanning-techniques.html

Topics

#TCP scanning#SYN ACK scan#full connect scan#port scanning accuracy

Community Discussion

No community discussion yet for this question.

Full GPEN Practice