I'm running a Jira and a Confluence instance (and nginx reverse proxy) on a VPS. Currently, I can't start the confluence for some reason and I think this is a consequence of something else.
I've checked the process list:
The confluence
user running the /boot/vmlinuz
process and it eats the CPU. If I kill -9
this process it starts again a few seconds later.
After reboot the VPS:
/boot/vmlinuz
process starts.I've removed the Confluence from the automatic start, but it doesn't matter.
So my questions:
/boot/vmlinuz
process? I never saw this. (Yes I know, the vmlinuz is the kernel)Thanks any for answer
It caused by a hack. If you find a /tmp/seasame
file, your server is infected. It uses the cron to download this file. I've removed the files in the /tmp
folder, killed all the processes, disabled the cron for the confluence user, and updated the Confluence.
Your server looks like hacked.
Please take a look on process list closely.
e.g. run ps auxc
and take a look on process binary sources.
You can use tools like rkhunter to scan your server but in general you should at the beginning kill everything that has been lunched as confluence user, scan your server/account, upgrade your confluence (in most cases user determinate source of attack), and look in your confluence for additional accounts etc.
Is you would like to see what is in that process, take a look on /proc e.g. in ls -la /proc/996
. You will see source binary there too. You can also lunch strace -ff -p 996
to see what process is doing or cat /proc/996/exe | strings
to see what strings that binary have. This is probably some kind of botnet part, miner etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With