312-50V12 · Question #220
During a penetration testing assignment, a Certified Ethical Hacker (CEH) used a set of scanning tools to create a profile of the target organization. The CEH wanted to scan for live hosts, open…
The correct answer is D. Hping3 -S 192.168.1.1 -a 192.168.1.254 -p 22 --flood. This question tests knowledge of Hping3 commands for spoofing source IP addresses during network probing. The correct command uses Hping3's spoofing flag to disguise the attacker's real IP address.
Question
Options
- AHping3 -1 10.0.0.25 -ICMP
- BHping3 -2 10.0.0.25-p 80
- CNmap -sS -Pn -n -vw --packet-trace -p- --script discovery -T4
- DHping3 -S 192.168.1.1 -a 192.168.1.254 -p 22 --flood
How the community answered
(44 responses)- A5% (2)
- B11% (5)
- C2% (1)
- D82% (36)
Why each option
This question tests knowledge of Hping3 commands for spoofing source IP addresses during network probing. The correct command uses Hping3's spoofing flag to disguise the attacker's real IP address.
Hping3 -1 10.0.0.25 -ICMP sends ICMP packets (ping-like) to the target but includes no '-a' spoofing flag, meaning the attacker's real IP address is exposed.
Hping3 -2 10.0.0.25 -p 80 sends UDP packets to port 80 on the target but does not include any IP spoofing option, providing no anonymity for the attacker.
The Nmap command performs a comprehensive SYN scan with scripting and packet tracing but does not include IP spoofing (which would require the '-S' or '--spoof-mac' flags in Nmap), and it uses Nmap rather than Hping3 as specified for the spoofing task.
Hping3 -S 192.168.1.1 -a 192.168.1.254 -p 22 --flood uses the '-a' flag (spoof) to set a spoofed source IP address (192.168.1.254), satisfying the anonymity requirement. The '-S' flag sends TCP SYN packets to the target (192.168.1.1) on port 22, while '--flood' sends packets as fast as possible, making this the only command in the list that directly addresses IP address spoofing during probing.
Concept tested: Hping3 IP spoofing for anonymous network probing
Source: https://www.kali.org/tools/hping3/
Topics
Community Discussion
No community discussion yet for this question.