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.
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)- A92% (24)
- C4% (1)
- D4% (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.
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.
arp maps IP addresses to MAC addresses on the local network segment and provides no visibility into connections made to external remote servers.
nslookup is a DNS resolution tool used to look up hostnames and records, not a utility for monitoring active network connections or sessions.
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
Community Discussion
No community discussion yet for this question.