PT0-002 · Question #593
A penetration tester is performing Nmap scans while trying to remain undetected. The penetration tester runs the following command: Which of the following scans is the penetration tester attempting?
The correct answer is A. Scan using different source IP. The penetration tester is attempting to perform a scan where the source IP address of the scanning packets is falsified, making it appear that the scan originates from a different machine. This technique, known as source IP spoofing, helps in evading detection and attributing…
Question
A penetration tester is performing Nmap scans while trying to remain undetected. The penetration tester runs the following command:
Which of the following scans is the penetration tester attempting?
Options
- AScan using different source IP
- BStandard stealth scan
- CSYN scan from DNS port
- DScan using decoys
How the community answered
(32 responses)- A72% (23)
- B3% (1)
- C16% (5)
- D9% (3)
Why each option
The penetration tester is attempting to perform a scan where the source IP address of the scanning packets is falsified, making it appear that the scan originates from a different machine. This technique, known as source IP spoofing, helps in evading detection and attributing the scan.
The Nmap option -S <spoofed_ip_address> allows a penetration tester to spoof the source IP address of the scanning packets. This technique makes the target's logs record the spoofed IP as the source of the scan, potentially obscuring the actual scanner's identity and making detection and attribution more difficult.
A standard stealth scan typically refers to a SYN scan (-sS), which is designed to be stealthy by not completing the TCP handshake, but it does not inherently use a different source IP.
A SYN scan from a specific port (like DNS port 53, using nmap -g 53 or --source-port 53) changes the source port, not the source IP address.
Scanning using decoys (-D <decoy1>,<decoy2>,...<decoyN>) involves sending scan packets from multiple (real or spoofed) IP addresses alongside the actual scanner's IP, making it harder to determine the true origin, but it is distinct from spoofing a single source IP.
Concept tested: Nmap source IP spoofing
Source: https://nmap.org/book/man-bypass-firewalls.html#man-bypass-firewalls-source-ip
Topics
Community Discussion
No community discussion yet for this question.