Skip to content
hostcomplex

Recover From Ransomware

What You Need Before You Start

This guide shows you how to recover from ransomware using backups, so you can restore your website without paying the attacker. It is for owners and administrators who find files encrypted or locked after an attack. Before you start, you need access to your hosting account, at least one backup stored apart from the infected system, and your host's contact details.

Steps to Restore From Backups

  1. Isolate the affected systems. Take the site offline or restrict access, and disconnect any infected server or drive so the attack cannot reach your backups or other accounts. Keep the encrypted files for investigation rather than deleting them.
  2. Report the incident and get help. Inform your host and, where relevant, your national cybersecurity authority. Many agencies advise against paying the ransom, and a security specialist can review the evidence before you decide anything.
  3. Find a clean restore point. Choose a backup taken before the intrusion, which may be days or weeks earlier. Work backwards from the first sign of trouble, and keep several candidate copies rather than only the latest.
  4. Restore into a clean environment. Rebuild or replace the affected server first, then restore the chosen copy there. Restoring onto an infected system can reinfect it.
  5. Check for leftover access. Look for unfamiliar user accounts, scheduled tasks and unexpected files. Change every password and key the attacker could have seen before the site returns to public use.
  6. Rebuild missing data and reopen. Recreate orders, messages or uploads made after the restore point from payment records or other sources, and tell affected customers about any gap.

Common Mistakes and When to Ask for Help

  • Restoring the newest backup first. It may already contain the malware or the encrypted files, so check older candidates first.
  • Keeping only one copy. If the attacker reaches it, you have nothing to restore. Store copies separately, and consider air-gapped backups.
  • Deleting evidence. Keep logs and encrypted files until the investigation is complete.

Ask your host or a security specialist for help if your backups are damaged, if you cannot find how the attacker got in, or if the site holds personal data, since you may have reporting obligations.

Is paying the ransom the only way to get data back?

No, but without usable backups it can feel like the only option. Payment does not guarantee that the attacker will provide a working key, and it can encourage further attacks. Many security agencies advise reporting the incident and seeking expert help before deciding anything.

What makes ransomware recovery take longer?

Recovery time depends on how much data must be restored, whether clean backups exist and how much of the system must be rebuilt. Missing or damaged backups extend the work, because data may need to be rebuilt or checked by hand. Tested restores and a written plan shorten the process considerably.

How can I prepare before a ransomware attack?

Keep several backups on separate systems, make at least one copy immutable, and test restores regularly. Write down who to call and how to rebuild a server. Planning like this is covered in disaster recovery planning.