312-50V13 practice question 21 of 35
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?
Full set: 573 questionsDomain Cryptography
The question requires the specific Nmap command to perform a TCP SYN ping scan. The nmap -sn command combination instructs Nmap to perform only host discovery (a "ping scan") without conducting a full port scan. The -PS flag is the specific probe type that uses a TCP SYN packet for this discovery. It sends a TCP packet with the SYN flag set to a target port (default is 80) to elicit a response, thereby determining if the host is online.
A. nmap -sn -pp: The -pp option is invalid. The correct Nmap option for an ICMP timestamp ping is -PP (uppercase), which is a different host discovery method.
B. nmap -sn -PO: The -PO option performs an IP Protocol Ping. This technique sends IP packets with a specified protocol number and is not a TCP-based SYN scan.
D. nmap -sn -PA: The -PA option performs a TCP ACK Ping. This method sends a TCP packet with the ACK flag set, which is a different technique from the requested SYN ping.
1. Nmap Official Documentation: Gordon "Fyodor" Lyon
Nmap Network Scanning: The Official Nmap Project Guide to Network Discovery and Security Auditing
2nd ed. (Nmap Project
2009). In Chapter 3
"Host Discovery (Ping Scanning)"
the section "TCP SYN Ping" explicitly details the -PS option. It states
"This option sends an empty TCP packet with the SYN flag set... A SYN/ACK indicates the port is open. A RST packet indicates the port is closed." The -sn option is also described as disabling the port scan phase. (Reference: https://nmap.org/book/man-host-discovery.html
Section: -PS (TCP SYN Ping))
2. University Courseware: University of Washington
CSE 484: Computer Security and Privacy
Lab 1: Network Security. The lab materials describe various Nmap scan types for host discovery. The documentation for the lab explicitly states: "The -PS option uses a TCP SYN Ping to discover hosts." This confirms its use in an academic context for the exact purpose described in the question. (Reference: UW CSE 484 Lab 1 materials).
3. Academic Publication: Santos
O.
& Stuppi
J. (2011). The Nmap Scripting Engine. In Syngress. This book
often used as academic material
details Nmap's capabilities. Chapter 2
"Nmap Fundamentals
" covers host discovery techniques
where -PS is identified as the flag for initiating a TCP SYN ping as a discovery method.
Keep practicing
Take the free 312-50V13 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 312-50V13 practice questions
- Question 1Your network infrastructure is under a SYN flood attack. The attacker has crafted an auto…
- Question 2Robin, an attacker, is attempting to bypass the firewalls of an organization through the …
- Question 3In the context of password security, a simple dictionary attack involves loading a dictio…
- Question 4Email is transmitted across the Internet using the Simple Mail Transport Protocol. SMTP d…
- Question 5What is one of the advantages of using both symmetric and asymmetric cryptography in SSL/…
- Question 6Which Nmap switch helps evade IDS or firewalls?
