The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Windows executable components connecting to the internet...to do what??

    Discussion in 'Windows OS and Software' started by RWUK, Dec 24, 2009.

  1. RWUK

    RWUK Notebook Evangelist

    Reputations:
    254
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    30
    I noticed today that through my firewall svchost.exe was taking up almost 47 percent of my web traffic at one point and it's very often connected in much smaller amounts, sometimes with multiple connections. I also know that it's a vital windows component and noticed that telling the firewall to block it results in Firefox and Trillian not being able to connect to the internet at all but it doesn't have any affect bittorrent.

    Why is svchost.exe connecting to the internet and lsass.exe, services.exe and something called System are also almost always listening in the background?

    All three files are located in the win32 directory so i'm not worried about any viruses or malware. Since three of the four are simply port listening, there's not much I can do about that short of disabling the service in windows, is there?

    Anyone have any suggestions or info?

    Thanks in advance.
     
  2. gerryf19

    gerryf19 I am the walrus

    Reputations:
    2,275
    Messages:
    3,990
    Likes Received:
    0
    Trophy Points:
    105
    Since svchost.exe is a generic process that acts for others--and since there can be multiple instances, we need more info.

    download process explorer from technet and run it. watch which svchost.exe is consuming cpu time and rest your cursor over it and you will see all the sub processes using svchost.exe at the time.

    report back
     
  3. DetlevCM

    DetlevCM Notebook Nobel Laureate

    Reputations:
    4,843
    Messages:
    8,389
    Likes Received:
    1
    Trophy Points:
    205
    Windows may call "home" for Windows Update or the "Customer Experience data" or whatever its called if you agreed to participate.

    But do what gerryf19 suggested - download process explorer.

    If you run it as an administrator it has more function than a normal user (some get blocked) - you can check every single .dll that runs under a process - mind you, there are several svchost processes...
     
  4. davepermen

    davepermen Notebook Nobel Laureate

    Reputations:
    2,972
    Messages:
    7,788
    Likes Received:
    0
    Trophy Points:
    205
    the svchost processes are in fact the big daddies of your services. each of them runs one or several services in itself. and some of them (like windows update) have to connect to the web to do their work, obviously.
     
  5. joey-t

    joey-t Notebook Consultant

    Reputations:
    45
    Messages:
    190
    Likes Received:
    0
    Trophy Points:
    30
    I use two freeware programs to monitor my system.
    Process Explorer and TCPView

    http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
    http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx

    Process Explorer can tell you which Services are using the Svchost and lsass exe processes.
    Example, when I right click on lsass.exe > Properties > Services.
    It shows the following Services are using lsass.exe.

    [​IMG]

    TCPView shows the port number each Process is listening on.
    Googling the port numbers will help determine why that Process/Port is active.
     
  6. Shyster1

    Shyster1 Notebook Nobel Laureate

    Reputations:
    6,926
    Messages:
    8,178
    Likes Received:
    0
    Trophy Points:
    205
    Svchost.exe is, I believe, the process name that system worker threads run under, which are used to do all manner of scutwork, including a lot of deferred procedure calls that other processes initiate. As a result, you're not really going to be able to identify which specific app is getting work done for it under svchost.exe.

    However, from your experience with having firewalled it, you know for a fact that FF and trillian, at least, have stuff getting done for them by those threads. In FF's case, it's quite likely that the browser is "calling home" to see if any updates are available. Another app that is very likely to make heavy use of network-connected worker threads will be your A/V stuff, principally for checking periodically for updated malware definitions and whatnot. Then there is also Windows itself "calling home" to check in for updates. MS Office will also periodically check for updates, I believe. Lastly, there is all manner of other stuff you may have installed on your system that could be calling home to check for updates.

    In this case, since you're really interested in what's going out (or coming in) over the wire, rather than trying to use a process explorer or similar utility, you might be better off using something like Microsoft's Network Monitor. That will capture every packet going out or coming in to your NIC, and will identify which process is emitting which packets, thereby letting you figure out what's talking to whom over your NIC. Be warned, however, that there will be a lot more traffic than you'd ever thought possible.