I got a notification that I was using more of the resources than my monthly budget.
On checking with glances - I found something using 90%+ CPU with a link to pool.supportxmr.com
I installed ClamAV and ran a scan in the tmp folder and there is an infection. Unfortunately ClamAV can’t remove it.
I tried to manually remove - no luck I tried to chmod 777 - no luck
Any ideas what I can do to clean up the infection? Any ideas how I can figure out how this got into my droplet?
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.
Hello there,
ClamAV scan will usually return a list of files/folders that are infected and you can act based on this information. You can remove any files that are been uploaded/infected when logged in as the
root
As mentioned if you’re not familiar with the process you can always reach out to a third party that can help you with the process.
Additionally, if you have a snapshot or backup of your droplet before the infection occurred you can revert the changes by spinning a new droplet from your snapshot or restoring files from a backup.
Regards
Hi @smallaquaurchin,
I’m mostly certain there are other areas a part from the TMP folder that got infected. In such cases, it’s always best to contact a security expert to help you clean your Droplet and Website. That is of course if you can’t do it yourself.
Regarding the /tmp folder. You should be able to remove its contents but not the folder itself.
Want to learn more? Join the DigitalOcean Community!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Sign up now