Security

My server was hacked — what to do

Step-by-step incident response for a compromised VPS. · 5 min read

  1. Do not panic and do not reinstall immediately — you may lose evidence and data.
  2. Write to support. We can take the server offline from the network or boot it into rescue mode.
  3. Save your data from rescue mode: databases, website files, configuration.
  4. Find the entry point: outdated CMS plugins, weak passwords, exposed databases, leaked SSH keys. Check /var/log/auth.log, web server logs and recently changed files (find /var/www -mtime -3).
  5. Reinstall cleanly and restore only data you have checked — not executables.
  6. Change all passwords and keys: server, panel, database, FTP, CMS admins, API keys.
  7. Harden: SSH keys, firewall, Fail2ban, regular updates and backups.

Our engineers can do the clean-up and hardening for you as a paid IT service.

Order a server built by real engineers or talk to our team — we are online 24/7. Support →

Security

All tutorials

Ready to launch your project?

Order a server built by real engineers or talk to our team — we are online 24/7.