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.
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)- A79% (46)
- B2% (1)
- C12% (7)
- D7% (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.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.