51. Ransomware is encrypting files on a file server. What would you do during the first hour?
I would confirm the encryption, assess impact and severity, and isolate the affected file server immediately. Then I would preserve evidence, build a timeline, scope other affected systems and accounts, notify the incident lead, protect clean backups, and prepare verified recovery after containment.
The first hour is mainly about stopping further damage while learning what is actually happening. I would confirm that files are actively being encrypted, identify the affected file server, assess business impact, and record the initial scope and severity. Then I would make the smallest safe containment decision by isolating that server from the network. I would preserve useful evidence when feasible, build a timeline, determine whether other systems or accounts are affected, keep authorized stakeholders informed, protect clean backups, and prepare for recovery only after containment is established.
- Is file encryption still actively occurring?
- Is only one file server affected, or are other systems showing similar activity?
- How critical is the affected server to current business operations?
- What endpoint, identity, network, server, and authentication evidence is available?
- Are known-clean backups isolated from the affected environment?
- Who is the authorized incident lead for containment and recovery decisions?
I would explain the first hour as five connected actions.
- Confirm impact and assess. I would verify active encryption rather than assuming an alert proves the complete incident. I would identify the affected server, determine the immediate business impact, and record the initial scope and severity. I would separate confirmed facts from hypotheses so the team does not make decisions based on assumptions.
- Isolate immediately. If encryption is active, I would isolate the affected file server from the network. The goal is to stop additional access to network resources and reduce further spread. If evidence shows that other systems are also affected, I would expand containment to the affected network segment. The tradeoff is availability: isolation may interrupt business service, but delaying containment can allow more damage.
I would keep the server powered on when it can be safely isolated from the network. That preserves the opportunity to capture volatile evidence such as running processes, active connections, and memory-resident information. If network isolation is impossible and continued operation creates greater risk, powering the server down may become the safer containment decision. Evidence preservation should not delay necessary isolation.
- Preserve evidence and timeline. When feasible, I would capture relevant volatile evidence and collect server, network, endpoint, identity, and authentication logs that can help answer the incident questions. I would record responder actions and timestamps so the team can reconstruct what happened. If evidence may be needed for legal, regulatory, disciplinary, or law-enforcement purposes, I would maintain provenance and appropriate chain of custody.
- Scope the incident. I would review endpoint, identity, network, and log evidence to find other affected systems or accounts. I would look for activity consistent with the incident and continuously separate confirmed facts from hypotheses. Isolation is containment, not eradication. It limits immediate damage but does not prove that the root cause has been removed or that another attacker path does not exist.
- Coordinate response and prepare recovery. I would notify the incident lead and key stakeholders with a factual update covering what is confirmed, what has been isolated, what remains unknown, and what the team is investigating. I would protect known-clean backups from exposure to the affected environment. I would plan recovery only after containment, then later validate backups and restored systems before returning services to normal operation.
The first-hour goal is not to claim that the ransomware incident is solved. It is to contain the immediate threat, preserve useful evidence, understand the likely scope, keep the right people informed, protect recovery assets, and create a safe path for later eradication and verified recovery.
- Confirm active encryption and identify the affected file server.
- Assess business impact, initial scope, and severity.
- Isolate the affected server from the network using the smallest safe containment action.
- If evidence shows wider spread, isolate the affected network segment.
- Keep the server powered on when safe network isolation is possible; capture volatile evidence when feasible without delaying containment.
- Collect relevant server, endpoint, identity, network, and authentication evidence and record actions with timestamps.
- Scope other affected systems and accounts while separating confirmed facts from hypotheses.
- Notify the incident lead and key stakeholders with factual updates.
- Protect known-clean backups from exposure.
- Prepare verified recovery only after containment and sufficient scoping.
The biggest cost is business disruption. Isolating a file server may temporarily stop users or applications from reaching important data, but leaving an actively encrypting system connected can cause more damage. Evidence collection takes responder time and storage, and wider network isolation can affect healthy systems. Communication also requires coordination between security, IT, business owners, and incident leadership. Recovery may take significant time because backups and restored systems must be checked before normal service resumes. The practical balance is to contain quickly while preserving evidence whenever that does not delay necessary isolation.
This question tests whether I can make safe decisions under time pressure. The interviewer wants to see whether I prioritize containment, preserve useful evidence, distinguish confirmed facts from assumptions, scope possible spread, communicate with authorized stakeholders, protect recovery assets, and understand that isolation is temporary containment rather than root-cause remediation.
Common mistakes include investigating for too long while encryption continues, shutting the server down immediately when safe network isolation is available, treating an alert or indicator as proof of the full compromise, failing to document actions and timestamps, collecting evidence without considering provenance, assuming server isolation means eradication is complete, ignoring other affected systems or accounts, leaving clean backups exposed, giving stakeholders unverified conclusions, and beginning restoration before containment and scope are sufficiently understood.
Lead with the practical priority: stop further damage without unnecessarily destroying evidence. Then walk through the five stages in order: confirm impact, isolate, preserve evidence, scope the incident, and coordinate recovery. State the key tradeoff clearly: preserve evidence when feasible, but do not let evidence collection delay necessary containment.










