Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil.
-
No spam.
-
Posts are to be related to self-hosting.
-
Don't duplicate the full text of your blog or readme if you're providing a link.
-
Submission headline should match the article title.
-
No trolling.
-
Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.
-
AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
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.
@irotsoma @fubarx It was outbound traffic, you are telling about inbound traffic.
Would you regard an http response "outbound"?
If the traffic is initiated from the inside you typically consider any responses as belonging to the session as also "outbound" for firewall policy purposes. If we're talking packet routing then a response to a http request originating from the inside is inbound traffic.
@Zwuzelmaus Not really. The session is inbound. If you are seeing answers from inside to outside, you should see inbound sessions, initiated from outside to inside.
So you're saying there was 0 inbound traffic the whole time and only outbound? I mean, unless you're saying you think someone got in via wardriving or something that got into your LAN directly, or someone on your LAN opened some malware, they had to have started the process over the internet. First wave is discovery of vulnerabilities and if you don't have protection, then yeah they might have found something and exploited it. But simple monitoring and manually reacting still likely wouldn't have stopped this. It's very common to attack all valid IPs. That's why LLM data centers need so much processing power to be constantly scanning for any opening and the requesting all available data for training the LLMs or whatever.
Anyway, it always starts with inbound unless you're compromised from internal users activities.
They're talking about this specific post, and OP specifically said his server was contacting outside malware sites.
Yeah, but what triggered that. Likely an inbound connection that installed the malware. Again, unless they installed something locally or their poorly secured WiFi or other non internet service allowed access. Or they could be just seeding torrents which tend to access lots of less left sites. Blocking the inbound before connecting to the internet stops a lot of malware from getting installed in the first place. Of you're monitoring is showing unexpected traffic, it's too late.
Which should be the first things brought up after the router/firewall would be my recommendation.
I'm also doing DPI at the firewall, and have alerts set to trigger for odd activity, which I prefer over actively watching anything.
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.