exam questions

Exam PT0-002 All Questions

View all questions & answers for the PT0-002 exam

Exam PT0-002 topic 1 question 273 discussion

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

A security analyst is conducting an unknown environment test from 192.168.3.3. The analyst wants to limit observation of the penetration tester's activities and lower the probability of detection by intrusion protection and detection systems.

Which of the following Nmap commands should the analyst use to achieve this objective?

  • A. nmap -F 192.168.5.5
  • B. nmap -datalength 2 192.168.5.5
  • C. nmap -D 0.5.2.2 192.168.5.5
  • D. nmap -scanflags SYNFIN 192.168.5.5
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
Aliyan
Highly Voted 1 year, 1 month ago
Selected Answer: D
Ooof what a question. after chatting with many AIs and digging into my A+,Net+,Sec+,Cysa+ studies I think this explanation makes me pick D SYNFIN Scan (Option D): Stealthiest approach: Sends only a SYN and FIN packet, which is often ignored by firewalls and IDSes. Doesn't complete a full TCP handshake: Reduces the likelihood of detection. Effective for mapping ports and firewalls: Reveals open and closed ports without raising alarms. Other Options and Their Limitations: Fast Scan (Option A): Quick but less stealthy, as it sends more probes that can be noticed. (there was another question where the answer was actually -f for stealth i think -f is still stealthy but just not as good as SYNFIN) Data Length Adjustment (Option B): Can evade some detection techniques, but not as robust as SYNFIN. Decoy Scan (Option C): Uses decoy IP addresses to obscure the source, but can still be detected if analyzed carefully. In summary, the SYNFIN scan is the most effective choice for avoiding detection due to its unique approach and incomplete handshake behavior.
upvoted 10 times
r_s_7
2 weeks, 3 days ago
Option C 0.5.2.2 is not a valid IP address, right?
upvoted 1 times
...
...
Etc_Shadow28000
Most Recent 6 months, 1 week ago
Selected Answer: C
C. nmap -D 0.5.2.2 192.168.5.5 The -D option is used for decoy scanning. By using decoys, Nmap makes it appear as if the scan is coming from multiple IP addresses (including the specified decoy address 0.5.2.2). This can confuse intrusion detection and protection systems by obfuscating the true source of the scan. Explanation: A. nmap -F 192.168.5.5: The -F option in Nmap is for fast mode, which scans fewer ports. While this may speed up the scan, it does not specifically help in evading detection. B. nmap -datalength 2 192.168.5.5: The -datalength option specifies the length of the data to append to each probe, which might slightly obfuscate the scan but does not significantly reduce the likelihood of detection. D. nmap -scanflags SYNFIN 192.168.5.5: The -scanflags option allows custom TCP flags to be set. While this can be used to evade some simple detection mechanisms, it does not necessarily lower the probability of detection significantly compared to using decoys.
upvoted 2 times
...
041ba31
10 months ago
Selected Answer: B
The -datalength option adds extra random data to the sent packets, potentially making it more difficult for intrusion detection systems (IDS) to recognize the scan as malicious or anomalous. This option can help to mask the scan's signature, thereby reducing its visibility to security monitoring systems.
upvoted 1 times
...
Rezaee
10 months, 2 weeks ago
Selected Answer: D
D. nmap -scanflags SYNFIN 192.168.5.5
upvoted 1 times
...
WANDOOCHOCO
11 months, 4 weeks ago
Selected Answer: D
I think it's D. option C (-D) is for decoy. it will hide your IP but IDS will know someone is scanning. option A (-F) is scanning top 100 ports. No guarantee it won't be detected. even if it avoids being detected, the port information will be limited. option B is absurd. I will go with D
upvoted 2 times
...
lordguck
1 year, 1 month ago
D: Settings the flags helps ivade detection although higher grade detection systems know that trick, A does not implement counter detection methods, B: altering the datalength is a good idea but "2" does not change it enough, C: decoy parameter is wrong
upvoted 1 times
...
[Removed]
1 year, 1 month ago
Selected Answer: A
Answer is A. See comment thread with Natthew99 below.
upvoted 2 times
...
ACMaverick
1 year, 2 months ago
Selected Answer: C
To limit observation of the penetration tester’s activities and lower the probability of detection by intrusion protection and detection systems, the security analyst should use the following Nmap command: C. nmap -D 0.5.2.2 192.168.5.5 The -D option is used to specify decoy IP addresses to be used as a decoy for the actual IP address of the penetration tester. This makes it difficult for intrusion detection systems to detect the actual IP address of the penetration tester. Option A (nmap -F 192.168.5.5) is used to perform a fast scan by scanning only the most common ports. This option does not help in limiting observation of the penetration tester’s activities. Option B (nmap -datalength 2 192.168.5.5) is used to specify the length of data in each probe packet. This option does not help in limiting observation of the penetration tester’s activities. Option D (nmap -scanflags SYNFIN 192.168.5.5) is used to set TCP flags in packets sent during scanning. This option does not help in limiting observation of the penetration tester’s activities.
upvoted 3 times
hakanay
1 year, 1 month ago
0.5.2.2 is not a valid IP address.
upvoted 4 times
...
...
Natthew99
1 year, 3 months ago
I chose A because the C option specifies a invalid decoy address which could cause issues. The decoy IP address should be up, per nmap
upvoted 2 times
[Removed]
1 year, 1 month ago
Yup! Easier to detect. A is the answer.
upvoted 1 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