
07 Oct How Ransomware Attackers Deleted Offsite Backups: A Case Study
In July 2026, On-Site Technology responded to a ransomware attack on a manufacturing business with roughly 30 users. The group behind it, which calls itself The Gentlemen, encrypted the production server and business data. Before that, it went after the backups, including two offsite copies held with two separate cloud services, and deleted them. Here is how the attack worked, how to spot it, and the settings that block it.
Ransomware backup deletion at a glance
The attackers recovered the cloud storage keys saved in the backup software’s configuration on the backup server, then used them to delete the offsite backup bucket. A second copy, synced from a NAS to the NAS manufacturer’s cloud service, was removed with a remote delete command. Object Lock in compliance mode, storage keys without delete rights, and immutable NAS snapshots block this path. The techniques map to MITRE ATT&CK T1555 and T1490.
What happened, step by step
The attack followed a familiar pattern: get in, collect credentials, destroy recovery options, then encrypt.
1. Credentials stored in plain text
Plain-text credentials stored on the network are believed to have helped the attackers move deeper once they had a foothold.
2. A script run from a service account’s Downloads folder
Logs show a PowerShell script executed from the Downloads folder of a service account. The script was built to decrypt passwords saved by the backup software, and it had been deleted by the time we responded.
3. Cloud storage keys pulled from the backup server
The environment used a leading enterprise backup platform that replicated backups to S3-compatible cloud storage. The script appears to have decrypted the cloud storage access keys saved in the backup software’s configuration.
4. The primary offsite copy deleted
With those keys, the attackers connected to the storage provider using rclone, a common open-source file-sync tool, and deleted the backup bucket. Once deleted, the data could not be recovered.
5. The secondary offsite copy deleted
A NAS device held a second backup copy and synced it to the NAS manufacturer’s own cloud backup service. The attackers issued a remote delete command against that cloud container as well.
6. Local backups and servers encrypted
The attackers then encrypted the local backups, the production server, and business data.
Why this technique works
Many backup deployments share the same weakness. The credentials needed to reach every copy, including the offsite ones, live on the network the attacker is already inside.
Backup software has to keep cloud storage keys where it can use them, so an attacker who controls the backup server can often recover them. Unless the bucket enforces Object Lock in compliance mode, anyone holding keys with delete rights can remove the data. With compliance-mode locking, the delete request is refused even when the keys are valid.
The encryption offers no shortcut either. This ransomware family encrypts each file with its own key using XChaCha20 with X25519 key exchange, so brute force is not an option. One detail is useful for responders: it encrypts only portions of large files to work faster, so large files such as database backups may be partially recoverable by a specialized data-recovery firm.
Mapped to MITRE ATT&CK
How to detect this on your backup servers
Most steps before the deletion leave traces on the backup server. If you monitor your backup servers, alert on:
- Any process other than the backup software’s own services reading its configuration database.
- DPAPI unprotect calls in PowerShell script block logs (Event ID 4104).
- PowerShell launched from a Downloads folder, especially under a service account.
- rclone present or running on a backup host.
- Connections to S3 storage endpoints from any machine that is not a backup server.
- Bulk delete or bucket-delete API calls in your object storage account logs.
What we recommend
If you back up to cloud storage, review your setup against these steps.
- Turn on Object Lock in compliance mode for every backup bucket, and immutable snapshots for NAS devices and their cloud backup targets. Nobody, including you, can delete locked data before its retention date. That is the point.
- Give the backup server storage keys that can write and read, but not delete. Keep the storage account’s admin credentials off the network entirely.
- On backup servers, use AppLocker or WDAC to stop PowerShell from running out of user Downloads folders, and run service accounts in Constrained Language Mode.
- Move every shared credential into a password manager with MFA. Then search your workstations for files named like “passwords” or “logins”. You will probably find one.
- Treat the backup server like a domain controller. It holds the keys to your last line of defense, so its logs belong in front of a managed detection and response team watching for the behaviors above.
If you are hit, preserve memory before rebooting anything. RAM, hiberfil.sys and the pagefile can hold key material a forensics firm may be able to use. Report the attack to the FBI through IC3 and to CISA, and check No More Ransom for a decryptor.
Want a second set of eyes on your backups?
If you are not sure your offsite copies would survive an attacker holding your backup server, talk to us before you find out the hard way.
Learn more about our Business Continuity and Disaster Recovery, Data Backup and Continuity, or Managed Cybersecurity services.
Talk to OST About Your Backups
Or call (973) 777-7227
References
Technique IDs from the MITRE ATT&CK Enterprise matrix. Details of this incident come from On-Site Technology’s own response work; the client is not identified.