Report this

What is the reason for this report?

Someone hacked into my DigitalOcean account

Posted on August 9, 2021

They removed certain functionalities for web application. How can I restore those functions and prevent this from happening again?



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,

If it was only your web server that got compromised, I would recommend restoring a backup for your Droplet:

https://docs.digitalocean.com/products/images/backups/how-to/create-and-restore/

Then once you’ve restored your web server back to a working state, I would recommend scanning your website for malicious files and also installing all of the latest security patches. For example 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

In case that you believe that someone gained access to your DigitalOcean control panel, I would recommend the following:

  • Change your password to a very strong one
  • To prevent this from happening again, enable 2FA.
  • If you are still seeing the problems, I would recommend contacting the DigitalOcean support team.

Regards, Bobby

Hi there,

You can install malware detection software like Linux Malware Detect, also known as Maldet or LMD. It will help you to locate any malicious files on your droplet.

If you’re interested in securing your droplet (everyone should be in general) you can double-check our tutorial - An Introduction to Securing your Linux VPS.

The article will cover the basic and some more advanced steps in website and server security.

You can check the article here:

https://www.digitalocean.com/community/tutorials/an-introduction-to-securing-your-linux-vps

Hope that this helps!

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.