Hello all,

According to the Wireshark record my computer connects to various services often, including Amazon, Hetzner, 1337 Services GmbH, Evanzo GmbH and ThomasFamilyInvestments. The most often were the connections to mail.my-mail.rocks which is a part of Netcup GmbH. I have a somewhat minimal distro and the attached recordings were made when no app was open including no browser. I can send the other screenshots showing other connections too. I’m suspecting of malware since some time ago but can you help me clarify these connections please?

  • infjarchninja@lemmy.ml
    link
    fedilink
    arrow-up
    20
    ·
    2 days ago

    I find wireshark too confusing unless you have a lot of experience with it.

    It looks like you are using linux because I see Wlan0 at the top of the image

    I use ss

    ss --help

    to see what you are connecting to

    ss -x -a

    ss -o state established

    ss -o state established ‘( dport = :http or sport = :http )’

    what processes are using open sockets

    ss -pl

    TCP sockets

    ss -t -a

    UDP sockets

    ss -t -a

    a deeper guide here:

    https://www.cyberciti.biz/tips/linux-investigate-sockets-network-connections.html

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    34
    ·
    2 days ago

    Do you have any apps open in the foreground or background while doing the packet capture? Check with top or htop and make sure all your apps are truly closed.

    Amazon, Hetzner, and the others are VPS providers among other services, so seeing connections to those by apps could be fairly normal as they often check for updates or download supporting items to make the app work.

    • Clark@lemmy.mlOP
      link
      fedilink
      arrow-up
      4
      ·
      2 days ago

      Thank you for the informations. There were nothing in the foreground but tor was apparently running in the background. But I’m still not sure if these services were all due to Tor. I need to run another record I guess

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        23 hours ago

        Yeah, * Tor. Its primary job is to make and destroy tons of connections to keep you private.

        Edit: Still getting used to FUTO keyboard. It doesn’t need me to say comma

      • iglou@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        2 days ago

        Per its nature, tor is definitely going to create a lot of noise in your capture. Shut it down and try again, see if you still have so many connections.

        It is highly unlikely that you have malware that you can’t see, so if you still see them after shutting down tor, use tools that tell you which app has established connections.

      • eldavi@lemmy.ml
        link
        fedilink
        English
        arrow-up
        8
        ·
        2 days ago

        it sounds like you’ll need a better handle on what’s running on your computer.

        if this matters to you enough: you can start with pruning the systemd services that are running to remove the ones you don’t want so that you can know for certain what is supposed to be running and then run another capture to see where it’s calling out to.

  • anon5621@lemmy.ml
    link
    fedilink
    arrow-up
    18
    ·
    2 days ago

    Just open sudo ss -tulpn u will see all programs with opened port and u will killing disabling until u will find source of network noise

      • Clark@lemmy.mlOP
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 days ago

        i only have these over long term but brave was closed when recording:

        Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
        udp ESTAB 0 0 192.168.1.100%wlan0:68 192.168.1.1:67 users:((“NetworkManager”,pid=1065,fd=27))
        tcp ESTAB 0 0 192.168.1.100:57728 185.246.86.175:9001 users:((“tor”,pid=1143,fd=16))
        tcp ESTAB 0 0 192.168.1.100:60406 54.36.178.108:443 users:((“brave”,pid=5153,fd=27))
        tcp ESTAB 0 0 192.168.1.100:40606 89.58.56.112:587 users:((“tor”,pid=1143,fd=12))

        • nitrolife@rekabu.ru
          link
          fedilink
          arrow-up
          10
          ·
          edit-2
          2 days ago

          If you are receiving data from tor, then you are most likely seeing these connections. They also change over time, so tor relay nodes change and can be located anywhere.

          In addition, in the example you have port 9001, which means that relaying is most likely enabled in your client and you are a relay for other participants. Check the settings of the tor (relay/bridge).

            • Clark@lemmy.mlOP
              link
              fedilink
              arrow-up
              1
              ·
              2 days ago

              No, it wasn’t at the time of recording. It was a confirmation later on that tor and network manager were the only apps using the ports with brave opened.

    • Clark@lemmy.mlOP
      link
      fedilink
      arrow-up
      4
      ·
      2 days ago

      so am i running a relay in the background although tor browser is closed?

      • habitualTartare@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        2 days ago

        If it’s like a vpn interface, it’s still running as a deamon in the background even if the browsers are closed.

        Like others have said you can check what application is using each open port. You can also check running processes (ps | grep keywords) and interfaces (ip a).

  • stupid_asshole69 [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    That screenshot just looks like a computer (.100, is that you?) dialing the upstream device (a zyxel!), it doesn’t seem to show what the intended recipient is. If you’re running windows then the start menu ads do crazy stuff. Also I asked if that last local ip octet is you because wireshark will show you other computers traffic coming across its wireless interface.

    From a high port to a low port makes me think it’s someone else on your network doing piracy.

    • Clark@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      Yes, .100 is me. I have a Zyxel router, should it show the intended recipient? I’m running Linux. What do you mean by a high port to a low port? I also think there is a malware.

      • stupid_asshole69 [none/use name]@hexbear.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        If you think there’s malware then just wipe and reinstall.

        If you wanna find out what the computer is connecting to, post the wireshark logs.

        Amazon, hetzner and Evanzo are hosting providers, krebs seems to think 1337 services is a scammy site/company and thomas is a shell company. My-mail.rocks has some tor nodes.

        • melroy@kbin.melroy.org
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          Exactly my point. Just share the actual wireshark log. You record a few seconds and then stop. And then share the log.

          • Clark@lemmy.mlOP
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            2 days ago

            I’m not just trying to get rid of the malware but also understand what it’s doing. Besides, wiping the system doesn’t help as some viruses can permanently corrupt bios. So before wiping out, I think it’s a good idea to know what’s going on my pc and where do my data go, if there is a malware. I’m a rookie with network monitoring, that’s why I’m trying to learn from more experienced users. Here is the part of the original capture: https://limewire.com/?referrer=pq7i8xx7p2. I will disable tor and close all apps along with some serviced and record again. I will let you know, thanks for your help

    • Clark@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 days ago

      Does also your computer connect to Amazon, Hetzner, 1337 Services GmbH, Evanzo GmbH and ThomasFamilyInvestments without a reason?