News for hackers. Stuff that matters.
Re:I got hacked: My Hetzner server started mining Monero by miladyincontrol on Wednesday December 17, 2025 @06:53PM (#46307254)
> but a lot of docker containers are misconfigured or unnecessarily privileged, allowing for escape

Honestly, citation needed. Very rare unless you're literally giving the container access to write to /usr/bin or other binaries the host is running, to reconfigure your entire /etc, access to sockets like docker's, or some other insane level of over reach I doubt even the least educated docker user would do.

While of course they should be scoped properly, people act like some elusive 0-day container escape will get used on their minecraft server or personal blog that has otherwise sane mounts, non-admin capabilities, etc. You arent that special.

Re:I got hacked: My Hetzner server started mining Monero by fomine3 on Wednesday December 17, 2025 @09:09PM (#46308187)
I've seen many articles with `-v /var/run/docker.sock:/var/run/docker.sock` without scary warning
Re:I got hacked: My Hetzner server started mining Monero by boomlinde on Thursday December 18, 2025 @04:11AM (#46310464)
What would the intended use case for that be?
Re:I got hacked: My Hetzner server started mining Monero by jp191919 on Thursday December 18, 2025 @03:21PM (#46318125)
Diun
Re:I got hacked: My Hetzner server started mining Monero by cyphar on Thursday December 18, 2025 @12:11AM (#46309082)
As a maintainer of runc (the runtime Docker uses), if you aren't using user namespaces (which is the case for the vast majority of users) I would consider your setup insecure.

And a shocking number of tutorials recommend bind-mounting docker.sock into the container without any warning (some even tell you to mount it "ro" -- which is even funnier since that does nothing). I have a HN comment from ~8 years ago complaining about this.

Re:I got hacked: My Hetzner server started mining Monero by vultour on Thursday December 18, 2025 @06:01AM (#46311218)
Half the vendor software I come across asks you to mount devices from the host, add capabilities or run the container in privileged mode because their outsourced lowest bidder developers barely even know what a container is. I doubt even the smallest minority of their customers protest against this because apparently the place I work at is always the first one to have a problem with it.