exam questions

Exam PT0-002 All Questions

View all questions & answers for the PT0-002 exam

Exam PT0-002 topic 1 question 41 discussion

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

A penetration tester has been given an assignment to attack a series of targets in the 192.168.1.0/24 range, triggering as few alarms and countermeasures as possible.
Which of the following Nmap scan syntaxes would BEST accomplish this objective?

  • A. nmap -sT -vvv -O 192.168.1.2/24 -PO
  • B. nmap -sV 192.168.1.2/24 -PO
  • C. nmap -sA -v -O 192.168.1.2/24
  • D. nmap -sS -O 192.168.1.2/24 -T1
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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, 3 months ago
Selected Answer: D
D. nmap -sS -O 192.168.1.2/24 -T1 The best Nmap scan syntax to accomplish this objective would be to use the -sS (TCP SYN scan) option, the -O (enable OS detection) option, and the -T1 (timing option) which is the slowest timing option. The -sS option uses the SYN packet to initiate a connection, which is less likely to be detected by intrusion detection systems (IDS) and firewalls as it does not complete the full TCP connection. The -O option enables OS detection, which can help identify the type of device that is being scanned and can be useful in identifying vulnerabilities specific to that OS. The -T1 option sets the timing option to the slowest setting, this will make the scan slower, but also less likely to trigger alarms and countermeasures.
upvoted 11 times
...
Lino_Carbon
Highly Voted 1 year, 6 months ago
-sS and with -T1 is a very slow scan, which will trigger less alarms
upvoted 5 times
...
solutionz
Most Recent 9 months ago
Selected Answer: D
In penetration testing, particularly when you want to be discreet and trigger as few alarms as possible, stealth is key. You would generally want to perform a stealth scan, use a slower timing template to make the scan less obvious, and avoid unnecessary options that could increase visibility. Among the options provided: A. Uses TCP connect scan (-sT) and very verbose output (-vvv), and attempts OS detection (-O), which might be more likely to trigger alarms. B. Scans for service versions (-sV), which is more aggressive and could also trigger alarms. C. Uses the ACK scan (-sA), which might not be the best choice for stealth in this situation. D. Uses a SYN stealth scan (-sS), OS detection (-O), and the slowest timing template (-T1), which makes the scan less aggressive and more likely to go undetected. So, the correct answer is: D. nmap -sS -O 192.168.1.2/24 -T1
upvoted 3 times
...
dcyberguy
1 year, 5 months ago
Selected Answer: D
-sS flag not too stealthy these day but I'll go with D
upvoted 5 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago