Friday, November 11, 2011

How To Find Out Who's Connected To Your Computer

Would you like to know if somebody is connected to your computer? There is a dos command called "netstat" that can help you find that out.  Before you do it be sure you close your browser, email client, chat, or any software that connects to the internet.  Here's how to do it:
  1. Go to run and type cmd
  2. The command prompt will open, type "netstat -ano" (without the quotation) . You may also use "netstat -ano 10" so that it continuously refresh the screen every ten seconds.  To close it just press CTRL + C.
  3. Look closely for those that has an "established" state.  If you see something that is connected despite that you already closed the programs that connect to the internet chance is somebody is snooping on your computer. Take note of the PID of that program.
  4. To stop that programs open the Task Manager by pressing CTRL + ALT + DEL simultaneously on your keyboard.
  5. Click the "Process" tab. If you do not see the PID you may click "View" and click "Select Columns" click on PID (Process Identifier) and click OK.
  6. Look for the PID of the program you just found from the command prompt. Click on that program and click "End Process".
Alternatively, you may use CurrPorts from Nirsoft to monitor the list of all currently opened TCP/IP and UDP ports on your computer.