nerdexam
EC-Council

312-50V12 · Question #66

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 B. nmap -sn -PS < target IP address >. In a TCP SYN ping scan, Nmap sends a TCP SYN packet to the target port, expecting a SYN- ACK or RST response from an open port. If the response is RST, it means the port is closed. If there is no response, the port may be either open or filtered. This method is used to detect…

Submitted by ricky.ec· Mar 4, 2026Reconnaissance Techniques

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 SYN ping scan?

Options

  • Anmap -sn -PO < target IP address >
  • Bnmap -sn -PS < target IP address >
  • Cnmap -sn -PA < target IP address >
  • Dnmap -sn -PP < target IP address >

How the community answered

(31 responses)
  • A
    6% (2)
  • B
    87% (27)
  • C
    3% (1)
  • D
    3% (1)

Explanation

In a TCP SYN ping scan, Nmap sends a TCP SYN packet to the target port, expecting a SYN- ACK or RST response from an open port. If the response is RST, it means the port is closed. If there is no response, the port may be either open or filtered. This method is used to detect whether a port is open or closed. The -sn option in Nmap is used for host discovery, and it disables port scanning. The -PS option is used to specify a TCP SYN ping scan, while the -PA and -PP options are used for TCP ACK and ICMP ping scans, respectively. Therefore, the correct command for a TCP SYN ping scan in Nmap is: nmap -sn -PS < target IP address >

Topics

#Nmap#TCP SYN scan#Port scanning#Network reconnaissance

Community Discussion

No community discussion yet for this question.

Full 312-50V12 Practice