Hundreds of TCP - IPv4 loopback connections?


  1. Posts : 52
    Windows 7 Home 64bit
       #1

    Hundreds of TCP - IPv4 loopback connections?


    Heya,

    Was looking through the resource monitor and noticed I have a large number of TCP Connections going through "IPv4 loopback". It seems to just be going through each port 1 by 1.


    https://i.imgur.com/M3VHjcx.png

    Anyone know what's happening here?
      My Computer


  2. Posts : 165
    Windows 7 x64 Pro
       #2

    If I've read correctly, Port 1120 is registered to Battlenet for its Blizzard file transfer function. I've never heard of Battlenet, but I guess it has something to do with online games. And I'm not sure why it has a file transfer function. Maybe for downloading games.

    Even so, that doesn't explain why it is opening connections that never leave your PC. If you were to run a NETSTAT command (or use some utility that gives connection status) I suspect you will see these connections are mostly in a Close_Wait or Time_Wait. (I used to live in this stuff, but now I can't remember which is which.) One of them can normally last a long time - like 4 minutes. This is the TCP/IP stack's way of insuring that a port stays unused until there is no chance that a packet from a previous connection between the same two end points will wander in an be accepted as part of a new connection.

    This is a normal occurrence, but it can be exploited by malware trying to do a Denial of Service attack. This is pretty unlikely, but I describe it below.

    If you have some malware, it could be continually opening and closing connections on your loopback addr (for both source and destination) between port 1120 and an ephemeral port. If is does this very fast it can eat up all your ephemeral ports. They will clear up after the wait period, but if it keeps running it will grab the freed ports as soon as they free up.

    This DoS scenario would create thousands, not hundreds, of temporarily unusable ports. A more likely scenario would be some local function needing hundreds of short-lived connections withing your pc to do some legitimate work. (But if it's not Battlenet, it should not be using port 1120.)
      My Computer


  3. Posts : 52
    Windows 7 Home 64bit
    Thread Starter
       #3

    pokeefe0001 said:
    If I've read correctly, Port 1120 is registered to Battlenet for its Blizzard file transfer function. I've never heard of Battlenet, but I guess it has something to do with online games.
    Ah, Blizzard has a battle.net app launcher which they use to update and manage their games. If I exit the program the TCP connections stop so I'm guessing it's that, in which case its very unlikely to be malicious.

    Thanks for the help. Mystery solved :)
      My Computer


  4. Posts : 165
    Windows 7 x64 Pro
       #4

    Still, hundreds of connections seems odd.
      My Computer


  5. Posts : 543
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
       #5

    Sounds like you have many games and applications phoning home
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:59.
Find Us