nerdexam
EC-Council

312-50V9 · Question #512

You are manually conducting Idle Scanning using Hping2. During your scanning you notice that almost every query increments the IPID regardless of the port being queried. One or two of the queries…

The correct answer is A. The zombie you are using is not truly idle. Idle scanning relies on a zombie host that is truly idle so that its IPID counter increments only in response to your probes. If the IPID jumps by more than one, the zombie is receiving other traffic and is not truly idle.

Scanning Networks

Question

You are manually conducting Idle Scanning using Hping2. During your scanning you notice that almost every query increments the IPID regardless of the port being queried. One or two of the queries cause the IPID to increment by more than one value. Why do you think this occurs?

Options

  • AThe zombie you are using is not truly idle.
  • BA stateful inspection firewall is resetting your queries.
  • CHping2 cannot be used for idle scanning.
  • DThese ports are actually open on the target system.

How the community answered

(49 responses)
  • A
    67% (33)
  • B
    16% (8)
  • C
    6% (3)
  • D
    10% (5)

Why each option

Idle scanning relies on a zombie host that is truly idle so that its IPID counter increments only in response to your probes. If the IPID jumps by more than one, the zombie is receiving other traffic and is not truly idle.

AThe zombie you are using is not truly idle.Correct

In an idle scan, the attacker monitors the zombie's IPID sequence to infer port state on the target. If the IPID increments by more than one between probes, it means the zombie host is receiving and responding to traffic from other sources, invalidating the scan's assumption of idleness and producing inaccurate results.

BA stateful inspection firewall is resetting your queries.

A stateful inspection firewall would block or reset connections, but this would affect whether responses are received at all - it would not cause the zombie's own IPID counter to increment by extra values.

CHping2 cannot be used for idle scanning.

Hping2 is a valid and commonly used tool for performing idle scanning; it supports crafting raw TCP packets with spoofed source addresses required for the technique.

DThese ports are actually open on the target system.

Open ports on the target cause the target to send a SYN-ACK to the zombie (incrementing the zombie's IPID by one), not by more than one - a jump greater than one is caused by external traffic to the zombie, not by the target's port state.

Concept tested: Idle scan zombie IPID behavior and validity

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

Topics

#idle scanning#IPID increment#zombie host#hping2

Community Discussion

No community discussion yet for this question.

Full 312-50V9 Practice