This is a very simple method to check whether your computer was infected by any RAT or something or not, the best thing is that we don’t need to use any external tool for doing this, we’ll only need to have inbuilt ‘Task Manager’ to find out if we’ve any problem or not.
The netstat command displays active TCP connections when you use the command without parameters. The new -o parameter lets you audit and troubleshoot the ports that are being used. When you use the netstat command together with the -o parameter, the command displays the owning PID that is associated with each connection. This parameter was not previously present in Windows 2000. After you install this update, you can map ports to PIDs by using the netstat -ano command.
Note The Microsoft Windows XP and Microsoft Windows Server 2003 versions of the netstat command can display PIDs. This update does not provide the -b and -v parameters that are available in the Windows XP and Windows Server 2003 versions of the netstat command.