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.

  • Encrypt-Keeper@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 hours ago

    Point is outbound monitoring find the issue after it’s too late

    It’s never too late. If you get compromised it’s kinda important that you become aware of that and take steps to remediate that. Otherwise what you’re suggesting is that once one thing on your network is exploited in some way, who cares. Let them have it all. It’s not 1999 anymore and defense in depth has been the name of the game for 20 years.

    The threat is from inbound unless you are internally compromised.

    This is like saying “The threat is from inbound except for when it’s not”. You cannot guarantee that you will never be vulnerable to an exploit at your edge or a supply chain attack. And in both cases, monitoring and remediating outbound traffic can mean the difference between a minor remediation job and a catastrophe.

    Plus most outbound traffic is actually responses to inbound requests assuming you’re using a decently secure and simple OS.

    Outbound in this context means outbound sessions. Responses to inbound requests are inbound. What matters is the initiating direction, not the flow of individual packets.