nerdexam
GIAC

GCIH · Question #357

In the network logs there are ACK/FIN/PSH/URG packets from a host going to a closed port, and SYN/FIN/URG/PSH packets going to open ports. What is the host likely doing?

The correct answer is B. Host discovery. Sending packets with unusual TCP flag combinations such as ACK/FIN/PSH/URG to closed ports and SYN/FIN/URG/PSH to open ports is a technique used to confirm a host is alive and identify which ports are active.

Reconnaissance, Scanning, and Enumeration

Question

In the network logs there are ACK/FIN/PSH/URG packets from a host going to a closed port, and SYN/FIN/URG/PSH packets going to open ports. What is the host likely doing?

Options

  • AActive OS fingerprinting
  • BHost discovery
  • CPassive OS fingerprinting
  • DIDS evasion

How the community answered

(33 responses)
  • A
    30% (10)
  • B
    52% (17)
  • C
    6% (2)
  • D
    12% (4)

Why each option

Sending packets with unusual TCP flag combinations such as ACK/FIN/PSH/URG to closed ports and SYN/FIN/URG/PSH to open ports is a technique used to confirm a host is alive and identify which ports are active.

AActive OS fingerprinting

Active OS fingerprinting specifically examines response characteristics such as TTL values, TCP window sizes, and option ordering to identify the underlying operating system, which is a deeper analysis than simply probing port states with unusual flags.

BHost discoveryCorrect

Probing both closed and open ports with various unusual flag combinations is characteristic of a host discovery sweep - closed ports that receive unexpected flag combinations typically respond with RST packets, confirming the host is alive. The systematic targeting of both port states across multiple flag combos indicates the goal is to map out responsive hosts and port availability rather than to extract OS stack details or evade a specific detection rule.

CPassive OS fingerprinting

Passive OS fingerprinting involves analyzing existing traffic without sending any packets, so a host that is actively transmitting probe packets cannot be performing passive fingerprinting by definition.

DIDS evasion

IDS evasion involves crafting packets specifically to bypass detection signatures, but systematically probing both open and closed ports across multiple flag combinations is more indicative of active scanning than a targeted evasion strategy.

Concept tested: TCP flag-based host and port discovery scanning techniques

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

Topics

#TCP flag scanning#host discovery#abnormal flag combinations#port scanning

Community Discussion

No community discussion yet for this question.

Full GCIH Practice