Host Discovery Behind Restrictive Firewall

Footprinting and Reconnaissance
Answer Correct answer: B — Andrew must use an ARP ping scan to discover active devices hidden by a restrictive firewall on the local network segment.

Andrew is an Ethical Hacker who was assigned the task of discovering all the active devices hidden by a restrictive firewall in the IPv4 range in a given target network. Which of the following host discovery techniques must he use to perform the given task?

  1. UDP scan
  2. ARP ping scan Correct Answer
  3. ACK flag probe scan
  4. TCP Maimon scan

Community Votes

B
80%
C
20%

80% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The question tests the distinction between Layer 2 (ARP) and Layer 3/4 (TCP/UDP) scanning when dealing with firewalls. The common trap is assuming that because a firewall restricts traffic, one must use advanced TCP scans, ignoring that ARP works locally before the firewall.

This question tests host discovery techniques for finding devices hidden by restrictive firewalls. The correct technique is the ARP ping scan, which operates at Layer 2 and bypasses IP-based firewall restrictions.

Many learners choose ACK flag probe scan or UDP scan, mistakenly believing these are better for evading firewalls. They fail to recognize that ARP operates at the link layer and is often the only way to discover hosts on the local segment if ICMP is blocked.

Community Discussion (7 comments)

mulekule 👍 1 Selected: B
ARP ping scan is correct. The rest are used primary for port scanning, not host discovery.
NikoTomas 👍 1 Selected: A
Correct: A (UDP scan) Question: Discovering devices hidden by RESTRICTIVE FW - for me it means you are NOT inside the network but behind the FW. So you can't use ARP resolution, which is L2 protocol working only inside the LAN. As FW is restrictive (supposedly stateful), it will for sure block incomplete TCP sessions - i. e. ACK flag scan will be blocked by FW (no session exists on FW). TCP Maimon scan will be blocked by FW as well - like ACK scan, Maimon is also based on incomplete TCP session with FIN/ACK flags set (no session exists on FW). UDP scan: • Many FWs struggle to track UDP sessions (UDP is stateless, no handshake like TCP). • Some FWs mistakenly assume that UDP is harmless and allow it without strict filtering. • UDP scanning can identify misconfigured firewall rules, revealing hidden services. • Many FWs focus on filtering TCP traffic because most applications use TCP. • UDP is often less restricted as it is required for essential services like DNS (53), SNMP (161) and DHCP (67/68). • UDP scanning can identify open services that a FW does not properly restrict.
killwitch 👍 1 Selected: B
B. ARP ping scan. ARP (Address Resolution Protocol) ping scan works at the link layer (Layer 2) and does not rely on IP-based scanning techniques like TCP or UDP. Since firewalls typically block ICMP pings and other IP-based scans, an ARP scan bypasses these restrictions by directly querying MAC addresses in the local network. This method is highly effective in discovering all active hosts on a LAN because all devices must respond to ARP requests.
getaseadsss 👍 1 Selected: C
ACK scan
Dogeo 👍 1 Selected: C
An ACK flag probe scan is used to discover active hosts behind a restrictive firewall by sending TCP packets with the ACK flag set.
pindinga1 👍 3 Selected: B
This correct answer is ARP ping scan
rmycyc 👍 3 Selected: B
How it works: Sends ARP (Address Resolution Protocol) requests to discover devices on the same local network segment. Use case: Highly effective for host discovery within the same subnet because ARP is a layer 2 protocol and is rarely blocked by firewalls. Suitability: This is the best choice for discovering active devices hidden by a restrictive firewall, especially if the target network is within the same subnet.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

The correct answer is B (ARP ping scan). ARP (Address Resolution Protocol) operates at Layer 2 (Data Link Layer) of the OSI model. Firewalls typically filter traffic at Layer 3 (Network) and Layer 4 (Transport). By using an ARP ping scan, the ethical hacker sends ARP requests to resolve IP addresses to MAC addresses within the local subnet. Since this traffic does not traverse the router/firewall interface in the same way as IP packets, it is often effective for discovering active devices on the local network segment, even if the firewall is restrictive regarding IP-based protocols like ICMP.

Why the Other Options Are Wrong

A (UDP scan) and D (TCP Maimon scan) are port scanning techniques that operate at higher layers and are likely to be blocked or filtered by a restrictive firewall. C (ACK flag probe scan) is used to determine stateful firewall rules by sending packets without establishing a connection; however, it still relies on IP routing and may not effectively discover all hosts, especially if the target is on a different subnet or if the firewall drops unacknowledged packets entirely. Furthermore, ARP is specifically designed for local network discovery, making it the most appropriate tool for the scenario described.

Community Comment Notes

Community comments largely support Option B, noting that ARP works at Layer 2 and is rarely blocked by firewalls compared to IP-based scans. One user highlighted that ARP is highly effective for host discovery within the same subnet. Another commenter correctly identified that the other options are primarily for port scanning rather than host discovery. While some users argued for ACK scans, the consensus aligns with the technical reality that ARP is the standard method for local network discovery when IP-based methods are obstructed.

Exam Strategy

When a question mentions 'restrictive firewall' and 'host discovery', always consider Layer 2 techniques like ARP first if the context implies local network access. Remember that firewalls filter IP traffic, so non-IP protocols like ARP can bypass these restrictions on the local segment.

Frequently Asked Questions

Why is ARP ping scan better than ICMP ping?

ICMP pings are often blocked by restrictive firewalls. ARP operates at Layer 2 and is used for local address resolution, making it less likely to be filtered.

Can ACK scan discover hosts behind a firewall?

ACK scans can infer firewall rules but are not reliable for comprehensive host discovery, especially compared to ARP on the local segment.

More 312-50v13 FAQ →

Related Analysis

← Back to 312-50v13 Study Guide