• Breaking News

    How To Find And Kill A Remote Connecting Malware On Windows 10



    netstat -b -o 5Short Bytes: Here are the simple and easy steps on how to find, kill and delete a remote connecting malware using command prompt on Windows 10. These steps use PID of an unwanted remote connection and based on that, we take the further actions to delete the malware.
    Command prompt can be a useful tool in scanning virus and malware that are running in the background, trying to establish a remote connection from our personal computers.
    We have already covered a topic regarding tips to remove virus from USB or any drive using CMD, and now is the time to uncover malware which runs in the background.
    So, when a malware is running in the background, it must establish a connection to the outside internet world. They also use a protocol like TCP or UDP to establish the internet connection and send our private information outside. Another important factor is that every process is assigned a PID (Process ID) in Windows.
    So, using the simple cmd commands, we will try to extract all these information and then kill the unwanted process (suspected malware) based on its PID.

    Find And Kill Remote Connecting Malware On Windows 10:

    Please follow the steps mentioned below:
    • Run Command Prompt as administrator.
    command prompt run as administrator
    • Type netstat -b -o 5 in your Command Prompt screen
    netstat -b -o 5
    • Here is what we are trying to do with the above command:
      • netstat: The netstat is a useful command for checking internet and network connections.
      • -b attribute: displays the executable involved in creating each connection or listening port.
      • -o attribute: displays the owning process id associated with each connection.
      • integer:  An integer used to display results multiple times with specified number of seconds between displays. It continues until stopped by command ctrl+c.
    As you can in the above screenshot that netstat command used above shows all the required information and gets updated every 5 seconds.
    Also Read: How To Repair Corrupted Pen Drive or SD Card In Simple Steps?
    Some of the active connections in the above screenshots are googledrivesync.exe, explorer.exe, chrome.exe and I do not see any suspicious connection like autorun.exe or autorun.inf. So, once you find these suspected executable active connections, note their PID.
    • Now open your Task manager and go to the ‘Details’ tab. Under the details tab, you can see the name, PID, status and some more information about the running applications.
    Process details Task manager
    • You can also sort the PID by clicking on this tab at the top. Once the Process IDs are sorted out, you can find the suspected PID here.
    • Right click on that particular PID and you can see many options out of which two important options for you are:
      • End task
      • Open file location
    • Do no click on ‘End task’ before opening the file location. So, first click on the ‘open file location’ which will open the location of the suspected malware and then you can end that task.
    • In the file location, you can delete the malware. If you are unable to delete the malware, you can follow our article — Remove Virus from USB Or Any Drive on Windows 10 Using CMD.
    Sometimes, it might also happen that the malware operates intermittently. In that case, we just cannot sit and wait for the malware to appear up.
    So, we can print the output of the netstat -b -o 5 command to a text file using the below command and analyze that output file.

    In this case, the filename of the .txt file will be sus-mal.txt. and the location of the file will be as shown in the cmd. So, you can go to the file location and look out for any suspicious connection making a remote connection from your PC to the internet.
    Forget not to check this file as soon as possible because PID of the process may change over the time as well.

    No comments

    Post Top Ad

    Post Bottom Ad