exam questions

Exam PT0-002 All Questions

View all questions & answers for the PT0-002 exam

Exam PT0-002 topic 1 question 38 discussion

Actual exam question from CompTIA's PT0-002
Question #: 38
Topic #: 1
[All PT0-002 Questions]

A penetration tester ran an Nmap scan on an Internet-facing network device with the -F option and found a few open ports. To further enumerate, the tester ran another scan using the following command: nmap -O -A -sS -p- 100.100.100.50
Nmap returned that all 65,535 ports were filtered
Which of the following MOST likely occurred on the second scan?

  • A. A firewall or IPS blocked the scan.
  • B. The penetration tester used unsupported flags.
  • C. The edge network device was disconnected.
  • D. The scan returned ICMP echo replies.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
RRabbit_111
Highly Voted 1 year, 11 months ago
Selected Answer: A
When Nmap returns that all 65,535 ports are filtered, it means that the network device or firewall is actively blocking the Nmap scan by not allowing any incoming connections to be established. This is a common security measure to prevent unauthorized access or network reconnaissance. This can be done by a firewall or an Intrusion Prevention System (IPS) which is designed to detect and prevent malicious activity on a network. Option B, unsupported flags, is unlikely as Nmap is a widely used tool and the flags used in the command you provided are commonly used for performing an OS fingerprinting and service detection scan. Option C, The edge network device was disconnected, is unlikely as the response of all ports being filtered suggests that the device is actively responding and blocking the scan. Option D, The scan returned ICMP echo replies, is unlikely as the flags used in the command is for OS fingerprinting and service detection scan which does not use ICMP echo replies.
upvoted 5 times
...
Lee_Lah
Highly Voted 2 years, 2 months ago
Selected Answer: A
A is correct.
upvoted 5 times
...
solutionz
Most Recent 1 year, 4 months ago
Selected Answer: A
The Nmap command nmap -O -A -sS -p- 100.100.100.50 performs an OS detection (-O), enables advanced and aggressive scan options (-A), performs a SYN scan (-sS), and scans all 65,535 ports (-p-). If the result of this scan was that all ports were reported as filtered, it suggests that something on the network was blocking the scan attempts. Among the options provided, the scenario that best explains this result is: A. A firewall or IPS (Intrusion Prevention System) blocked the scan.
upvoted 2 times
...
bieecop
1 year, 5 months ago
Selected Answer: A
"-O" enables operating system detection. "-A" enables aggressive scanning and includes additional information gathering and script scanning. "-sS" specifies a SYN scan, which is a type of TCP scan. "-p-" scans all 65,535 ports. When the scan results indicate that all ports are filtered, it means that the scanning packets sent by Nmap did not receive any response from the target device. This typically occurs when a firewall or an IPS is in place and actively blocking the incoming scan packets.
upvoted 1 times
...
[Removed]
1 year, 7 months ago
Selected Answer: A
Firewall blocked it, add the -Pn and run it again
upvoted 1 times
KeToopStudy
12 months ago
The -Pn flag stops nmap to verify icmp request. It is of no use in the case of an IDS blocking you. It is probably that the security will sent your requests into a synk. The answer is still A ofc
upvoted 1 times
...
...
kenechi
1 year, 10 months ago
Selected Answer: A
Since the tester ran another scan and the 65,535 ports where filtered, this shows the firewall is blocking the icmp traffic. The tester would have included -Pn switch to avoid pinging the target. This will show more open ports.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...