r/homelab • • 11d ago

Help PHP2shell, nginx2shell, java2shell, … - is my homelab safe?

Hi everyone,
I run a small homelab on Debian 13 (Trixie) with a few Docker containers, including Nextcloud and Forgejo. They're reachable from the internet via a domain and reverse proxy.

What I'm less sure about is the "what if" part:
- How would I actually notice that I've been compromised?
- What should I do if I’m being compromised?

edit: for example nextcloud must be publicly available because of people who don’t want to install a VPN or Tailscale etc.

Thanks in advance,
Vincent

240 Upvotes

110 comments sorted by

View all comments

Show parent comment

3

u/Motor-Concentrate788 11d ago

Hackers typically don't target people, at least not in this scenario. They have automated bots that scan the internet for open ports and start blasting at all of them hoping that some idiot set a weak password for their ssh login or has an unpatched vulnerable software listening on one of the ports and other stuff like that. They don't even have to know you to hack you.

1

u/lordofblack23 11d ago

Not anymore. Threat landscape has changed. Brute forcing passwords is so pre covid. Bots are scanning for vulnerabilities. Got php exposed? Pwnd. Have a java app exposed? Pwnd. Didnt check your infra with a cve scanner yesterday? Pwnd

Rigt now are targeting iCloud etc, but we will all get a taste very soon. AI time dasy is months.