During a penetration test, you discover that an internal web server responds to ICMP echo requests but does not respond to TCP SYN scans on port 80. However, when you browse to the server's IP using a browser, the web page loads successfully. What is the most likely reason for this behavior?
Trap 1: A stateful firewall is blocking inbound SYN packets to port 80 but…
A stateful firewall tracks the state of active network connections. It can be configured to block new, unsolicited inbound SYN packets from specific sources (like the pen tester's host) to port 80, while simultaneously allowing established connections or connections originating from trusted internal hosts. The successful browsing from another internal host indicates the server is listening, and the firewall permits connections from that specific, authorized source, or allows return traffic for legitimate outbound connections.
Trap 2: The web server is running on a non-standard port that you did not…
If the web server were running on a non-standard port, attempting to browse to it using the default HTTP port (80) would fail, regardless of the source host. The fact that another internal host can successfully browse to the web server implies it is indeed listening and responding on port 80, making this option incorrect.
Trap 3: The server's TCP/IP stack is misconfigured and does not respond to…
A fundamental misconfiguration of the server's TCP/IP stack would likely prevent any successful TCP connection to port 80, including the successful browsing from another internal host. Since another host can browse to the server, its TCP/IP stack is functioning correctly and listening on port 80, indicating the issue lies elsewhere, likely with an intermediary security device.
- A
A stateful firewall is blocking inbound SYN packets to port 80 but allowing responses to outbound connections.
Why wrong: A stateful firewall tracks the state of active network connections. It can be configured to block new, unsolicited inbound SYN packets from specific sources (like the pen tester's host) to port 80, while simultaneously allowing established connections or connections originating from trusted internal hosts. The successful browsing from another internal host indicates the server is listening, and the firewall permits connections from that specific, authorized source, or allows return traffic for legitimate outbound connections.
- B
The web server is running on a non-standard port that you did not scan.
Why wrong: If the web server were running on a non-standard port, attempting to browse to it using the default HTTP port (80) would fail, regardless of the source host. The fact that another internal host can successfully browse to the web server implies it is indeed listening and responding on port 80, making this option incorrect.
- C
The server's TCP/IP stack is misconfigured and does not respond to SYN scans.
Why wrong: A fundamental misconfiguration of the server's TCP/IP stack would likely prevent any successful TCP connection to port 80, including the successful browsing from another internal host. Since another host can browse to the server, its TCP/IP stack is functioning correctly and listening on port 80, indicating the issue lies elsewhere, likely with an intermediary security device.
- D
A web application firewall is blocking the SYN scan traffic.
Web Application Firewalls (WAFs) primarily operate at Layer 7 (Application Layer) of the OSI model, inspecting HTTP/HTTPS traffic for application-level vulnerabilities and attacks. A SYN scan, which is part of the TCP three-way handshake, occurs at Layer 4 (Transport Layer). Therefore, a WAF would not typically intercept or block these initial connection establishment packets.