nerdexam
CompTIA

CV0-003 · Question #150

An administrator suspects malware has infected a server. Which of the following should be used to check services communicating with external servers?

The correct answer is A. netstat. netstat displays all active TCP and UDP connections along with their remote IP addresses and ports, making it the correct tool to identify services that may be communicating with external command-and-control servers.

Troubleshooting

Question

An administrator suspects malware has infected a server. Which of the following should be used to check services communicating with external servers?

Options

  • Anetstat
  • Barp
  • Cnslookup
  • Ddig

How the community answered

(26 responses)
  • A
    92% (24)
  • C
    4% (1)
  • D
    4% (1)

Why each option

netstat displays all active TCP and UDP connections along with their remote IP addresses and ports, making it the correct tool to identify services that may be communicating with external command-and-control servers.

AnetstatCorrect

netstat shows real-time active network connections, including the remote endpoint addresses and port numbers for each connection. An administrator can use it to spot unexpected outbound connections to external IPs that indicate malware beaconing or data exfiltration.

Barp

arp maps IP addresses to MAC addresses on the local network segment and provides no visibility into connections made to external remote servers.

Cnslookup

nslookup is a DNS resolution tool used to look up hostnames and records, not a utility for monitoring active network connections or sessions.

Ddig

dig is also a DNS query tool that retrieves DNS records and has no capability to display or monitor active network sessions.

Concept tested: Using netstat to detect malicious external connections

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netstat

Topics

#netstat#malware detection#external connections#security monitoring

Community Discussion

No community discussion yet for this question.

Full CV0-003 Practice