News for hackers. Stuff that matters.
Re:I got hacked: My Hetzner server started mining Monero by tete on Wednesday December 17, 2025 @07:18PM (#46307452)
Firewalls in the majority of cases don't get you much. Yes it's a last line of defense if you do something really stupid and don't even know where or what you configure your services to listen on, but if you don't the difference between running firewalls and not is minuscule.

There are way more important things like actually knowing that you are running software with widely known RCE that don't even use established mechanisms to sandbox themselves it seems.

The way the author describes docker being the savior appears to be sheer luck.

Re:I got hacked: My Hetzner server started mining Monero by danparsonson on Thursday December 18, 2025 @12:07AM (#46309064)
The author mentioned they had other services exposed to the internet (Postgres, RabbitMQ) which increases their attack surface area. There may be vulnerabilities or misconfigurations in those services for example.

Good security is layered.

Re:I got hacked: My Hetzner server started mining Monero by seszett on Thursday December 18, 2025 @12:42AM (#46309255)
But if they have to be exposed then a firewall won't help, and if they don't have to be exposed to the internet then a firewall isn't needed either, just configure them not to listen on non-local interfaces.
Re:I got hacked: My Hetzner server started mining Monero by spoaceman7777 on Thursday December 18, 2025 @01:41AM (#46309574)
This sounds like an extremely effective foot gun.

Just use a firewall.

Re:I got hacked: My Hetzner server started mining Monero by seszett on Thursday December 18, 2025 @02:06AM (#46309717)
I'm not sure what you mean, what sounds dangerous to me is not caring about what services are listening to on a server.

The firewall is there as a safeguard in case a service is temporarily misconfigured, it should certainly not be the only thing standing between your services and the internet.

Re:I got hacked: My Hetzner server started mining Monero by newsoftheday on Thursday December 18, 2025 @03:03PM (#46317874)
A firewall is a safeguard, period. Like the firewall between the driver and engine in a car.
Re:I got hacked: My Hetzner server started mining Monero by vultour on Thursday December 18, 2025 @05:52AM (#46311156)
If you're at a point where you are exposing services to the internet but you don't know what you're doing you need to stop. Choosing what interface to listen on is one of the first configuration options in pretty much everything, if you're putting in 0.0.0.0 because that's what you read on some random blogspam "tutorial" then you are nowhere near qualified to have a machine exposed to the internet.
Re:I got hacked: My Hetzner server started mining Monero by hermannj314 on Thursday December 18, 2025 @10:11AM (#46313528)
Don't do anything until you are an expert is excellent gatekeeping, fortunately this is hacker news so we can ignore the gatekeepers!

I suggest people fuck around and find out, just limit your exposure. Spin up a VPS with nothing important, have fun, and delete it.

At some point we are all unqualified to use the internet and we used it anyway.

No one is going to die because your toy project got hacked and you are out $5 in credits, you probably learned a ton in the process.

Re:I got hacked: My Hetzner server started mining Monero by lgvld on Saturday December 20, 2025 @08:24AM (#46336013)
Absolutely. Thank you.
Re:I got hacked: My Hetzner server started mining Monero by monster_truck on Thursday December 18, 2025 @05:28AM (#46310987)
extremely loud incorrect buzzer noise, what are you going to say next "bastion servers are a scam"