If…, then how…
If a service was compromised, what evidence is enough to reconnect it?
Add to board memoOpen the memo
The short answer
- Recommendation
- Reconnect only when there is evidence for each of the incident plan's recovery criteria, confirmed by the person responsible for it. Reconnect in stages under closer monitoring, and close the incident only when the monitoring period passes without the attacker returning.
- Reasoning
- The pressure to reconnect is strongest when the evidence is thinnest. A patch or a clean scan shows the weakness is closed; it does not show the attacker has gone. The criteria ask for the way in found and closed, backups or images checked before use, systems patched, scanned and monitored with credentials changed, the owner's test, and the monitoring period started. A missing criterion goes back to the phase that owns it.
- Considerations
- In the pack's defaults the monitoring period is 7 calendar days for Severity 1 and 2 incidents. The plan sets none for lower severities; the email compromise playbook leaves a Severity 3 period to the incident manager to set and record.
- Any backup used must date from before the earliest sign of the attacker, as well as before the damage, and be checked for integrity and scanned before use.
- If the business needs the service sooner, agree a temporary workaround. Do not reconnect a system that may still let the attacker in.
- The ransomware playbook's checks are a sound model for any compromised service: each criterion confirmed by the provider or owner who can show it.
The decision, step by step
Select any step for the reasoning behind it and where the pack covers it.
- Start
- Step
- Decision
- Outcome
- Loop back
Keyboard: Tab to a step, arrow keys move along the flow, Enter pins its explanation, + and − zoom, 0 fits the diagram, Esc closes. The text version below has the same content.
Where a step quotes a number, it is the default in the CISO Times pack. Your own standard may set a different one.
Read as text
The same flow written out: each step, its reasoning and where the pack covers it. 12 steps.
Start
A compromised service is ready to come back
The pressure to reconnect is usually strongest just when the evidence is thinnest. The plan's rule is that nothing returns to normal service until the recovery criteria are met, so the attacker does not come back through the same door. Each question below asks for evidence someone can show, not an opinion.
In the pack
- P09-A03 Incident Response PlanPurpose and objectives
- P09-A03 Incident Response PlanRecover
Decision
Is it contained, with no attacker activity since?
Contained means the incident can no longer spread or cause new harm. The plan sets no quiet period. The ransomware playbook, used here by analogy, confirms containment only after no new encryption, alerts or attacker activity across every site and hosted service for 2 hours in its defaults. Evidence: the monitoring provider's confirmation and the containment time in the case log. If you cannot say, the answer is no.
- Yes: Has the way in been found and closed?
- No, or not known: Do not reconnect yet: close the gap first
In the pack
- P09-A06 Ransomware Response PlaybookDecision tree
- P09-A03 Incident Response PlanDefinitions
Decision
Has the way in been found and closed?
The first recovery criterion: the cause is understood well enough that the same route in is closed. Evidence: the route recorded in the case log, such as the phishing email, the remote access or the unpatched system, and the change that closed it. Patching the weakness you suspect is not the same as finding the route the attacker used.
- Yes: Has everything the attacker left been found and removed?
- No, or not known: Do not reconnect yet: close the gap first
In the pack
- P09-A03 Incident Response PlanRecover
- P09-A06 Ransomware Response PlaybookEradicate
Decision
Has everything the attacker left been found and removed?
Assume the attacker had more than you have found. Look for new accounts, mail rules, scheduled tasks, remote access tools and changed settings on the sign-in directory. Evidence: the responders' list of what was found and removed, and the monitoring provider's confirmation of no activity since containment.
- Yes: Were credentials that could have been taken changed?
- No, or not known: Do not reconnect yet: close the gap first
In the pack
- P09-A03 Incident Response PlanEradicate
- P09-A06 Ransomware Response PlaybookEradicate
Decision
Were credentials that could have been taken changed?
Change the credentials of every account used on an affected system, including service and administrator accounts, and end all signed-in sessions. The plan sets no order. The ransomware playbook's order, a sound model here by analogy, is administrator accounts, service accounts, remote access, the backup system, then users, all from clean devices. Evidence: the reset record with dates.
- Yes: Was any backup or image used checked before it was used?
- No, or not known: Do not reconnect yet: close the gap first
In the pack
- P09-A03 Incident Response PlanEradicate
- P09-A06 Ransomware Response PlaybookEradicate
Decision
Was any backup or image used checked before it was used?
The second criterion. For ransomware, each copy must date from before the earliest sign of the attacker, not just before the damage, be checked for integrity and be scanned before use, with the check recorded. Where nothing was restored, record that it does not apply and why.
- Yes, or nothing was restored: Is it patched, scanned and monitored?
- No, or not known: Do not reconnect yet: close the gap first
In the pack
- P09-A06 Ransomware Response PlaybookRecovery criteria
- P09-A07 Business Email Compromise Response PlaybookRecovery criteria
Decision
Is it patched, scanned and monitored?
The third criterion: patched, scanned and monitored, with credentials changed where they could have been taken. The ransomware playbook's checks, used here by analogy, are each system rebuilt or restored, patched, running endpoint protection and monitored before it reconnects. Evidence: a scan result, the protection console showing the system, and the monitoring provider confirming it sees it. A clean scan shows the weakness is closed, not that the attacker has gone.
- Yes: Has the service owner tested it and confirmed it works?
- No, or not known: Do not reconnect yet: close the gap first
In the pack
- P09-A03 Incident Response PlanRecover
- P09-A06 Ransomware Response PlaybookRecovery criteria
- P09-A06 Ransomware Response PlaybookRecover
Decision
Has the service owner tested it and confirmed it works?
The fourth criterion: the owner of the service, not the people who restored it, tests it and confirms it works. The ransomware playbook asks for that confirmation in writing, and it is a good habit for any service. Keep it in the case log.
- Yes, in writing: Reconnect in stages and start the monitoring period
- No, or not yet: Do not reconnect yet: close the gap first
In the pack
- P09-A06 Ransomware Response PlaybookRecovery criteria
- P09-A03 Incident Response PlanRecover
Outcome
Do not reconnect yet: close the gap first
A missing criterion is not a formality. Send it back to the phase that owns it: containment, eradication or recovery. If the business needs the service sooner, that is a conversation about a temporary workaround, not a reason to reconnect a system that may still let the attacker in.
In the pack
- P09-A03 Incident Response PlanThe response phases
Step
Reconnect in stages and start the monitoring period
The fifth criterion is that the monitoring period has started. The ransomware playbook reconnects one site or service at a time under closer monitoring, watching for the indicators found; the same staging is used here by analogy. In the pack's defaults the period is 7 calendar days for Severity 1 and 2 incidents. The plan sets none for lower severities; the email compromise playbook leaves a Severity 3 period to the incident manager to set and record.
In the pack
- P09-A06 Ransomware Response PlaybookRecover
- P09-A03 Incident Response PlanRecover
- P09-A07 Business Email Compromise Response PlaybookRecovery criteria
Decision
Did the monitoring period pass with no sign of the attacker?
Any new sighting of the indicators, or new attacker activity, means the eradication missed something. The service goes back to containment, and every criterion is checked again.
- Yes: Close the incident
- No: contain it again: Is it contained, with no attacker activity since? (back to an earlier step)
In the pack
- P09-A06 Ransomware Response PlaybookClosing the incident
Outcome
Close the incident
In the plan, the incident manager closes the case when the criteria are met, the monitoring period has passed without recurrence and the case log is complete. The ransomware playbook adds that every report due has been made. Severity 1 and 2 incidents then get a post-incident review within 10 working days of closure.
In the pack
- P09-A03 Incident Response PlanRecover
- P09-A06 Ransomware Response PlaybookClosing the incident
- P09-A03 Incident Response PlanReview
Practical checklist
- Confirm containment with the monitoring provider and record the containment time.
- Record the route in and the change that closed it.
- List what the attacker left and confirm it was removed.
- Change credentials that could have been taken, end signed-in sessions, and record the dates.
- Check any backup or image for integrity and scan it before use, or record why none was used.
- Confirm each system is patched, scanned, protected and monitored, and get the service owner's written test result.
- Reconnect one site or service at a time and start the monitoring period.
- Close the incident when the period passes without the attacker returning, every report due is made and the case log is complete.
Evidence to have ready
- The containment time and the monitoring provider's confirmation of no activity since.
- The route in, the change that closed it, and the list of what was found and removed.
- The credential reset record with dates, and the backup integrity and scan results.
- For each system, the scan result, the monitoring confirmation and the service owner's written confirmation.
- The start and end of the monitoring period, and the closure record.
Assumptions
- The incident has been declared and is being run under your incident procedure.
- The criteria and periods shown are the defaults in the CISO Times incident management pack. Your own plan may set different ones.
- The ransomware playbook shows how each criterion is evidenced for ransomware. The same checks are used here as a model for any compromised service.
Not covered here
- Whether to restore or rebuild after ransomware. That is “If ransomware has encrypted production, do we restore or rebuild?”.
- Whether to patch, rebuild or replace a compromised appliance. That is “If a VPN appliance may be compromised, do we patch, rebuild or replace it?”.
- Whether your backups will restore at all. That is “How do we know our backups will actually restore?”.
Related questions
- If a vulnerability affects a business-critical service, what happens next?
- When do we call in outside incident-response help?
- If a VPN appliance may be compromised, do we patch, rebuild or replace it?
- If ransomware has encrypted production, do we restore or rebuild?
- How do we know our backups will actually restore?