nerdexam
EC-Council

312-50V10 · Question #811

Techno Security Inc. recently hired John as a penetration tester. He was tasked with identifying open ports in the target network and determining whether the ports are online and any firewall rule…

The correct answer is C. Anmap -sn -PS < target IP address >. The Nmap -PS flag performs a TCP SYN ping scan used to discover live hosts and identify firewall rule sets without completing a full connection.

Scanning Networks

Question

Techno Security Inc. recently hired John as a penetration tester. He was tasked with identifying open ports in the target network and determining whether the ports are online and any firewall rule sets are encountered. John decided to perform a TCP SYN ping scan on the target network. Which of the following Nmap commands must John use to perform the TCP SVN ping scan?

Options

  • Anmap -sn -pp < target ip address >
  • Bnmap -sn -PO < target IP address >
  • CAnmap -sn -PS < target IP address >
  • Dnmap -sn -PA < target IP address >

How the community answered

(36 responses)
  • A
    8% (3)
  • B
    3% (1)
  • C
    86% (31)
  • D
    3% (1)

Why each option

The Nmap -PS flag performs a TCP SYN ping scan used to discover live hosts and identify firewall rule sets without completing a full connection.

Anmap -sn -pp < target ip address >

The -PP flag sends ICMP timestamp request packets, which performs an ICMP timestamp ping scan rather than a TCP SYN ping scan.

Bnmap -sn -PO < target IP address >

The -PO flag triggers an IP protocol ping scan that probes multiple IP protocol types simultaneously, not a TCP SYN ping.

CAnmap -sn -PS < target IP address >Correct

The -PS flag instructs Nmap to send TCP SYN packets to the target, which is the correct syntax for a TCP SYN ping scan; combined with -sn, it performs host discovery without a full port scan. TCP SYN ping reveals whether hosts are online and can expose firewall rules because a filtered port drops the packet while an open port returns a SYN-ACK response. The leading 'A' in 'Anmap' in this answer choice is a typo in the question stem - the actual command is nmap -sn -PS.

Dnmap -sn -PA < target IP address >

The -PA flag sends TCP ACK packets, which is a TCP ACK ping scan - a distinct technique often used to bypass stateless firewalls, not a SYN ping scan.

Concept tested: Nmap TCP SYN ping scan flags for host discovery

Source: https://nmap.org/book/host-discovery-techniques.html

Topics

#Nmap#TCP SYN ping scan#host discovery#firewall detection

Community Discussion

No community discussion yet for this question.

Full 312-50V10 Practice