Ransomware protection
Layers that keep a clean copy of your data: encryption, immutable copies, detection and tested restores.
Ransomware goes after your backups first
An attacker who encrypts your servers wants you to have no way back. So the backups, the keys and the admin accounts are targets too. Protection is a set of layers: make the first step hard, keep data unreadable to the wrong people, keep a copy nobody can change, notice what is wrong, and practice the way back.
- Prevent: firewall groups, roles, two-factor sign-in and scoped tokens
- Protect: encryption at rest, in transit and in backups
- Keep: immutable copies that stolen keys cannot change
- Detect and recover: alerts, verification and tested restores
Before, during and after an attack
Different controls act at each moment. None of them is enough alone.
Prevent: make the first step hard
Most attacks start with an exposed port or a stolen password.
Firewall groups
Open only the ports each server needs, per network interface, for traffic from outside and between your own servers.
Private networks
Keep databases and backup servers off the public internet. Only servers that need a public address get one.
Two-factor sign-in
TOTP codes on console sign-in, plus LDAP, SAML or OAuth identity providers on private installs.
Restricted by default
New users and API tokens on the backup server start with no permissions. Roles are explicit, and a token can be limited to one datastore.
Scoped API tokens
Tokens carry a scope and an expiry, can be revoked, and can be fenced to an IP allow-list.
Anti-spoofing on every NIC
Packet rules check that each virtual interface sends only from the IP and MAC assigned to it.
Protect: encryption at every layer
Encryption keeps stolen media and intercepted traffic unreadable. It does not stop an attacker who already holds your keys, which is why the next layer exists.
| Where | What VPSie uses | Notes |
|---|---|---|
| Disks and storage | AES-256; LUKS or dm-crypt at the block device level | Set by the storage policy the disk sits on; moving from encrypted to plain is refused |
| Storage replication | Encrypted channels between nodes and sites | Data stays encrypted while it is copied |
| Network, in transit | TLS 1.2 or 1.3 for HTTPS and the API | Database replication over SSL/TLS |
| Backups | Client-side AES-256-GCM | Keys generated on the client; you can supply your own key per client |
| Kubernetes | etcd and Secrets encryption; WireGuard or IPSec between nodes | RBAC limits who reaches the keys |
| Object storage | TLS 1.2 or newer, plus Object Lock | See buckets |
Keep: a copy that nobody can change
Immutability is the layer that still holds when an attacker has your passwords. A locked object cannot be overwritten, re-encrypted or deleted until its retention ends, even with valid keys.
- Object Lock on buckets in governance or compliance mode, 1 to 3,650 days
- Backup server: data for existing blocks is not rewritten
- Off-server and off-site sync to a copy the main system cannot reach
- Protected backups that retention never deletes
- Snapshot chains that cannot be changed after the fact, for recovery and forensics
Detect: notice what should not be there
A control is only useful if something tells you when it is bypassed.
Backup verification
SHA-256 checksums and scheduled verification jobs check every backup. A sudden run of changed or failed chunks can be an early sign of ransomware.
Failure emails
A failed backup or snapshot run sends an email, and each server shows its last result and next run.
Anomaly alerts
Access patterns and usage are watched, with alerts to administrators for unusual behavior or a possible breach.
Unregistered VM detection
The platform watches for virtual machines or containers it did not create, which points to a rogue workload or drift.
Audit trail
Sign-ins, API use, permission changes and workload changes are recorded; private installs can export them to your SIEM.
Metrics and alerts
Disk growth, CPU spikes and failed services alert the team on call, next to the audit trail.
Recover: practice the way back
Restores are where the plan is proven. Run them before you need them.
Point-in-time restore
Restore a whole server from a backup taken before the attack, over the original or as a new server.
Single files
Browse a backup, find the files that were encrypted and restore just those.
Live restore
Start the server while its data is still coming back, to shorten the outage.
Failover to a second site
With disaster recovery, start replicated servers in another location and fail back when the main site is clean.
The 3-2-1-1 rule, with VPSie services
A common rule of thumb for copies that survive ransomware.
| Rule | Meaning | On VPSie |
|---|---|---|
| 3 copies | Production plus two copies | Server, backup, and a copy in a bucket or second site |
| 2 media | Copies on different kinds of storage | Backup server plus object storage |
| 1 off-site | One copy in another location | Global backups, datastore sync or a bucket in a second location |
| 1 immutable | One copy that cannot be changed | Object Lock on the bucket that holds the copy |
Related services
Each page has the detail behind the line above.
Backup Buckets Disaster recovery Security Monitoring Networking Trust Use cases
Ransomware questions
Does VPSie guarantee recovery from ransomware?
No provider can. The layers on this page make a clean copy far more likely to exist and to be reachable. Whether it comes back in time depends on your copies, your retention and your restore tests.
If an attacker steals our keys, can they delete our locked backups?
Not in compliance mode: no one, including the account owner, can shorten retention or delete a locked object before it expires. Governance mode lets a tightly privileged role change retention, so guard that role.
Does encryption stop ransomware?
No. Encryption protects stolen media and intercepted traffic. Ransomware uses your own access to encrypt data again, which is why you also need immutable copies and tested restores.
How do we know which backup is clean?
Use the verification results, the audit trail and your monitoring to find when the attack started, then restore a backup from before that point to an isolated server and check it before you switch.
Can we protect servers that are not on VPSie?
Yes. Any S3-aware backup tool can write to a VPSie bucket over TLS and lock the objects. For other platforms, see migration and recovery or ask our team.
Should we pay a ransom?
That is a decision for you, your lawyers and the authorities. A tested restore from an immutable copy is what gives you the choice not to.
Learn more: Protecting buckets from ransomware · S3 bucket storage with built-in ransomware protection · Two-factor sign-in
Check your ransomware plan with an expert
Bring your backup list and your last restore test. We will find the gaps and the copy you are missing.