I’ve run a bunch of self-hosted services for quite some time now. Mostly, the usual media and file storage suspects.

Last week, I switched my network over to Firewalla boxes for routing, network monitoring, and mesh wifi. I went with them instead of a self-hosted solution because of the push alerts you get on mobile, plus setting up vLAN and vqLANs to separate family, IOT, work, and guest networks.

Slowly started moving over different devices. Within 5 minutes of putting the server on the network segment, started getting warning alerts that the server was contacting potential malware sites. In Japan, Africa, then Pakistan! The mobile app let me block this outbound traffic, but it kept changing. Russia, South America, Canada, etc. Definitely a botnet, and the volume of outbound data kept going up.

After a few minutes of this, I just went over and pulled the power plug. This server is mainly running media hosting stack via Docker on top of Ubuntu. Pretty stock, with no manually installed plugins or anything. I’m likely going to nuke the whole thing and manually install only the bits that I need.

Anyway, as a PSA, recommend everyone set up an active network monitoring system, ideally separate from the host itself. I thought I was pretty careful with my ports, regular virus scans, and firewall rules. Have learned my lesson.

No affiliation with any vendor. Just passing it forward.

  • Onsotumenh@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    14
    ·
    7 hours ago

    Do you have Flaresolvarr in your stack by chance?
    Had some weird CPU spikes on my NAS for a while and then noticed suspicious blocked DNS requests. After diagnostics I could single out my ARR stack and after some further research found out that my Flaresolvarr container was running a crypto miner and trying to download more malware.
    After eradicating the container and some extensive scans (which came out negative) everything was back to normal.

    • fubarx@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 hours ago

      I don’t, but thank you for the idea that it might be a cryptominer. I just assumed it was a botnet, but a miner would also fit the profile.

    • MouldyCat@feddit.uk
      link
      fedilink
      English
      arrow-up
      8
      ·
      7 hours ago

      How do you think it happened? Had the docker file been tampered with or did the container become infected via a vulnerability or something?

      • Onsotumenh@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        9
        ·
        7 hours ago

        I suspect it was a vulnerability in the integrated browser that caught the malware. And I strongly suspect it explicitly targeted Flaresolvarr as the malware knew how to phone home through containerization. I’ve checked the repository and the issues/discussions and didn’t really find any complaints there.