BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA PT0-003 Exam - Topic 4 Question 6 Discussion

Posted by Thora on Aug 08, 2024 at 11:56 AM

A penetration tester is conducting reconnaissance on a target network. The tester runs the following Nmap command: nmap -sv -sT -p - 192.168.1.0/24. Which of the following describes the most likely purpose of this scan?

Suggested Answer: C

The Nmap command nmap -sv -sT -p- 192.168.1.0/24 is designed to discover services on a network. Here is a breakdown of the command and its purpose:

Command Breakdown:

nmap: The network scanning tool.

-sV: Enables service version detection. This option tells Nmap to determine the version of the services running on open ports.

-sT: Performs a TCP connect scan. This is a more reliable method of scanning as it completes the TCP handshake but can be easily detected by firewalls and intrusion detection systems.

-p-: Scans all 65535 ports. This ensures a comprehensive scan of all possible TCP ports.

192.168.1.0/24: Specifies the target network range (subnet) to be scanned.

Purpose of the Scan:

Service Discovery (Answer: C): The primary purpose of this scan is to discover


Service discovery is a common task in penetration testing to map out the network services and versions, as seen in various Hack The Box (HTB) write-ups where comprehensive service enumeration is performed before further actions.

Conclusion: The nmap -sv -sT -p- 192.168.1.0/24 command is most likely used for service discovery, as it aims to identify all running services and their versions on the target subnet.

Get Premium PT0-003 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
29 comments · newest first
SY
Sylvie 12 months ago
I’m surprised it’s not just a basic ping sweep!
IV
Ivan 1 year ago
Wait, can it really do user enumeration too?
JU
Justine 1 year ago
Seems like attack path mapping to me.
EV
Evan 1 year ago
I think it’s more about OS fingerprinting.
SH
Shaun 1 year ago
Definitely service discovery, that’s what the -sV flag is for.
TA
Tawna 1 year ago
I’m a bit confused about the purpose of the scan. Could it also be for OS fingerprinting? I feel like I’ve seen that in other contexts.
RO
Rolf 1 year ago
This seems similar to a practice question we did on Nmap scans, and I think service discovery fits best since it’s looking for open ports and services.
JA
Janine 1 year ago
I’m not entirely sure, but I think the -sT option indicates a TCP connect scan, which could also suggest it's for mapping services on the network.
VI
Vincenza 1 year ago
I remember that the -sV flag is used for service version detection, so it might be related to service discovery.
KA
Kayleigh 1 year ago
This looks like a classic network reconnaissance scan to me. The subnet-wide scope and the combination of version detection and TCP connect scanning point to Service discovery as the most likely purpose. I feel pretty confident about that.
OD
Odette 1 year ago
I'm a little confused by this question. The Nmap command seems pretty comprehensive, so it could be trying to do OS fingerprinting, service discovery, or even mapping out the attack surface. I'll have to review my notes on Nmap usage to decide.
TA
Tamesha 1 year ago
Okay, let's see here. The -sv and -sT options suggest it's trying to identify the operating systems and services on the network. I'd go with Service discovery for this one.
RO
Roslyn 1 year ago
Hmm, I'm not sure about this one. The scan seems to be targeting a whole subnet, so maybe it's for attack path mapping? I'll have to think this through a bit more.
RO
Rodrigo 1 year ago
This looks like a pretty straightforward Nmap scan to me. I'm pretty confident the answer is Service discovery.
GA
Gary 1 year ago
I think this is asking about the integration between vRealize Automation and the VMware Marketplace. Based on the options, it seems like the correct answer would be Orchestrator, since that's the integration component that allows importing Cloud Templates.
VI
Vivienne 2 years ago
I think it's for attack path mapping, to understand the potential ways to breach the network.
JA
Janine 2 years ago
I believe it could also be for OS fingerprinting, to identify the operating system of the target.
BE
Benton 2 years ago
I agree with Giuseppe, the Nmap command is likely used for service discovery.
GI
Giuseppe 2 years ago
I think the purpose of this scan is service discovery.
KE
Kenneth 2 years ago
I agree with Raymon. Service discovery is the name of the game here. Gotta know what you're dealing with before you can start exploiting anything.
KA
Katie 2 years ago
Haha, user enumeration? Really? This is a basic network scan, not a targeted attack. These answer choices are kind of silly.
TH
Thora 2 years ago
↳ replying to Katie
C) Service discovery
JO
Jodi 2 years ago
↳ replying to Katie
A) OS fingerprinting
RA
Raymon 2 years ago
The correct answer is C. Service discovery. This scan is just trying to figure out what services are running on the network, not do any kind of enumeration or fingerprinting.
AH
Ahmed 2 years ago
Hmm, I'm not so sure. The -sT TCP connect scan seems more like an attack path mapping technique to me. Gotta find those juicy attack vectors!
TA
Tamesha 2 years ago
I think the purpose is definitely service discovery. Nmap's -sv option does a version scan to identify the running services on the target network.
MA
Malcom 2 years ago
↳ replying to Tamesha
I believe it could be for attack path mapping.
JU
Junita 2 years ago
↳ replying to Tamesha
I think it might also be for OS fingerprinting.
MI
Mirta 2 years ago
↳ replying to Tamesha
I agree, the purpose of the scan is service discovery.
0/2000 characters

Save Cancel