containing-active-breach
Executes containment strategies to stop active adversary operations and prevent lateral movement during a confirmed security breach.
Skill by adriannoes
Chalk Labs
Need help deploying containing-active-breach?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/adriannoes-containing-active-breach
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
containing-active-breach- Description
- Executes containment strategies to stop active adversary operations and prevent lateral movement during a confirmed security breach. Implements short-term and long-term containment using network segmentation, endpoint isolation, credential revocation, and access control modifications. Activates for requests involving breach containment, lateral movement prevention, network isolation, active threat containment, or live incident response.
- License
- Apache-2.0
- Instructions
- 199 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- LICENSE
- SKILL.md
- api-reference.md · references/
- agent.py · scripts/
SKILL.md (first lines)
# Containing Active Breaches ## When to Use - A confirmed intrusion is in progress with an active adversary on the network - Malware is spreading laterally across endpoints or servers - A compromised account is being used for unauthorized access to systems - Ransomware encryption has been detected and is actively propagating - An attacker has established command-and-control communications from internal hosts **Do not use** for post-incident cleanup when the adversary is no longer active; use eradication procedures instead. ## Prerequisites - Confirmed incident classification with P1 or P2 severity from triage - EDR console access with host isolation capabilities (CrowdStrike Falcon, Microsoft Defender for Endpoint, SentinelOne) - Network firewall and switch management access for segmentation - Active Directory or identity provider administrative access for credential actions - Pre-approved containment authority documented in the incident response plan - Evidence preservation plan to avoid destroying forensic artifacts during containment ## Workflow ### Step 1: Assess Containment Scope Before taking containment actions, map the full scope of compromise to avoid partial containment that alerts the adversary: - Identify all confirmed compromised hosts via EDR telemetry and SIEM correlation - Map lateral movement paths using authentication logs (Windows Event ID 4624 Type 3 and Type 10) - Identify all compromised credentials (check for pass-the-hash, Kerberoasting, DCSync activity) - Determine C2 channels (beacon intervals, domains, IPs, protocols) - Assess whether the adversary has domain admin or equivalent privileges ``` Containment Scope Assessment: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Compromised Hosts: 5 (WKSTN-042, WKSTN-087, SRV-FILE01, SRV-DC02, WKSTN-103) Compromised Accounts: 3 (jsmith, svc-backup, admin-tier0) C2 Channels: HTTPS beacon to 185.220.x.x every 60s ± 15% jitter Lateral Movement: PsExec via svc-backup, RDP via admin-tier0 Adversary Privilege: Domain Admin (admin-tier0 compromised) Data at Risk: Finance share (\\SRV-FILE01\finance$) accessed ``` ### Step 2: Execute Short-Term Containment Implement immediate actions to stop adversary operations without destroying evidence: **Network Containment:** - Isolate confirmed compromised endpoints via EDR network containment (maintains agent communication) - Block C2 IP addresses and domains at perimeter firewall and internal DNS - Implement microsegmentation rules to prevent communication between compromised hosts - Sinkhole C2 domains at internal DNS to capture connection attempts from undiscovered implants **Identity Containment:** - Disable compromised user accounts in Active Directory (do not delete; preserve audit trail) - Reset passwords for all compromised accounts - Revoke active sessions and tokens (Azure AD: `Revoke-AzureADUserAllRefreshToken`) - Disable the compromised service account and rotate its credentials - If Domain Admin is compromised: double-reset the KRBTGT password (reset twice, 12 hours apart) **Endpoint Containment:** - Use EDR to terminate malicious processes on contained hosts - Block known malicious hashes in EDR prevention policy - Quarantine identified malware samples - Disable remote services (WinRM, RDP, SMB) on critical servers not yet compromised ### Step 3: Execute Long-Term Containment Implement sustainable containment while the investigation continues: - Create network ACLs isolating the compromised VLAN/subnet while allowing business-critical traffic - Deploy temporary jump hosts for administrators to access contained systems for investigation - Implement enhanced monitoring (full packet capture) on network segments adjacent to compromised hosts - Enable advanced audit policies on all domain controllers (4768, 4769, 4771 for Kerberos attacks) - Deploy canary tokens and honeypot accounts to detect adversary attempts to expand from containment ### Step 4: Validate Containment Effectiveness Confirm that containment measures have stopped adversary operations: - Monitor for new C2 callbacks from any internal host to known adversary infrastructure - Check for new lateral movement attempts (failed authentication from disabled accounts) - Verify that contained hosts cannot reach the internet except through the EDR agent - Confirm that compromised credentials produce authentication failures - Review SIEM for any new alerts matching the adversary's known TTPs ``` Containment Validation Checklist: [x] C2 beacon traffic ceased from all known compromised hosts [x] Disabled accounts producing expected 4625 failure events (no new successes) [x] Contained hosts unreachable via network scan from adjacent subnets [x] No new hosts exhibiting IOCs from the initial compromise [x] Honeypot account has not been accessed (adversary may be dormant) [ ] Full packet capture running on finance VLAN (pending switch config) ``` ### Step 5: Preserve Evidence During Containment Containment must not destroy forensic evidence: - Capture memory dumps from compromised hosts before any remediation (use WinPmem or Magnet RAM Capture) - Collect volatile data: running processes, network connections, logged-on users, scheduled tasks - Export relevant event logs before they rotate (Security, System, PowerShell, Sysmon) - Capture network traffic between compromised hosts and C2 infrastructure - Document all containment actions with timestamps for the incident timeline ### Step 6: Communicate Containment Status Provide structured status updates to incident commander and stakeholders: - Current containment effectiveness (percentage of adversary activity stopped) - Remaining risks (undiscovered implants, persistence mechanisms not yet identified) - Business impact of containment actions (which systems are offline, user impact) - Estimated timeline for eradication phase - Escalation needs (law enforcement notification, external IR retainer activation) ## Key Concepts
From adriannoes/awesome-agentic-ai, Apache-2.0.
More from adriannoes/awesome-agentic-ai
- 0.674score
skill-security-auditor
adriannoes
Security audit and vulnerability scanner for AI agent skills before installation.
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
deobfuscating-javascript-malware
adriannoes
Deobfuscates malicious JavaScript code used in web-based attacks, phishing pages, and dropper scripts by reversing encoding layers, eval chains, string…
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
conducting-cloud-incident-response
adriannoes
Responds to security incidents in cloud environments (AWS, Azure, GCP) by performing identity-based containment, cloud-native log analysis, resource…
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
detecting-ai-model-prompt-injection-attacks
adriannoes
Detects prompt injection attacks targeting LLM-based applications using a multi-layered defense combining regex pattern matching for known attack signatures…
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
analyzing-cloud-storage-access-patterns
adriannoes
Detect abnormal access patterns in AWS S3, GCS, and Azure Blob Storage by analyzing CloudTrail Data Events, GCS audit logs, and Azure Storage Analytics.
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
building-cloud-siem-with-sentinel
adriannoes
This skill covers deploying Microsoft Sentinel as a cloud-native SIEM and SOAR platform for centralized security operations.
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
analyzing-bootkit-and-rootkit-samples
adriannoes
Analyzes bootkit and advanced rootkit malware that infects the Master Boot Record (MBR), Volume Boot Record (VBR), or UEFI firmware to gain persistence below…
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
building-incident-response-playbook
adriannoes
Designs and documents structured incident response playbooks that define step-by-step procedures for specific incident types aligned with NIST SP 800-61r3 and…
SkillAFreshness: A★ 72Claude Code +9 - 0.671score
analyzing-ransomware-network-indicators
adriannoes
Identify ransomware network indicators including C2 beaconing patterns, TOR exit node connections, data exfiltration flows, and encryption key exchange via…
SkillAFreshness: A★ 72Claude Code +9 - 0.671score
building-devsecops-pipeline-with-gitlab-ci
adriannoes
Design and implement a comprehensive DevSecOps pipeline in GitLab CI/CD integrating SAST, DAST, container scanning, dependency scanning, and secret detection.
SkillAFreshness: A★ 72Claude Code +9 - 0.671score
analyzing-browser-forensics-with-hindsight
adriannoes
Analyze Chromium-based browser artifacts using Hindsight to extract browsing history, downloads, cookies, cached content, autofill data, saved passwords, and…
SkillAFreshness: A★ 72Claude Code +9 - 0.671score
analyzing-persistence-mechanisms-in-linux
adriannoes
Detect and analyze Linux persistence mechanisms including crontab entries, systemd service units, LD_PRELOAD hijacking, bashrc modifications, and…
SkillAFreshness: A★ 72Claude Code +9
Signals
- Stars
- 72
- Forks
- 19
- Open issues
- 0
- Last commit (this folder)
- Aug 28, 2026 (2 months ago)
- Last release
- Oct 24, 2026 (12 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/adriannoes/awesome-agentic-ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from adriannoes
- 0.674score
skill-security-auditor
adriannoes
Security audit and vulnerability scanner for AI agent skills before installation.
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
analyzing-bootkit-and-rootkit-samples
adriannoes
Analyzes bootkit and advanced rootkit malware that infects the Master Boot Record (MBR), Volume Boot Record (VBR), or UEFI firmware to gain persistence below…
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
analyzing-cloud-storage-access-patterns
adriannoes
Detect abnormal access patterns in AWS S3, GCS, and Azure Blob Storage by analyzing CloudTrail Data Events, GCS audit logs, and Azure Storage Analytics.
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
building-cloud-siem-with-sentinel
adriannoes
This skill covers deploying Microsoft Sentinel as a cloud-native SIEM and SOAR platform for centralized security operations.
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
building-incident-response-playbook
adriannoes
Designs and documents structured incident response playbooks that define step-by-step procedures for specific incident types aligned with NIST SP 800-61r3 and…
SkillAFreshness: A★ 72Claude Code +9 - 0.674score
conducting-cloud-incident-response
adriannoes
Responds to security incidents in cloud environments (AWS, Azure, GCP) by performing identity-based containment, cloud-native log analysis, resource…
SkillAFreshness: A★ 72Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get containing-active-breach running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
containing-active-breach skill. Agent Mart. https://agentmart.dev/skills/adriannoes-containing-active-breach (last updated 2026-10-24)