nerdexam
GIAC

GCIH · Question #163

Firewalking is a technique that can be used to gather information about a remote network protected by a firewall. This technique can be used effectively to perform information gathering attacks. In…

The correct answer is A. An attacker should know the IP address of a host located behind the firewall. B. ICMP packets leaving the network should be allowed. D. An attacker should know the IP address of the last known gateway before the firewall. Firewalking requires the attacker to know the IP of a host behind the firewall and the IP of the last gateway before it, and requires that ICMP time-exceeded messages are permitted to leave the network. No backdoor is needed because firewalking is a purely external…

Reconnaissance, Scanning, and Enumeration

Question

Firewalking is a technique that can be used to gather information about a remote network protected by a firewall. This technique can be used effectively to perform information gathering attacks. In this technique, an attacker sends a crafted packet with a TTL value that is set to expire one hop past the firewall. Which of the following are pre-requisites for an attacker to conduct firewalking? Each correct answer represents a complete solution. Choose all that apply.

Options

  • AAn attacker should know the IP address of a host located behind the firewall.
  • BICMP packets leaving the network should be allowed.
  • CThere should be a backdoor installed on the network.
  • DAn attacker should know the IP address of the last known gateway before the firewall.

How the community answered

(39 responses)
  • A
    82% (32)
  • C
    18% (7)

Why each option

Firewalking requires the attacker to know the IP of a host behind the firewall and the IP of the last gateway before it, and requires that ICMP time-exceeded messages are permitted to leave the network. No backdoor is needed because firewalking is a purely external reconnaissance technique.

AAn attacker should know the IP address of a host located behind the firewall.Correct

The attacker must know the IP address of a host behind the firewall to use as the packet destination, ensuring the crafted packet's TTL expires exactly one hop past the firewall and triggers a revealing ICMP response.

BICMP packets leaving the network should be allowed.Correct

ICMP time-exceeded messages must be permitted to leave the network outbound so the attacker can receive the TTL-expired responses that indicate which ports are accessible past the firewall.

CThere should be a backdoor installed on the network.

Firewalking is an external active reconnaissance technique that probes firewall rules using crafted IP packets; it requires no pre-existing backdoor or insider access to the target network.

DAn attacker should know the IP address of the last known gateway before the firewall.Correct

The attacker must know the IP of the last known gateway before the firewall in order to accurately calculate the TTL value required for packets to expire one hop beyond that gateway.

Concept tested: Firewalking TTL manipulation reconnaissance prerequisites

Source: https://owasp.org/www-community/attacks/Firewalking

Topics

#firewalking#TTL manipulation#firewall reconnaissance#ICMP

Community Discussion

No community discussion yet for this question.

Full GCIH Practice