nerdexam
CompTIA

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…

Information Gathering and Vulnerability Scanning

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)
  • A
    72% (23)
  • B
    3% (1)
  • C
    16% (5)
  • D
    9% (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.

AScan using different source IPCorrect

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.

BStandard stealth scan

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.

CSYN scan from DNS port

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.

DScan using decoys

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

#Nmap#Stealth Scanning#Source IP Manipulation#Penetration Testing

Community Discussion

No community discussion yet for this question.

Full PT0-002 Practice