containing-active-breach

Executes containment strategies to stop active adversary operations and prevent lateral movement during breaches.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill containing-active-breach
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: containing-active-breach
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/incident-response/containing-active-breach
Command: npx skills add https://github.com/xalgord/xalgorix --skill containing-active-breach

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

During a confirmed security breach, responders must stop an active adversary quickly without tipping them off, destroying forensic evidence, or leaving gaps like valid Kerberos tickets that let attackers re-enter. This Skill provides a structured containment workflow covering scoping, short-term and long-term containment, validation, and evidence preservation.

Core Features & Use Cases

  • Coordinated Containment Execution: Implements network isolation via EDR, C2 blocking and sinkholing, credential revocation, and KRBTGT double-reset procedures in one coordinated action.
  • Containment Validation: Verifies that C2 beacons have ceased, disabled accounts produce only failure events, and isolated hosts are unreachable from adjacent subnets.
  • Evidence Preservation: Captures memory dumps, volatile data, and event logs before remediation to maintain chain of custody.
  • Use Case: When ransomware is spreading via SMB using a compromised service account, use this Skill to isolate file servers, disable the account, block SMB between VLANs, and preserve memory evidence before restoration.

Quick Start

Use the containing-active-breach skill to build a containment plan for an active intrusion involving five compromised hosts and a compromised domain admin account.

Frequently Asked Questions about containing-active-breach

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I contain an active security breach without tipping off the attacker?

Scope the full compromise first by mapping all compromised hosts, accounts, and C2 channels, then contain everything in one coordinated action. Partial containment like isolating a single host alerts the adversary and may trigger ransomware detonation or deeper burrowing.

How to stop lateral movement during a ransomware incident?

Isolate affected servers via EDR network containment, disable the compromised service account, and block SMB (TCP 445) between server VLANs at the switch layer. Also deploy emergency GPOs disabling SMB server services on non-critical endpoints.

Why is resetting passwords not enough after a domain admin compromise?

Password resets and account disabling do not invalidate existing Kerberos tickets or golden tickets. You must reset the KRBTGT password twice, roughly 12 hours apart, or the attacker can re-authenticate at will.

Should I power off compromised servers during incident containment?

No, powering off destroys volatile memory containing fileless payloads, injected code, and encryption keys, and breaks chain of custody. Prefer EDR network isolation that keeps the host powered and the agent reachable, reserving power-off for unstoppable mass destruction.

How do I verify that breach containment actually worked?

Confirm C2 beacons have ceased from every host, disabled credentials produce only 4625 failure events with no new successes, and isolated hosts are unreachable from adjacent subnets. Monitor honeypot accounts for breakout attempts and confirm the second KRBTGT reset completes.