nerdexam
GIAC

GCIH · Question #393

To defend against network mapping, which of the following packets should be denied at the border router?

The correct answer is A. Outgoing ICMP Port Unreachable messages. Blocking outgoing ICMP Port Unreachable messages prevents external attackers from using UDP-based traceroute to confirm host reachability and complete a network map.

Reconnaissance, Scanning, and Enumeration

Question

To defend against network mapping, which of the following packets should be denied at the border router?

Options

  • AOutgoing ICMP Port Unreachable messages
  • BOutgoing ICMP Echo Request messages
  • CIncoming ICMP Time Exceeded messages
  • DIncoming ICMP Echo Request messages

How the community answered

(58 responses)
  • A
    79% (46)
  • B
    2% (1)
  • C
    12% (7)
  • D
    7% (4)

Why each option

Blocking outgoing ICMP Port Unreachable messages prevents external attackers from using UDP-based traceroute to confirm host reachability and complete a network map.

AOutgoing ICMP Port Unreachable messagesCorrect

UDP-based traceroute (the default on Unix/Linux systems) works by sending UDP datagrams to high-numbered closed ports with incrementing TTL values. When those datagrams reach the destination host, the host responds with ICMP Port Unreachable messages to signal arrival. Dropping outgoing ICMP Port Unreachable messages at the border router removes this final acknowledgment, preventing attackers from determining which hosts are reachable and completing their network topology map.

BOutgoing ICMP Echo Request messages

Blocking outgoing ICMP Echo Requests restricts your own hosts from pinging external targets, which has no effect on an external attacker actively mapping your network.

CIncoming ICMP Time Exceeded messages

Incoming ICMP Time Exceeded messages are generated by intermediate routers when TTL expires in transit - blocking them would only break your own outbound traceroute, not prevent external parties from mapping your infrastructure.

DIncoming ICMP Echo Request messages

Blocking incoming ICMP Echo Requests stops ping sweeps but does not prevent UDP or TCP-based traceroute, port scanning, or other techniques attackers use for network mapping.

Concept tested: ICMP filtering at border router to prevent network mapping

Source: https://www.cisco.com/c/en/us/support/docs/ip/access-lists/13608-21.html

Topics

#ICMP filtering#network mapping defense#border router#port unreachable

Community Discussion

No community discussion yet for this question.

Full GCIH Practice