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.
How do you know it’s not just a bunch of false positives?
I guess I don’t. The alerts came fast and heavy, each pointing at different sites in different countries, all tagged as ‘potential malware.’ I panicked and yanked the plug.
I was really surprised my carefully put-together network was dialing out like this. I mainly thought any issue would be from external port-scanners, but I was wrong.
Anyone running a self-hosted network may want to put in a live observation mechanism at the router level to make sure both incoming and outgoing traffic are monitored.
It’s good advice, but not a selfhosted solution. Other than the usual suspects (crowdsec, fail2ban, pihole, Technitium, and their logs) anyone got any good solutions? In the current environment of LLM assisted cyberattacks it sure would be nice to step up our game.
I believe opnsense with zenarmor can detect and block this sort of thing.
I did look into self-hosting alternatives like Portmaster, OPNSense, IPFire, NethSecurity, and Zabbix.
I ultimately landed on a standalone device instead of a sidecar process. Main reason I posted the cautionary tale here was that it quickly let me discover malicious traffic on a selfhosted network that I was certain was safe and secure.
So what was causing the outbound traffic?
I’ll try to diagnose it once I’ve put it on its own isolated network. My guess is something embedded in one of the servers. Maybe a supply-chain attack let someone sneak something in. Firewalla marked each destination host as potential malware.
Pulled the plug, burning it down, they don’t know. They may find out as they rebuild.
differences between corporations and viruses:
You run a VPN?
From individual clients and mobile out, and from the homeserver only when downloading. The homeserver only gets accessed from inside my network.
That’s standard these days. Whether LLM training, vulnerability exploitation scanning, or an actually compromised system, there is a lot of automated traffic to any open endpoint on the internet. All you can do is run systems to mitigate it like crowdsec, fail2ban, Anubis, etc. Just monitoring isn’t going to do much, but monitoring is also important.
Also, an excellent use of LLMs is diagnosing such traffic and the software you use.
LLMs excel at ingesting information and analysing it, especially in fixed formats like logs, or open source software. They can track down exactly which line of code is resulting in the suspicious looking network calls, why that happens (what configuration combination + code makes it do that call), and analyse if it’s normal traffic or if your stack has been somehow exploited.
One reason I invested in this system was because of all the stories of LLMs now able to explore vulnerabilities. Figured I’d better know more about the traffic than a plain consumer router.
But the other was having a lot of third-party devices with full access to a flat network. With OTA updates, it’s possible for malicious material to get downloaded after that first install. Just being able to segment the network and limit the blast radius will let me sleep better. Once the dust settles, I’m going to try to do some traffic capturing on each vLAN and run them through AI models to see if there are any patterns.





