Add AD and Entra compromised-user kill-switch containment playbook#926
Open
ISchisel-LFI wants to merge 2 commits into
Open
Add AD and Entra compromised-user kill-switch containment playbook#926ISchisel-LFI wants to merge 2 commits into
ISchisel-LFI wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds an Active Directory and Microsoft Entra-specific compromised-user containment playbook.
The playbook is intended to complement the existing
SOC Identity Containment_V3framework playbook, not replace it.SOC Identity Containment_V3provides generic identity containment routing, while this contribution provides a focused AD/Entra implementation with validation, guardrails, dry-run behavior, approval gating, verification, and case-note generation.If maintainers prefer, this can be refactored into a sub-playbook called by
SOC Identity Containment_V3rather than added as a standalone playbook.Content added
Playbook
Compromised User Kill Switch Containment - Entra and Active DirectoryHelper automations
ValidateCompromisedUserContainmentInputsNormalizeCompromisedUserIdentifierCollectCompromisedUserContextProtectedAccountContainmentGuardVerifyADCompromisedUserContainmentSetCompromisedUserContainmentActionStatusResetEntraAuthenticationMethodsVerifyEntraCompromisedUserContainmentAppendADContainmentDescriptionNoteBuildCompromisedUserContainmentVerdictGenerateCompromisedAccountContainmentCaseNotesWhat the playbook does
The playbook supports compromised-user containment for AD and Microsoft Entra environments.
High-level workflow:
Required integrations / dependencies
This playbook requires identity integrations capable of supporting the following command families:
Known command dependencies include:
ad-get-userad-update-usermsgraph-user-getazure-ad-get-usermsgraph-user-*-method-*commandsSafety controls
RequireApprovaldefaults totrue.DryRundefaults totrue.Relationship to existing framework content
I noticed that
SOC Identity Containment_V3already exists in the repository. This PR is not intended to duplicate or replace that playbook.This contribution is intended as a concrete AD/Entra-specific containment implementation that could either:
SOC Identity Containment_V3.I am open to maintainer guidance on the preferred placement and integration pattern.
Testing
Tested in an XSIAM tenant before export.
Recommended reviewer validation:
DryRun=true.