Search This Blog

Saturday, December 2, 2017

Check Which Site Your Computer Is Connecting To Without You Knowledge | Command Prompt

There are many internet connection going on in your computer with your knowledge. For example, Windows update manager is connecting to its server searching new updates and downloading them, your e-mail client is also doing the same even if you have not launched them. But they might not be the only ones connecting to the internet.

When you computer is infected by malware or virus, these too can make internet connection to its server to communicate with its sender. So monitoring your background internet connect is really very important.
To unhide those connections do the following.

  1. Run Command Prompt as administrator.
    To do this, open the Start Menu and search for CMD, right-click on the result and select Run as administrator.
     
  2. Next, type in this command line into it.
     netstat -abf 10 > net_activity.txt
    the netstat is to start the utility required to gather the information. -a tells the utility to show all Connections and Listening Port. -b tells it to add what application is making the connection, while -f tells the utility to also include the full list of DNS for each connection.
    10
    tells to utility to poll out these information every 10 seconds, and > net_activity.txt tell the utility to save the record it poll out to the net_activity.txt file.
     
  3. When you have allowed it run for some time, press Ctrl+C to stop the utility from polling out any further activity.
     
  4. Now type in net_activity.txt and hit the Enter button to open the net_activity.txt containing all the information that have been pulled out.
    To locate this file incase of future reference, go to the \Windows\System32 folder.
     
  5. When you open the file, you will see all the process (that is, applications) that made a connection during the time you left the command prompt running.
    If you are not familiar to a process in the list, you can type  “what is (name of unknown process)” in Google to search for it.
    If it is something you are not comfortable with, then you can search on Google again to learn of how to get rid of it.
If you are not good at reading log files, then you can use TCPView or CurrPorts to display a list of all currently opened TCP/IP and UDP ports on your computer.

So there you have it, you no longer have to be in the dark as to which application in your computer is using your internet connection.



Also Read:
Team +Pinfoltd


SHARE THIS

0 comments:

Search This Blog