Ransomware Defense Handbook
A practical guide to ransomware-resilient backups for industrial distributors: how to make your backups unreachable, undeletable, and proven to restore.
Who this is for
The IT person at a distributor, often the only one, who is technical but not a full-time security engineer. Each page is one topic with the key points, a diagram, and a note on how to apply it. It covers AWS, Azure and Google Cloud so you can pick the controls that match the platform you run. This is general education on industry practice, not legal or compliance advice; confirm retention for regulated records with your accountant or counsel.
Contents
- Page 1: Overview: What This Handbook Covers
- Page 2: Why Backups Are Ransomware's #1 Target
- Page 3: The 3-2-1-1-0 Rule, Element by Element
- Page 4: Immutable Storage at the Storage Layer
- Page 5: Separate the Control Plane from the Data Plane
- Page 6: Pull-Based Replication for API-Driven Backups
- Page 7: Identity Separation
- Page 8: Multi-User Authorization (Two Keys to Destroy Anything)
- Page 9: Service Account Hardening
- Page 10: Network Segmentation (Push, Never Pull Back)
- Page 11: The Portable-Drive Air Gap
- Page 12: Monitoring and Alerting
- Page 13: Key Metrics
- Page 14: SaaS and OAuth App Governance
- Page 15: Restore Testing (the "0" in 3-2-1-1-0)
- Page 16: Cleanliness Validation
- Page 17: Encryption Key Management
- Page 18: Cost Without Cutting Corners
- Page 19: Common Misconfigurations That Break Everything
- Page 20: A Sequencing Plan Before You Scale
- Sources
Page 1: Overview: What This Handbook Covers
- Attackers go after your backups first. This handbook shows how to make them unreachable, undeletable, and proven to restore.
- Foundations (Pages 2-4): why backups are the target, the 3-2-1-1-0 rule, and immutable storage on AWS, Azure, and Google Cloud.
- Architecture (Pages 5-11): separate credentials, pull-based copies, separate identities, multi-person approval, locked-down service accounts, network segments, and the offline drive.
- Operations (Pages 12-19): alerts, metrics, SaaS apps, restore tests, clean-backup checks, encryption keys, cost, and common mistakes.
- Action (Page 20): a step-by-step rollout plan you can follow before you copy one design to every branch.
flowchart LR
subgraph prod["Step 1: Production"]
ERP["ERP and shop systems"]
Files["Files and databases"]
None["Holds zero destination credentials"]
ERP --- None
Files --- None
end
subgraph pull["Step 2: Backup pull"]
Job["Backup pull service"]
end
subgraph v1["Step 3: Immutable vault"]
GV["Locked retention plus deletion guard"]
end
subgraph v2["Step 4: Second provider"]
B2["Second media type, separate account"]
end
subgraph off["Step 5: Offline drive"]
DRV["Keys and rebuild media, stored disconnected"]
end
ERP -->|"Read by the pull service"| Job
Files --> Job
Job -->|"Writes first immutable copy"| GV
GV -->|"Replicates to second media"| B2
GV -.->|"Periodic offline copy"| DRVSwipe sideways to see the whole diagram.
Page 2: Why Backups Are Ransomware's #1 Target
- If you can restore, you don't pay. So attackers try to destroy your backups before they encrypt anything else.
- Veeam's 2025 Ransomware Trends and Proactive Strategies report surveyed 1,300 organizations, 900 of them attacked. 89% of the attacked organizations had their backup repositories targeted.
- On average, 34% of their backup repositories were modified or deleted.
- Only 32% used repositories set up as immutable (unchangeable).
- An offsite copy is not the same as a safe copy. If your admin login can reach the copy, so can the attacker.
flowchart TB P["Production data"] P --> C1["Copy 1: local backup"] P --> C2["Copy 2: cloud vault"] P --> C3["Copy 3: second media"] C1 --> L2["2 media types: disk or appliance, and object storage"] C2 --> L2 C3 --> L2 L2 --> L1a["1 copy offsite: not in the building"] L1a --> L1b["1 copy immutable or air-gapped: locked vault and offline drive"] L1b --> L0["0 errors: a restore test that met RTO and worked"]
Swipe sideways to see the whole diagram.
Page 3: The 3-2-1-1-0 Rule, Element by Element
- 3 copies: production plus two backups. Proof test: name the three locations and show the newest timestamp in each.
- 2 media types: for example, two different major cloud providers, or cloud and a disk. Proof test: one outage or one compromised account cannot reach both.
- 1 offsite: a different building, region, or provider. Proof test: if the office or the primary cloud region is lost, the copy still opens.
- 1 immutable or offline: locked by the storage itself, or physically unplugged. Proof test: try to delete a backup with your most powerful admin account. It must fail.
- 0 errors: restores are verified, not assumed. Proof test: a logged restore test with a pass result within the last quarter.
See Fig 1 for the full stack.
Page 4: Immutable Storage at the Storage Layer
- AWS S3 Object Lock: Compliance mode means no one, including the root account, can delete or shorten the lock. Governance mode can be bypassed by anyone with a special permission, so it is a speed bump, not a wall.
- Azure: a locked time-based retention policy on Blob storage can't be removed, and the period can only be extended. An Azure Backup immutable vault set to "Enabled and locked" is irreversible.
- AWS Backup: Vault Lock in compliance mode can't be undone after its grace period ends. A logically air-gapped vault keeps backups in an AWS-owned service account, so there is no IAM path from your account to delete them.
- Google Cloud Storage: a bucket retention policy is reversible until you lock it (Bucket Lock). After that it can't be removed or shortened, and Cloud Storage puts a lien on the project.
- Google Cloud Backup and DR: backup vaults have enforced retention (0 days to 99 years) that can be locked. Since Nov 1, 2026, a project lien is applied automatically to projects with enforced-retention backups, so deleting the project can't be used to get around the lock.
- Rule of thumb: if an admin can switch it off, it is a policy, not immutability.
flowchart LR
subgraph compliance["Compliance mode"]
direction TB
U1["Root or admin delete request"]
L1["Object Lock is on"]
R1{"Retention expired?"}
NO1["Delete refused"]
YES1["Delete allowed"]
U1 --> L1
L1 --> R1
R1 -->|"No, still inside the window"| NO1
R1 -->|"Yes, window is over"| YES1
end
subgraph governance["Governance mode"]
direction TB
U2["Admin with bypass permission"]
L2["Object Lock is on"]
OK2["Delete succeeds anyway"]
U2 --> L2
L2 --> OK2
end
classDef refused fill:#f8d7da,stroke:#842029,color:#5c1a1a
classDef allowed fill:#d4edda,stroke:#2f6f3e,color:#16321c
classDef warn fill:#fff3cd,stroke:#8a6d1b,color:#4a3b0b
class NO1 refused
class YES1 allowed
class OK2 warnSwipe sideways to see the whole diagram.
flowchart LR
subgraph src["Your source cloud account"]
Prod["Production systems"]
IAM["Your IAM users, roles, and policies"]
Prod --> IAM
end
Block["No IAM path from the source account"]
subgraph dst["Service-owned account"]
Vault["Logically air-gapped vault"]
Keys["Keys the source account cannot use"]
Vault --- Keys
end
IAM -.-> Block
Block -.->|"Assume-role and direct access fail"| VaultSwipe sideways to see the whole diagram.
Page 5: Separate the Control Plane from the Data Plane
- Control plane means the settings: who has access, retention rules, schedules, and keys. Data plane means the backup files themselves.
- Use different credentials for each. The account that writes backups must not be able to change retention or delete vaults.
- Keep backup-control admins in a separate account, project, or tenant from production admins.
- An attacker with your production cloud admin should land on a backup system they can't log into.
flowchart TB
subgraph ids["Identities, kept separate"]
direction LR
Admin["Backup operator"]
Job["Backup job identity"]
end
subgraph planes["Planes, separate credentials"]
direction LR
subgraph control["Control plane"]
Pol["Retention, schedules, and locks"]
Iam["Identity and access policy"]
Alert["Alerting and audit"]
end
subgraph data["Data plane"]
direction LR
In["Incoming backup bytes"]
Store["Immutable object store"]
Out["Restore reads"]
In --> Store --> Out
end
end
Admin -->|"Manages jobs and policy"| control
Job -->|"Writes and reads data only"| data
Admin -.->|"Holds no data-plane secret"| data
Job -.->|"Holds no control-plane secret"| controlSwipe sideways to see the whole diagram.
Page 6: Pull-Based Replication for API-Driven Backups
- Push: production logs into the backup system and sends data. That means production holds backup credentials, and an attacker can steal them.
- Pull: the backup system logs into production with read-only rights and pulls the data out.
- Goal: zero destination (backup) credentials stored anywhere in production.
- Use a read-only API key or token on the source, scoped to only the data it needs, and rotate it.
- If production is fully compromised, the attacker finds no key that opens the backups.
flowchart LR
subgraph prod["Production network"]
P["Production systems"]
N["Holds zero destination credentials"]
P --- N
end
subgraph bak["Backup network"]
S["Pull service"]
R["Source-read credential"]
W["Destination-write credential"]
S --- R
S --- W
end
subgraph dest["Immutable vault"]
V["Locked backup storage"]
end
prod ~~~ bak ~~~ dest
S -->|"Initiates the connection and reads"| P
S -->|"Writes the copy"| V
P -.->|"Cannot authenticate to the vault"| VSwipe sideways to see the whole diagram.
Page 7: Identity Separation
- Backup admins and production admins are different accounts, and ideally different people.
- Don't join backup servers to your production Active Directory. If the domain falls, the backups shouldn't fall with it.
- Watch the built-in Backup Operators group. Its members can read and restore files regardless of normal file permissions, and on domain controllers that can expose the AD database. Keep it empty or nearly empty.
- Require phishing-resistant MFA (FIDO2 security keys or passkeys) for every backup admin login. SMS codes are not enough.
- Use just-in-time access: admin rights are granted for an hour when approved, not held permanently.
flowchart TB
subgraph prodid["Production identity domain"]
PA["Production admins"]
AD["Directory or IdP for production"]
PA --> AD
end
subgraph bkid["Backup identity domain"]
BA["Backup admins"]
BID["Separate directory or IdP"]
MFA["Phishing-resistant MFA"]
JIT["Just-in-time privileged access"]
BA --> BID
BID --> MFA
BID --> JIT
end
prodid -.->|"Do not join backup servers to production AD"| bkidSwipe sideways to see the whole diagram.
Page 8: Multi-User Authorization (Two Keys to Destroy Anything)
- Destructive backup actions should need a second person to approve them.
- Azure Resource Guard: a separate owner, ideally in another subscription or tenant, must approve critical operations such as disabling soft delete or immutability, or deleting backup instances.
- AWS Multi-party approval: an approval team (at least 3 approvers, at least 2 approvals) must agree before a recovery account gets access to a logically air-gapped vault.
- Google Cloud equivalent: Privileged Access Manager with required approval for lien removal and other risky roles.
- A small shop can still do this. The owner or a trusted outside party holds the second key.
See Fig 6 for how this fits with identity separation.
Page 9: Service Account Hardening
- The backup service account gets create-or-append only: it can write new backups but can't overwrite or delete them.
- Vault it: keep its credentials in a secrets manager, never in scripts, spreadsheets, or email.
- Scope it: one account per job, limited to one bucket or vault.
- Rotate it on a schedule, and right away after any staff change or suspected incident.
- Remove delete rights. Expiry is handled by the retention policy, not by a person or script.
flowchart TD SA["Backup service account"] A1["Create new backup objects"] A2["Append to a backup set"] D1["Delete objects"] D2["Overwrite objects"] D3["Change retention or clear a lock"] SA -->|"Allowed"| A1 SA -->|"Allowed"| A2 SA -->|"Denied"| D1 SA -->|"Denied"| D2 SA -->|"Denied"| D3 classDef ok fill:#d4edda,stroke:#2f6f3e,color:#16321c classDef no fill:#f8d7da,stroke:#842029,color:#5c1a1a class A1,A2 ok class D1,D2,D3 no
Swipe sideways to see the whole diagram.
Page 10: Network Segmentation (Push, Never Pull Back)
- Put backup systems on a dedicated VLAN (on-prem) or VPC/project (cloud).
- Deny by default. Open only the specific ports and addresses each backup job needs.
- Traffic flows one way. If you must push, production can send data in but cannot open connections back into the backup network or read from it. If you use pull (Page 6), only the backup side starts connections.
- No browsing, email, or general admin work from the backup segment.
flowchart LR
subgraph prodnet["Production VLAN or VPC"]
P["Servers and workstations"]
end
FW["Deny-by-default firewall"]
subgraph baknet["Dedicated backup VLAN or VPC"]
Repo["Backup repository"]
end
P -->|"Push backups in: allowed"| FW
FW --> Repo
Repo -.->|"Pull or read back to production: denied"| PSwipe sideways to see the whole diagram.
Page 11: The Portable-Drive Air Gap
- One copy lives on a drive that is physically disconnected. Malware can't reach a drive that isn't plugged in.
- Use it as a last resort for the essentials: encryption keys, recovery codes, configs, and rebuild media.
- Never leave it plugged in or powered on after the copy finishes. A drive that stays connected is just another target.
- Encrypt the drive, store it in a locked place offsite, and keep at least two in rotation.
- Log every connection: who, when, what was copied, and when it was disconnected.
See the offline drive in Fig 12.
Page 12: Monitoring and Alerting
- Mass deletions or modifications in backup storage, and backup jobs that stop or quietly shrink.
- Changes to retention, immutability, or encryption settings, plus any admin account change (new admin, MFA removed, role granted).
- Endpoint processes that attackers use to erase local recovery points:
vssadmin,wbadmin,bcdedit,wmic shadowcopy, anddiskshadow. - Cloud API calls that suspend versioning, delete snapshot schedules, or unlock or shorten retention.
- Backup console logins from non-admin workstations or from unusual locations.
- Send alerts somewhere the attacker can't silence, such as a separate account, phone, or outside monitoring service.
flowchart TD S1["Mass deletions"] S2["Backup jobs stop unexpectedly"] S3["vssadmin, wbadmin, bcdedit, wmic shadowcopy or diskshadow activity"] S4["Retention or encryption policy changes"] S5["Backup console login from a non-admin workstation"] SIEM["SIEM or alert hub"] OC["On-call responder"] S1 --> SIEM S2 --> SIEM S3 --> SIEM S4 --> SIEM S5 --> SIEM SIEM --> OC
Swipe sideways to see the whole diagram.
Page 13: Key Metrics
- Immutable coverage %: the share of critical data whose backup is locked. Target 100% of tier-0 (must-have) systems.
- Restore test pass rate: tests that met the RTO and worked, divided by tests run.
- Standing admins with delete rights: target near zero. Use just-in-time access instead.
- Oldest clean restore point vs. assumed dwell time: if attackers may hide for weeks before striking, you need clean copies older than that.
- Report these monthly, on one page, to the owner.
See the restore loop in Fig 10.
Page 14: SaaS and OAuth App Governance
- Email, office suites, CRM, and accounting SaaS keep recycle bins and version history. That is not an independent backup. It sits under the same login and the same tenant.
- Back up critical SaaS data to separate storage you control, outside that tenant.
- Review OAuth app grants (third-party apps connected to your accounts) every quarter. Remove unused ones and any with broad "read/write all" scopes.
- Restrict who can approve new app connections, and alert on new high-privilege grants.
See Fig 4 for why the control plane must stay separate.
Page 15: Restore Testing (the "0" in 3-2-1-1-0)
- Test three levels: single file, application (for example, the ERP database comes up and runs a query), and full system.
- At least once a year, restore a tier-0 system into an isolated network that has no path to production.
- Pass only if it met the RTO and the business can actually use it (log in, look up an order, print a pick ticket).
- Record the date, the system, the time taken, the result, and what broke. Fix it, then retest.
- A good cadence: an application-level restore test every quarter.
flowchart TD
Pick["Pick a restore point"]
Iso["Restore into an isolated network"]
Test["File, application, or full-system test"]
Clean["Optional cleanliness checks"]
RTO{"Meets RTO and actually works?"}
Pass["Pass: record evidence"]
Fail["Fail: fix gaps and retest"]
Next["Schedule the next quarterly test"]
Pick --> Iso
Iso --> Test
Test --> Clean
Clean --> RTO
RTO -->|Yes| Pass
RTO -->|No| Fail
Fail --> Pick
Pass --> Next
classDef ok fill:#d4edda,stroke:#2f6f3e,color:#16321c
classDef no fill:#f8d7da,stroke:#842029,color:#5c1a1a
class Pass ok
class Fail noSwipe sideways to see the whole diagram.
Page 16: Cleanliness Validation
- Immutable only means unchanged since it was written. If ransomware was already there, you locked in a bad copy.
- Entropy analysis: encrypted files look like random noise, so a sudden jump in randomness is a red flag.
- Data checks: row-count anomalies (tables shrinking or growing unexpectedly) and cardinality shifts (for example, every SKU suddenly unique, or all the same).
- Malware scanning: ClamAV for known malware and YARA rules for attacker tools and ransom notes.
- Mass-deletion detection between backup runs, then restore to a sandbox and scan before touching production.
See Fig 10 for where cleanliness checks fit in the restore loop.
Page 17: Encryption Key Management
- Store backup encryption keys in a dedicated key vault or HSM (hardware security module), separate from production keys and production admins.
- On AWS logically air-gapped vaults, the default and recommended option is an AWS-owned key managed by AWS Backup. That removes the risk of an attacker deleting or disabling your key. A customer-managed key is optional and can't be changed later.
- Rotate keys regularly, and make sure old backups stay readable after rotation.
- Keep a sealed, offline copy of the recovery keys and instructions on the portable drive (Page 11).
- Test it: can you decrypt a backup from a clean laptop using only what's in the offline kit?
flowchart TB
subgraph keys["Dedicated key vault or HSM"]
K["Encryption keys"]
Rot["Regular rotation"]
K --- Rot
end
subgraph bak["Backup storage"]
Enc["Encrypted backup objects"]
end
subgraph air["Service-owned keys for air-gapped vaults"]
AK["Provider-owned keys the source account cannot unwrap"]
end
K -->|"Encrypt and decrypt under tight IAM"| Enc
AK -.->|"Used when the vault is service-owned"| Enc
ProdAdmin["Production admins"] -.->|"No standing access to keys"| keys
BakAdmin["Backup admins"] -->|"Just-in-time access only"| keysSwipe sideways to see the whole diagram.
Page 18: Cost Without Cutting Corners
- Dedup and compression can cut backup storage substantially. Measure your own data before you budget on a percentage.
- Tiering: keep recent backups on fast storage and move older ones to cheaper archive classes, but check early-deletion fees and restore times.
- Set retention to your dwell-time assumption. Keep clean copies long enough to reach back before a hidden intruder arrived, and no longer than you need.
- Start with a 30-90 day immutable baseline, then adjust using real restore needs and cost.
- Remember that locked retention is a commitment. You pay for that storage until the lock expires.
Page 19: Common Misconfigurations That Break Everything
- Governance mode or an unlocked policy used where compliance mode or a locked policy was needed.
- The same admin account, SSO tenant, or AD domain controls both production and backups.
- Backup credentials stored on production servers (push design), or service accounts with delete rights.
- Project or account deletion left open: no lien, or lien-removal rights held permanently by Owners.
- Alerts going to an inbox the attacker controls, the drive left plugged in, or restores never tested.
- Keys stored in the same place as the data they protect.
Page 20: A Sequencing Plan Before You Scale
- Step 1: Verify your primary cloud lock. On Google Cloud, confirm locked bucket retention or Backup and DR enforced retention, confirm a project lien is in place (
gcloud alpha resource-manager liens list), and put lien removal behind Privileged Access Manager approval. On AWS, confirm compliance-mode Object Lock or Vault Lock. - Step 2: Split credentials. Keep production admins, backup-control admins, and backup-write service accounts separate (Pages 5, 7, 9).
- Step 3: Pull-based API backups. The backup side pulls with a read-only token, and zero destination credentials are stored on production (Page 6).
- Step 4: Second media type. Replicate to a second major cloud provider with its own storage-level lock, under a separate account and credentials.
- Step 5: Offline last resort. Put keys, recovery codes, and rebuild media on a disconnected portable drive (Page 11).
- Step 6: Prove it. Build the alerting from Page 12, pass a quarterly restore test (Page 15), and only then roll the design out to every branch and system.
See the whole design in Fig 12.
Sources
- Veeam press release: 2025 Ransomware Trends report
- Veeam blog: backup copy attack resistance
- Google Cloud Backup and DR release notes
- Google Cloud Backup and DR: create a backup vault (enforced retention)
- Google Cloud Backup and DR: project liens with multi-party approval
- Google Cloud Storage Bucket Lock
- AWS Backup logically air-gapped vault
- AWS Backup multi-party approval
- AWS Multi-party approval: create an approval team
- Azure Backup immutable vault
- Azure Backup multi-user authorization (Resource Guard)
Read the blog series
Twelve shorter, plain-English articles that walk owners and operations managers through the same ideas.
- Why Your Backup Is the First Thing Ransomware Looks For
- The 3-2-1-1-0 Rule in Plain English
- Immutable Storage: What It Is and Why Policy Isn't Enough
- Compliance Mode vs Governance Mode: The One Setting That Matters
- Air-Gapped Vaults: Isolation Your Attacker Can't See
- Separate Your Backup Credentials From Everything Else
- Pull-Based Backups: Why the Direction of the Connection Matters
- Your Backup Admin Account Is a Bigger Risk Than Your Domain Admin
- What to Monitor: The Five Alerts Every Distributor Needs
- Test Your Restores or You Don't Have Backups
- The Hidden Cost of a Five-Day Outage: Real Distributor Math
- How to Start This Week Without a Security Team
Want this handled for you?
Carryl Technologies keeps standby copies of your website, ERP and executive email off your network, in two separate secure locations with 18 months of history. Our goal is to have you back up within minutes, and we guarantee it within 8 hours.