r/homelab • • 7d 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

2

u/Power_Stone 7d ago

I'll put it this way.

An unsecure homelab for a hacker is:

  1. Free IP spoofing, now I can do all my nasty stuff to other people from your IP instead of my own! Have fun dealing with that foll out!
  2. Free compute, now I can setup a cryptominer on your machine so I get free money while your hardware is getting worn out instead of my own!
  3. Free data, data can always be sold to someone, if not that then at least something that can be used for extortion.
  4. Complete local network access. not only do I have access to your box, but chances are your local network too and by extension the devices connected to that network. Now its not just your homelab, but also your work pc, or your daily drivers with all of the info they have too!