ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 309 - CAS-004 discussion

Report
Export

A security engineer has been informed by the firewall team that a specific Windows workstation is part of a command-and-control network. The only information the security engineer is receiving is that the traffic is occurring on a non-standard port (TCP 40322). Which of the following commands should the security engineer use FIRST to find the malicious process?

A.
tcpdump
Answers
A.
tcpdump
B.
netstar
Answers
B.
netstar
C.
tasklist
Answers
C.
tasklist
D.
traceroute
Answers
D.
traceroute
E.
ipconfig
Answers
E.
ipconfig
Suggested answer: B

Explanation:

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

Reference:

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/

asked 02/10/2024
Garvey Butler
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first