セキュリティエンジニアは、ファイアウォールチームから、特定のWindowsワークステーションがコマンドアンドコントロールネットワークの一部になっているという報告を受けました。セキュリティエンジニアが受け取った情報は、トラフィックが非標準ポート(TCP 40322)で発生しているという情報のみです。セキュリティエンジニアは、悪意のあるプロセスを見つけるために、以下のコマンドのうちどれを最初に使用すべきでしょうか?
正解:B
Netstat is a command-line tool that can be used to find the malicious process that is using a specific port on a Windows workstation. Netstat displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the IP routing table, IPv4 statistics (for the IP, ICMP, TCP, and UDP protocols), and IPv6 statistics (for the IPv6, ICMPv6, TCP over IPv6, and UDP over IPv6 protocols). To find the process that is using a specific port, such as TCP 40322, the security engineer can use the following command:
netstat -ano | findstr :40322
This command will filter the netstat output by the port number and show the process identifier (PID) of the process that is using that port. The security engineer can then use the task manager or another tool to identify and terminate the malicious process by its PID. Verified References:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat
https://www.howtogeek.com/28609/how-can-i-tell-what-is-listening-on-a-tcpip-port-in-windows/