An analyst wants to use a command line tool to identify open ports and running services on a host along with the application that is associated with those services and port. Which of the following should the analyst use?
netstat -tulnp -> last column is PID/Program name
nmap -sV -> third column is SERVICE, fourth column is VERSION
VERSION will describe the applications associated with the service.
Answer: D. nmap
netstat -b
"Displays the executable involved in creating each connection or listening port. In some cases well-known executables host multiple independent components, and in these cases the sequence of components involved in creating the connection or listening port is displayed. In this case the executable name is in [] at the bottom, on top is the component it called, and so forth until TCP/IP was reached."
I don't believe NMAP can enumerate the application that created the connection. And there is no reason to assume this is being done remotely.
Nmap sends specially crafted packets to the target host(s) and then analyzes the responses to determine the open ports and services running on those hosts. In addition, nmap can determine the versions of the applications being used on those ports and services. Nmap is a command-line tool for use on Linux, Windows, and macOS systems. The netstat (network statistics) tool is a command-line utility that displays network connections for both incoming and outgoing TCP packets, routing tables, and a number of network interface and network protocol statistics, but it cannot be used to identify open ports and services on a host with their version numbers.
NMAP Version Detection can be used to find applications
https://nmap.org/book/solution-find-open-port.html
NMAP seems to be the correct answer. Netstat highlights the PID and not the applications.
"Nmap, short for Network Mapper, is a free, open-source tool for vulnerability scanning and network discovery. Network administrators use Nmap to identify what devices are running on their systems, discovering hosts that are available and the services they offer, finding open ports and detecting security risks"
The answer is NMAP...
Netstat is the answer https://www.getfilecloud.com/blog/2016/05/how-to-find-what-application-is-listening-on-a-tcpip-port-in-windows-using-netstat/#.XxRBb-wpC9c
This is another one of those questions where I feel more info is needed. Do we have direct access to the host? Or is this to be done remotely... both NMAP and netstat fit the description here....
But can you find specific information about the applications/services linked to each port with NMAP? You can find SOME information with NMAP, surely, but not as much detail as NETSTAT. I'm a bit confused here. "Open ports" makes me believe it should be NMAP, but then throw in "Application" in the mix, and I feel like that's more closely related to NETSTAT... .
C is correct. Netstat would be the more useful command for an analyst with full access to the host system. Netstat provides more detailed information about open services and ports. Nmap would be for discovering remote systems and ports, but it may not find as much information as the host system would provide through netstat.
This section is not available anymore. Please use the main Exam Page.CS0-001 Exam Questions
Log in to ExamTopics
Sign in:
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.
danierug
Highly Voted 5 years, 9 months agoBlind_Hatred
4 years, 10 months agoJeend
Most Recent 2 years, 3 months agoboydmwanza
2 years, 8 months agoHobbes26
3 years, 11 months agosomsom
4 years, 2 months agoSnickers
4 years, 4 months agoj172
4 years, 5 months agoteerawat
4 years, 5 months agotman30
4 years, 8 months agoMagicianRecon
4 years, 9 months agoiphy
4 years, 9 months agoJeffPunzalan
4 years, 9 months agokry00
4 years, 9 months agoBlind_Hatred
4 years, 10 months agocyberchick
4 years, 10 months agoTheThreatGuy
4 years, 10 months agoTheThreatGuy
4 years, 10 months agoBlind_Hatred
4 years, 10 months ago[Removed]
5 years, 3 months agoKC
5 years, 3 months ago[Removed]
5 years, 3 months agoKC
5 years, 3 months ago