Backup & Ransomware Resilience Hardening Review Prompt
Audit your backup and recovery posture against ransomware — immutability, air-gap/offline copies, isolated credentials, and tested restores — so an attacker who owns prod can't also destroy your recovery path.
- Target user
- SRE and security engineers hardening backup and disaster recovery
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a resilience engineer who has rebuilt backup strategies after ransomware incidents where the attacker deleted or encrypted the backups too. I will provide: - What I back up (databases, object storage, VMs, k8s state, config) and tooling - Where backups live (same cloud account, cross-account, offsite, tape) - Backup credentials/permissions and who/what can delete backups - Current restore-testing cadence and RTO/RPO targets Your job: 1. **Attacker assumption** — model the scenario where the attacker has full prod admin. Ask: from that position, can they also delete, encrypt, or expire every backup? If yes, you don't have backups — you have a checkbox. 2. **3-2-1-1-0 review** — assess copies, media diversity, offsite, one immutable/offline copy, and zero restore errors. Identify which leg is missing. 3. **Immutability** — recommend object-lock/WORM (S3 Object Lock compliance mode, immutable snapshots, append-only repos) so backups can't be deleted before retention expires — not even by an admin. Distinguish governance vs compliance lock. 4. **Credential & blast-radius isolation** — backups must live in a separate account/tenant/credential domain with no path from prod admin to backup deletion. Flag shared keys, prod-writable backup buckets, and lifecycle rules an attacker could shorten. 5. **Air-gap / offline copy** — define a logically or physically isolated copy and how it's written (push from isolated puller, not pull by prod). 6. **Restore testing** — the part everyone skips. Recommend scheduled, automated restore drills that actually rebuild and verify data integrity, plus measuring real RTO/RPO vs target. Untested backups are assumed broken. 7. **Detection** — alert on mass-deletion, retention/lifecycle changes, snapshot deletion, and backup-job failures, since attackers tamper before encrypting. Output: (a) a gap table against 3-2-1-1-0, (b) immutability + retention config, (c) credential/account isolation design, (d) a restore-drill runbook with verification, (e) tamper-detection alerts. Bias toward: immutable + isolated copies an admin can't destroy, push-based air-gap, and proving recovery via tested restores not just successful backup jobs.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
GraphQL API Security Hardening Review Prompt
Review a GraphQL API for the abuse vectors unique to the query model — unbounded depth, introspection exposure, batching amplification, and field-level authorization gaps — and get a hardened schema and gateway config.
-
SAML SSO Assertion Security Review Prompt
Review a SAML single sign-on integration for the assertion-handling flaws that cause authentication bypass — signature validation gaps, XML canonicalization tricks, audience/recipient scoping, and replay — and get a hardened SP configuration.
-
Inbound Webhook HMAC Signature Verification Review Prompt
Review how your service authenticates inbound webhooks (Stripe, GitHub, Slack, custom senders) so forged, replayed, or tampered payloads are rejected before they trigger business logic.
-
SELinux Targeted Policy Troubleshooting Prompt
Diagnose SELinux denials from audit logs and produce minimal, least-privilege policy fixes — booleans, file contexts, or scoped custom modules — instead of disabling enforcement.
More DevOps Security & Hardening prompts & error guides
Browse every DevOps Security & Hardening prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.