Report this

What is the reason for this report?

Unknown process using 95% CPU

Posted on December 1, 2020

Looks like a virus, but I’m not sure if I had chances to catch it It has a different command name yesterday, I killed it. And it started with a new name later

What steps should be taken?

Screenshot



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @alanfisher,

This looks like a crypto miner. What I could suggest is running the following command to get more information about the process:

  1. ps aux | grep -i nJnK4xPK

Or change the nJnK4xPK part with the command that you currently see in htop.

This should show you the exact command that was used to start the process. Then you could kill the process but also delete the files associated with that process.

Then depending on where the malicious files are stored at you could figure out how they got there. For example, if you have a WordPress website and you find the files in your WordPress theme folder, then it most likely means that the theme was compromised. If you find the files in the /tmp folder then it is likely that some of your plugins were compromised and were used to upload the files there.

Depending on the software stack that you have you could then install the necessary updates and secure your website. If you are using WordPress you could follow the steps on how to do that here:

https://www.digitalocean.com/community/questions/how-to-secure-wordpress-without-a-security-plugin

Let me know how it goes! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.