Short answer: Attackers who get into a server or hosting account can encrypt or delete your files and databases, then demand payment. The real defence is backups the attacker can't reach: copies stored off the server, ideally ones that can't be changed for a set time, plus a tested recovery plan.
How it reaches websites
- Stolen hosting, SSH or control panel passwords.
- Vulnerable software on a server you manage.
- Compromised computers that hold saved logins.
Backups the attacker can't touch
- Follow the 3-2-1 rule.
- Keep at least one copy off the server and outside your hosting account.
- Where possible, use storage with versioning or a lock period.
- Protect backup accounts with separate passwords and 2FA.
A recovery plan
- Know where backups are and who can restore them.
- Practise a restore every few months. See disaster recovery.
- Keep contact details for your host's support. Ours is 24/7 on WhatsApp.
Should you pay?
Law enforcement and security organisations generally advise against paying. Payment doesn't guarantee recovery and funds further attacks.
Frequently asked questions
Can shared hosting be hit by ransomware?
Your account can be damaged if your logins are stolen. Hosts also protect the server itself.
How quickly can a site be restored?
From minutes to hours with a recent, tested backup.



