Open table of contents
Design for failure beyond the entrance
Ransomware discussions often start with VPN updates, MFA, EDR, vulnerability remediation and stronger firewalls. These are necessary, but the system cannot assume that they prevent every intrusion. Stolen credentials, unknown vulnerabilities, configuration mistakes and abuse of legitimate administrative tools remain possible.
The attack may involve more than encryption. Data theft, destruction of backups and business interruption can support extortion. Stopping encryption or restoring data does not retract information that has already been stolen.
NIST IR 8374 Rev.1, published on June 11, 2026, addresses ransomware through all six CSF 2.0 Functions: Govern, Identify, Protect, Detect, Respond and Recover. [1] The architectural question is how far an intrusion can spread, when it will be noticed, how it can be stopped, and what can restore the business.
This article uses Prevent → Detect → Contain → Recover → Improve as a practical organizing flow. It is neither a product inventory nor a replacement for NIST’s Function names. It connects decision authority, technical boundaries and verifiable outcomes.
Connect the five perspectives to business responsibility
CSF 2.0 Functions should be addressed concurrently. Govern and Identify are not preparation completed once before an incident. [2] Decisions about protected business functions, tolerable loss, and authority to stop and restart services support every activity.
| Perspective | What to design | Principal CSF connections |
|---|---|---|
| Prevent | Reduce exposure, excessive authority, vulnerabilities and paths for spread | Identify / Protect |
| Detect | Collect evidence, analyze deviations and identify incidents requiring action | Detect |
| Contain | Limit damage, investigate and remove the causes and presence of compromise | Respond |
| Recover | Verify restoration assets, validate business operation and resume service | Recover |
| Improve | Apply exercise and incident findings to responsibility, configuration and operations | All Functions, including improvement under Identify |
This is not a strict one-to-one mapping. Segmentation is both advance protection and an enforcement point during isolation. Improvement need not wait until recovery finishes. Containment and eradication also have distinct completion criteria, even when discussed under the same heading here.
Scroll horizontally to view the complete diagram.
Read the diagram as text
Prevent, Detect, Contain, Recover and Improve organize practical responsibilities rather than a sequential implementation of NIST Functions. Business priorities, assets, dependencies and decision authority remain active throughout. Containment and eradication have distinct completion criteria; improvement feeds every activity.
Begin with critical business functions, tolerable interruption and acceptable data loss. Map their dependencies on identity, DNS, networking, applications, storage and external services. An inventory that only counts devices cannot establish restoration priorities.
Prevent: reduce the paths and authority available to an attacker
Evaluate actual exposure rather than the number of installed products. Remove unnecessary public services and remote administration tools, retire unsupported operating systems and middleware, and separate administrative interfaces from ordinary user paths. Prioritize vulnerabilities using exploitation evidence, exposure and business impact alongside severity.
For remote access, evaluate the user, device, authentication strength, risk and requested resource. The presence of a VPN alone does not determine safety. Authentication at entry should not automatically grant authority across the internal environment. Zero Trust Beyond Remote Access examines those trust boundaries in detail.
Separate daily-use accounts from administrative identities, with elevation limited in scope and duration. Use endpoint protection and device posture without treating an installed agent as proof of an uncompromised machine. Disabled agents, stale protection and hosts outside the monitoring scope also require attention.
Detect: recognize activity before encryption
Before encryption, an attacker may connect to multiple servers, change privileges, access credentials, operate backup administration, stop security controls, read large amounts of data or transfer it outside the environment. NIST SP 1800-26 describes an example solution for detecting and responding to data-integrity events and analyzing their impact. [4]
Availability monitoring and security detection overlap, but do different jobs. Healthy CPU and storage metrics can coexist with data theft using valid credentials. Define normal operational context as well as conditions that warrant investigation.
| Observation point | Investigative signal | Context needed |
|---|---|---|
| Identity and authentication | Unusual administrative identity, new device or privilege grant | Planned change, operator, session and target |
| Endpoint | Suspicious credential access or disabled protection | Process, actor and legitimate maintenance |
| Network and files | Unusual SMB activity, mass changes or external transfer | Business hours, batch jobs, data and destination |
| Administration and backup | Retention changes, deleted copies or stopped jobs | Authority, approvals and protected versions |
| Telemetry platform | Missing events, clock differences or stopped collection | Last receipt, collection scope and platform failures |
A large transfer alone is not proof of an attack. Absence of a recognized signal is not proof of health. Correlate observations and assign responsibility for investigation and the next action.
Scroll horizontally to view the complete diagram.
Read the diagram as text
Correlate identity, endpoint, traffic, administration and backup records. Account for timestamps, actors, targets and collection scope, then assign triage. Connect the decision to action and evidence preservation, including collection failures and missed detections in the assessment.
Preserve actor, target, operation, time, policy decision and session or request identifiers. Account for delayed events and uncertain timestamps as well as clock synchronization. Set retention with detection delay, investigation, contractual and legal requirements in mind.
If production administrators can erase the logs, investigation can fail alongside production. Separate collection, reading and deletion privileges, and detect interrupted forwarding. Avoid indiscriminately retaining secrets or tokens. Track who acquired evidence, when, where it is stored and whether it changed. Establish formal preservation procedures when legal use requires them. [3]
Use consistent time origins for detection measures. When initial intrusion time is unknown, measure from the first supported signal through notification, triage and containment; do not present it as time since intrusion. Include missed detections, out-of-hours cases and collection gaps, not only a mean over detected incidents.
Contain: prepare technical boundaries and authority to stop activity
Containment depends on both advance separation and actions during an incident. VLANs provide Layer 2 separation, but unrestricted inter-segment routing or same-segment traffic may bypass the intended boundary.
Enforce required business flows at gateways, hosts, network policies or services on the actual path. Routing everything through one central firewall is not the only option. CISA recommends segmentation, with an understanding of communication and business dependencies. [6]
Hypervisors, BMCs, storage, network devices and backup administration can affect many business workloads at once. Combine dedicated identities, administrative workstations or bastions, constrained paths and audit records. Separate networks remain exposed to a large common failure if one shared administrative credential can cross them all.
Scroll horizontally to view the complete diagram.
Read the diagram as text
Examine traffic reachable from a compromised endpoint or workload separately from privileges obtainable with a stolen identity. Assess management, business data and recovery assets, including bypasses, existing sessions and re-granting authority. Network segmentation alone does not determine the impact.
Evaluate more than whether an ordinary user can reach a management interface. Ask what a compromised application’s identity can operate, and who can grant themselves backup administration. A different account does not necessarily break a chain of privilege.
Isolation procedures must account for evidence and business impact
NIST SP 800-61 Rev.3 integrates incident response into cybersecurity risk management, including roles, decisions, response, recovery and improvement. [3] Avoid an architecture in which people must discover shutdown authority and contact details during the incident.
Define an incident lead, infrastructure and security responsibilities, executive decisions, legal and communications support, and relevant external responders, insurers and law-enforcement contacts. Organizations may combine roles; the requirement is clear ownership of decisions. Provide communications that remain usable when ordinary email or SSO is unavailable.
| Decision | Define in advance |
|---|---|
| Isolation scope | Endpoint, segment or management plane; dependent business functions |
| Isolation method | How to combine network restriction, session revocation, identity suspension and management controls |
| Evidence acquisition | Who can acquire which volatile data and records |
| Automation | Which limited actions may run automatically, and which service-wide disruptions need a decision |
| Release conditions | Investigation, eradication, revalidation and business acceptance |
The order of power-off, network isolation, memory acquisition and snapshot capture depends on ongoing damage and safety or operational consequences. Evidence collection must not unnecessarily delay urgent containment. Conversely, unconditional shutdown may destroy volatile evidence and interrupt critical services.
A successful isolation request may still leave existing tokens or another management path active. Confirm that reachability and authority actually changed. If controls running on a compromised endpoint cannot be trusted, enforcement outside that endpoint may be necessary.
Containment does not establish that compromise has been eradicated. Investigate persistence, stolen credentials, unauthorized identities and configuration, and the entry vulnerability. Remove, rebuild or revoke as appropriate before accepting recovery and reconnection.
Recover: distinguish a surviving copy from a trustworthy recovery point
Backups can fail with production if the same authority permits deletion, retention bypass or key disabling. NIST IR 8374 Rev.1 addresses backup protection, isolation, maintenance and restoration testing. [1]
S3 Object Lock provides WORM protection for an object version. Governance permits a bypass with the required operation permissions, bypass permission and an explicit bypass request. Compliance restricts deletion, overwrite and shortening of retention for a protected version during retention. Legal holds can be removed by authorized principals; they do not eliminate the need to separate authority. [7][8]
A new version or delete marker at the same key does not necessarily delete a retained older version. Recovery needs a catalog and version identifiers to select the required point. Retention does not also guarantee key availability, account continuity, confidentiality or continued backup collection.
| Responsibility | What to examine |
|---|---|
| Production operations | Can compromise of production obtain recovery administration? |
| Backup writing | Is capture scoped, and are stopped or incomplete jobs detected? |
| Retention and keys | Who can bypass retention, disable or delete keys, or change permissions? |
| Restoration | Can operators reach required copies and keys without normal production SSO or management access? |
Longer retention is not automatically better. Combine business recovery requirements with assumed attacker dwell time, detection delay, investigation and restoration time. Consider storage cost, capacity and data-retention or deletion obligations.
A short RPO does not justify a short retention window. Rapid replication can rapidly copy corruption and unauthorized configuration. The issue is whether useful historical states survive independently, not simply how many recent copies exist.
The latest backup may not be a safe recovery point
CSF 2.0 outcome RC.RP-03 calls for verifying the integrity of backups and other restoration assets before use. The 2026 ransomware Profile applies this outcome; the principle was not first introduced in 2026. [1][2]
Yesterday’s backup may already contain unauthorized configuration, a web shell or compromised credentials introduced weeks earlier. Compare candidate recovery points with the incident timeline, investigative indicators, configuration history and vulnerability state. Preserve uncertainty when the initial intrusion time cannot be established.
Matching hashes can establish that bytes have not changed since a trusted measurement; they do not establish that those bytes were healthy when captured. Combine malware examination, comparison with trusted configuration, application consistency and business acceptance. NIST SP 1800-11 emphasizes confidence in the accuracy of recovered data. [5]
Restore data and the infrastructure needed to use it
Restoration also depends on identity, DNS, networking, backup catalogs, encryption keys, runtime environments and software artifacts. Starting an application without its dependencies does not resume the business service.
Scroll horizontally to view the complete diagram.
Read the diagram as text
Establish recovery access independent of the normal production management path. Prepare trusted infrastructure and selected, verified data, satisfy their dependencies and restore in isolation. Check consistency, eradication and business acceptance before reconnection. The sequence must follow the environment’s actual dependencies.
The diagram illustrates dependencies rather than prescribing one universal sequence. Restoring identity first may be impossible if its storage or virtualization platform requires that same identity to administer it. Prepare independent recovery access, the required keys and configuration, and an executable bootstrap sequence.
Infrastructure as code and configuration management make reconstruction explicit. OpenTofu for infrastructure resources and Nix for supported host configurations are possible choices. Git definitions alone are insufficient: state files, providers, packages, signing and encryption keys, and secret retrieval are dependencies too. This is a design option, not a claim that the entire approach was implemented and exercised in the related customer engagement.
Rebuild from a trusted baseline in an isolated environment rather than copying configuration uncritically from the compromised system. Restore selected data and use technical validation plus business acceptance to decide when production reconnection is appropriate.
Make RTO and RPO measurable recovery conditions
RPO is a target for tolerable data loss; RTO is a target for restoration time. A business function with a 24-hour RPO and 72-hour RTO needs a different architecture from one with a five-minute RPO and 30-minute RTO. These are illustrative requirements, not measured results or recommended defaults.
During a cyber incident, the trustworthy recovery point may be older than the point used for ordinary disaster recovery. A backup interval can satisfy the configured RPO while actual business data loss exceeds it. Define transaction reconciliation, re-entry, degraded operation and business acceptance for that situation.
Include decision delays, administrative access, data retrieval, reconstruction, examination and business validation in measured recovery. Agree on the start and completion conditions, then compare the achieved duration with the RTO. A three-hour exercise is not a guarantee that every future incident will be resolved in three hours.
With an MSP or other external operator, specify scope and exclusions, capture frequency, retention, RPO/RTO, restore responsibility, escalation, priorities and exercise frequency in the operational agreement. Identify customer-held keys, approval delays, network capacity and other dependencies that affect the objective.
Improve: address more than the entry vulnerability
A VPN vulnerability may explain entry, while flat networks, shared administrative credentials, unsupported systems, deletable backups and missing logs explain the spread. A single CVE does not explain the entire incident.
Immediate business recovery and long-term modernization can have separate plans. Essential entry-path repair, credential rotation and isolation must not be postponed as future modernization. Meet minimum conditions for resumption, then assign owners and deadlines to remaining structural risks.
Continue vulnerability management through discovery, prioritization, remediation and verification. Identify unregistered servers, hosts with stopped monitoring and data excluded from backups. Distinguish distributing a patch from confirming its application.
Incidents are not the only source of improvement. Use exercises, near misses, configuration changes, new threats and failed restorations to update detection logic, privileges, procedures and dependency maps.
Preserve evidence for each stage instead of one score
Strong prevention cannot compensate for an inability to recover after compromise. Individual improvements are still valuable; their gains should not obscure a critical missing capability in an average maturity score.
| Area | Example evidence | Limits to record |
|---|---|---|
| Prevent | Exposed-asset inventory, excessive authority and verified remediation | Unknown assets and vulnerabilities may remain |
| Detect | Scenario detection, triage time and collection coverage | Do not exclude missed detections from the assessment |
| Contain | Forbidden-path reachability, revoked sessions and isolation time | Distinguish a successful command from effective enforcement |
| Recover | Validated point, usable keys, business consistency, elapsed time and data loss | Job success or a hash does not establish business recovery |
| Improve | Action owners, deadlines and verification after changes | Updating a document does not itself remove a technical weakness |
Scroll horizontally to view the complete diagram.
Read the diagram as text
Evaluate exposure and remediation, detection coverage and misses, effective isolation, business restoration and elapsed time, and verification after improvements. Record exercise conditions, exclusions, manual steps and uncertainty with the results.
Use authorized isolated environments, test identities and recovery fixtures for exercises. This table and the diagrams propose evaluation methods; they are not results from attack simulation or restoration exercises performed for this article. Record conditions, excluded paths, manual steps and uncertainty with the outcomes.
Connect the design to CoRISE’s published case
The ransomware response and infrastructure modernization case covers initial response, investigation of entry and impact, and work across identity, internal networking, virtualization, backup and continuing vulnerability management. Its published scope includes access redesign, inter-segment inspection, infrastructure modernization and backup design using S3 Object Lock.
The recovery dependencies, exercise measures and IaC reconstruction examples in this article are general design proposals. They do not add claims about achieved RTO/RPO, a particular retention mode or completed restoration exercises in that engagement.
The Zero Trust article asks who can reach which resource. This article asks who can stop activity after a control fails, and what evidence justifies restoration. Security & Resilience is the center of the discussion, connected to Architecture & Modernization and Platform & Operations.
Detect, limit spread and recover
Preparation starts by making intrusion harder. It then needs a path to investigate signals, contain damage, eradicate compromise and restore business from trustworthy assets.
Decision-makers need clear authority, enforcement points must work in practice, and recovery data and access must survive. Exercise that path, then feed what incidents and changes reveal back into the design.
Connect prevention, detection, containment, recovery and improvement through business tolerances and verifiable evidence. That is how resilience becomes part of infrastructure designed for the possibility of compromise.
What S3 Object Lock Protects turns the recovery boundary into OpenTofu configuration, separated permissions, deletion-rejection checks and version-specific restoration, with explicit limits on what each check establishes.
For deriving a lock duration from recovery timing, cost and deletion requirements, see Before Setting Object Lock Retention.
References
- NIST, IR 8374 Rev.1: Ransomware Risk Management — A CSF 2.0 Community Profile, June 11, 2026, final. Risk management across the CSF, backup outcome PR.DS-11 and pre-restoration integrity outcome RC.RP-03.
- NIST, The Cybersecurity Framework 2.0, CSWP 29, February 26, 2024. Concurrent Functions and recovery/improvement outcomes.
- NIST, SP 800-61 Rev.3: Incident Response Recommendations and Considerations for Cybersecurity Risk Management, April 3, 2025. Roles, evidence, containment, eradication and recovery within risk management.
- NIST, SP 1800-26: Data Integrity — Detecting and Responding to Ransomware and Other Destructive Events, December 8, 2020. An example detection and response solution for data-integrity events.
- NIST, SP 1800-11: Data Integrity — Recovering from Ransomware and Other Destructive Events, September 22, 2020. Accurate recovery supported by auditing and investigation records.
- CISA and partners, #StopRansomware Guide, October 2023, v3.0. Prevention, segmentation, backup and incident response.
- AWS, S3 Object Lock overview — pinned documentation, May 8, 2020 revision UTC. Retention modes, legal holds and version-level protection; not current setup instructions.
- AWS, Managing Amazon S3 object locks — same pinned revision. Retention bypass and delete markers.