logoalt Hacker News

leptons • today at 7:05 AM • 3 replies • view on HN

When Plex got hacked and my linux server had a cryptominer installed, I had no clue where to start fixing it. I loaded up Claude to analyze the system logs, and it told me what commands to run (and why) and the infection was gone in about 10 minutes. There's no way I would have known the many things I needed to do to fix and secure the system. I'm fairly new to Linux, and without the AI I would be helpless with some of the tricky things.


Replies

kryptiskt • today at 7:28 AM

The right thing to do in that case is to save whatever data you need from the server and then nuke it thoroughly, which means all the disks should be wiped, don't keep the old UEFI partition around, and reinstall. It would be preferable to skip the first step and get the data from a source that wasn't compromised, but sometimes you have bring out the hazmat suits to recover stuff from compromised systems.

shepherdjerred • today at 7:30 AM

This is very reactive though -- imagine you were a business. You'd be screwed. Your data is already gone.

LtWorf • today at 1:14 PM

You're still helpless, since you didn't do what you should have done (format).