312-50V11 · Question #9
If a tester is attempting to ping a target that exists but receives no response or a response that states the destination is unreachable, ICMP may be disabled and the network may be using TCP. Which…
The correct answer is B. Hping. Hping is a versatile command-line packet crafting tool that can send TCP-based probes to hosts, making it useful when ICMP is blocked.
Question
If a tester is attempting to ping a target that exists but receives no response or a response that states the destination is unreachable, ICMP may be disabled and the network may be using TCP. Which tool could the tester use to get a response from a host using TCP?
Options
- ATraceroute
- BHping
- CTCP ping
- DBroadcast ping
How the community answered
(59 responses)- A2% (1)
- B93% (55)
- C3% (2)
- D2% (1)
Why each option
Hping is a versatile command-line packet crafting tool that can send TCP-based probes to hosts, making it useful when ICMP is blocked.
Traceroute relies primarily on ICMP or UDP packets to map network paths and would also be blocked in an ICMP-disabled environment without special TCP mode flags.
Hping supports crafting and sending raw TCP, UDP, and ICMP packets, and allows the tester to specify destination ports and flags, enabling a TCP-based ping even when ICMP is disabled by a firewall or network policy. For example, 'hping3 -S <target> -p 80' sends a TCP SYN packet and waits for a response, confirming host availability via TCP. This flexibility makes it the standard tool for host discovery when ICMP is filtered.
TCP ping describes a general concept or technique rather than a specific standalone tool available in a standard penetration testing toolkit.
Broadcast ping sends ICMP echo requests to a subnet broadcast address and does not help when ICMP is disabled on the target network.
Concept tested: TCP-based host discovery using Hping
Source: http://www.hping.org/manpage.html
Topics
Community Discussion
No community discussion yet for this question.