BOOK THIS SPACE FOR AD
ARTICLE ADIncident responders often rely on Windows command-line tools to quickly analyze, investigate, and mitigate security incidents. Here are some essential command-line hacks with practical examples to help streamline your investigations.
Check System Information:
systeminfoThis command provides OS details, installed patches, and system uptime.
Identify Running Processes:
tasklist /vUse this to get a detailed view of running processes along with session IDs and memory usage.
View All Active Connections:
netstat -anoShows active connections, listening ports, and associated process IDs.
Find Connections to a Specific IP:
netstat -an | findstr "<IP_ADDRESS>"Replace <IP_ADDRESS> with the suspected IP to filter results.
Identify Process Using a Specific Port:
tasklist | findstr "<PID>"Replace <PID> with the process ID from netstat -ano to find the associated process.