In short
- Ransomware attackers usually delete or encrypt backups before they encrypt anything else.
- Backup infrastructure should be isolated from production: separate credentials, a server outside the domain and restricted network access.
- At least one copy should be immutable or offline, and restores should be tested regularly.
After a ransomware attack, one question often decides a business’s fate: are the backups intact? Attackers know this, so as they move through the network they go after the backup server, backup repositories and hypervisor management consoles first. The 3-2-1 rule tells you what to back up; this article focuses on how to protect the backup infrastructure itself.
How do attackers reach backups?
- By signing in to a domain-joined backup server with domain admin rights
- By using the backup console password if it is saved in a browser or a file
- By encrypting backup folders that are always reachable over the network (SMB shares, NAS)
- By reaching hypervisor management (vCenter, ESXi, Hyper-V) and deleting virtual machines and snapshots
- By finding the cloud storage account’s credentials and deleting cloud backups
1. Isolate the backup server
- Don’t join the backup server to the production domain; run it in a workgroup or a separate management domain
- Create separate, MFA-protected accounts used only for the backup server and repositories
- Make the backup console reachable only from the management network; switch off RDP and unnecessary services
- On the firewall, allow only the ports needed for backup traffic into the backup network
- Keep the backup software and the storage devices’ firmware up to date
# Is the backup server joined to the domain?
(Get-CimInstance Win32_ComputerSystem) | Select-Object Name, PartOfDomain, Domain
2. An immutable and offline copy
A copy that can’t be deleted even if administrator rights are compromised is your guarantee of recovery after an attack. The options:
| Method | How it protects | Watch out for |
|---|---|---|
| Cloud storage with Object Lock (compliance mode) | Nobody can delete it before the retention period ends | Choose the retention period carefully and calculate the cost |
| Hardened Linux repository | Immutability at file system level; single-use credentials | SSH access to the server must stay disabled |
| Immutable NAS snapshots | Snapshots can’t be deleted for a set period | The NAS management interface must be protected. See our NAS guide |
| Offline media (rotated disks, tape) | Physically separated from the network | Needs regular rotation and secure storage |
3. Encrypt backups and keep the key separate
Backups stored off-site or in the cloud must always be encrypted. The encryption password or key should not be stored in plain text on the backup server, but somewhere separate and secure (for example a password manager plus a printed copy). If the key is lost, the backup is lost too.
4. Protect hypervisor and storage management
- vCenter, ESXi and Hyper-V management interfaces should be reachable only from the management network
- On ESXi, keep SSH and unneeded services disabled and consider lockdown mode
- Hypervisor admin accounts should be separate from domain admin accounts
- Virtual machine snapshots are not backups; they live on the same infrastructure
5. Monitor and get alerts
These events in the backup infrastructure should trigger an instant notification:
- Backup jobs failing or not running at all
- Backups, restore points or job definitions being deleted
- Retention periods being shortened or encryption being switched off
- Sign-ins to the backup console at unusual hours or from a new IP address
- Backup services being stopped
For the related events on the Windows side, see our article on detecting attacks with event logs.
6. Actually test restores
A backup only proves its worth when it is restored. At least every three months, test restoring a file, a database and a complete server in an isolated environment, and record how long it takes. Because attackers can stay in a network unnoticed for weeks, retention also needs to be long enough to cover that time; keeping only the last few days of backups may just bring back a system that was already infected.
A test question: “If our domain admin account were compromised, could the attacker delete our backups?” If the answer is “yes”, your backup infrastructure is not isolated enough.
Conclusion
Backup is the last line of defence against ransomware, which is exactly why it is also attackers’ first target. An isolated backup server, separate credentials, an immutable copy, encryption, monitoring and regular restore tests are what guarantee you can get the business back on its feet after an attack. At SistemON, we design, build and monitor your backup infrastructure along these principles as part of our server solutions service.
Frequently Asked Questions
Should the backup server be joined to the domain?
It isn’t recommended. If domain admin rights are compromised, a domain-joined backup server is compromised too. Running the backup server in a workgroup or a separate management domain, with separate credentials, makes it harder for an attack to reach the backups.
What is an immutable backup?
A backup that cannot be deleted or changed, even with administrator rights, until its retention period expires. Cloud storage with Object Lock or hardened repositories with immutability features are used for this.
Is a cloud backup enough on its own?
A cloud backup is very valuable as an off-site copy, but if the cloud account’s credentials are compromised the backups can be deleted. That is why MFA, a separate account and immutability must also be enabled on the cloud side.
Need help with this?
Let us review your infrastructure free for the first month and share a clear list of risks and priorities.