Edition 1 · 20 pages · 12 figures

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

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"| DRV

Swipe sideways to see the whole diagram.

Fig 12: End-to-end reference architecture for a distributor. A reference design: production data is pulled by a backup service that production cannot log into, written first to an immutable vault at a major cloud provider, copied to a second provider on a second media type, and periodically placed on an offline drive for keys and rebuild media.

Page 2: Why Backups Are Ransomware's #1 Target

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.

Fig 1: The 3-2-1-1-0 layers. The 3-2-1-1-0 rule is a stack, not a slogan. You keep three copies, on two kinds of media, with one copy offsite, one copy immutable or air-gapped, and a restore test that proves zero errors.

Page 3: The 3-2-1-1-0 Rule, Element by Element

See Fig 1 for the full stack.

Page 4: Immutable Storage at the Storage Layer

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 warn

Swipe sideways to see the whole diagram.

Fig 2: Compliance-mode Object Lock. In compliance mode, even the root or admin account cannot delete a locked object until the retention period expires. Governance mode looks similar, but an admin with bypass permission can override the lock and delete the data anyway.
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"| Vault

Swipe sideways to see the whole diagram.

Fig 3: Logically air-gapped vault. A logically air-gapped vault lives in a service-owned account that your source IAM cannot reach. If an attacker steals production credentials, there is no role, policy, or assume-role path into the vault.

Page 5: Separate the Control Plane from the Data Plane

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"| control

Swipe sideways to see the whole diagram.

Fig 4: Control plane vs data plane. The control plane is where schedules, locks, and identity live. The data plane is the backup bytes themselves. Those two planes must use different credentials so one stolen secret cannot both change policy and read or destroy the data.

Page 6: Pull-Based Replication for API-Driven 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"| V

Swipe sideways to see the whole diagram.

Fig 5: Pull-based replication credential boundary. In a pull-based design, the backup service reaches into production and pulls the data. Production holds no credentials for the destination, so a compromised server cannot sign in to the vault.

Page 7: Identity Separation

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"| bkid

Swipe sideways to see the whole diagram.

Fig 6: Identity separation. Backup administrators should live in a separate identity domain from production administrators, with phishing-resistant MFA and just-in-time access. Do not join backup servers to the production directory, and do not treat the default Backup Operators group as a safe role.

Page 8: Multi-User Authorization (Two Keys to Destroy Anything)

See Fig 6 for how this fits with identity separation.

Page 9: Service Account Hardening

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.

Fig 7: Service account: create only. The account that writes backups should be allowed only to create or append objects. Delete, overwrite, and retention changes should be denied so a stolen service account cannot empty or unlock the vault.

Page 10: Network Segmentation (Push, Never Pull Back)

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"| P

Swipe sideways to see the whole diagram.

Fig 8: Network segmentation: push, not pull back. Put backup storage on its own VLAN or VPC and deny all traffic by default. Production may push backups in, but it must not be able to pull, browse, or restore from the repository over the same path.

Page 11: The Portable-Drive Air Gap

See the offline drive in Fig 12.

Page 12: Monitoring and Alerting

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.

Fig 9: Monitoring alert paths. Watch for mass deletions, stopped backup jobs, policy changes, shadow-copy tool activity, and backup console logins from ordinary workstations. Those signals should land in a SIEM or alert hub and reach the person on call.

Page 13: Key Metrics

See the restore loop in Fig 10.

Page 14: SaaS and OAuth App Governance

See Fig 4 for why the control plane must stay separate.

Page 15: Restore Testing (the "0" in 3-2-1-1-0)

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 no

Swipe sideways to see the whole diagram.

Fig 10: The restore test loop. A backup is not proven until you restore it into an isolated network and confirm it meets your recovery time and actually works. Failed tests go back around the loop until they pass, then you schedule the next one.

Page 16: Cleanliness Validation

See Fig 10 for where cleanliness checks fit in the restore loop.

Page 17: Encryption Key Management

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"| keys

Swipe sideways to see the whole diagram.

Fig 11: Key vault isolation. Encryption keys belong in a dedicated vault or HSM, not on the backup server and not mixed into production credentials. For logically air-gapped vaults, prefer service-owned keys so source-account admins cannot unwrap the data. Rotate keys on a regular schedule.

Page 18: Cost Without Cutting Corners

Page 19: Common Misconfigurations That Break Everything

Page 20: A Sequencing Plan Before You Scale

See the whole design in Fig 12.

Sources

Read the blog series

Twelve shorter, plain-English articles that walk owners and operations managers through the same ideas.

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.