Endpoint isolation and account containment
One playbook contains a compromised host or account whichever EDR or identity provider sits underneath: isolate, disable, revoke, verify, and undo when it was a false alarm.
- < 5 minfrom decision to isolated host
- 1procedure for 5 EDRs
- 100%of isolations verified
01Framing the project
The organization ran five EDR products across its estate after acquisitions and migrations. Each had its own API, its own word for isolation and its own failure modes. The analyst on shift had to remember which console did what, and containment depended on who answered the phone.
Objectives and success criteria
- Contain a host or an account with one procedure, whatever the EDR.
- Verify that isolation took effect instead of assuming it.
- Make every action reversible and traceable.
Scope
- CrowdStrike, Microsoft Defender, SentinelOne, Trend Micro and Cybereason
- Account actions in Entra ID and Okta
- An approval policy based on asset criticality
- Release of the isolation when the case closes
- EDR policy configuration
- Forensic collection
- Network-level isolation
02Starting point
- EDR products
- 5, five procedures
- From decision to an isolated host
- about 25 min
- Verification that isolation worked
- none
- Isolation depended on
- who was on shift
Most of the 25 minutes went on finding which console managed the host and who could act, not on the isolation itself. That is the part a playbook removes.
03Design and integration
- Phase 1
Map the estate
We listed which EDR manages each host class and built the list of critical assets that always require an approval.
- Phase 2
Write one contract
Isolate, release, verify and status are defined once. Each EDR gets an adapter that implements the contract through its API.
- Phase 3
Set the approval policy
Ordinary endpoints can be isolated automatically under rules the SOC sets. Servers, executive devices and other critical assets wait for an approval.
- Phase 4
Add identity
For a user, the playbook disables the account, revokes sessions and resets credentials in Entra ID or Okta.
- Phase 5
Verify and release
The playbook polls the EDR until the host reports as isolated. A timeout opens an escalation. The same checks run when the isolation is lifted.
04Difficulties we solved
Five APIs with different semantics, rate limits and error behavior.
One adapter per EDR behind the same contract, tested with recorded API responses so a vendor change is caught before production.
During migrations, a host could be managed by two EDRs at the same time.
The playbook resolves the owner from the last check-in and the policy, and isolates through that one only.
Isolating a production server by mistake could cause an outage.
A critical asset list, a mandatory approval for those assets, and a dry-run mode used during rollout.
05Results
| Measure | Before | After |
|---|---|---|
| From decision to an isolated host | about 25 min | under 5 min |
| Containment procedures | 5 | 1 |
| Isolations verified | none | 100% |
| Actions with who, what and when on record | partial | 100% |
A false positive now costs a few minutes of isolation and an automatic release, not a manual cleanup.
06Guardrails in production
- A maintained list of critical assets decides which actions need approval.
- Running the playbook twice on the same host changes nothing the second time.
- Isolation and release are both reversible and both recorded.
- Every action keeps who requested it, who approved it, what was changed and when.
07Stack
- CrowdStrike Falcon
- Microsoft Defender for Endpoint

Trend Micro
Cybereason
Entra IDOkta
Cortex XSOAR
Splunk SOAR
n8n

Jira
Slack
- Microsoft Teams
PagerDuty