cloud-ir-playbook

Guides structured cloud incident response across AWS, Azure, and GCP environments.

4|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/braydos-h/BreachPilot --skill cloud-ir-playbook-braydos-h
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cloud-ir-playbook
Source: https://github.com/braydos-h/BreachPilot/tree/main/skills/maybe/cloud-ir-playbook
Command: npx skills add https://github.com/braydos-h/BreachPilot --skill cloud-ir-playbook-braydos-h

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Responding to a cloud compromise without a defined order of operations risks destroying forensic evidence, missing attacker persistence, or revoking access before scoping the blast radius. This playbook provides a sequenced, provider-specific methodology for containing and eradicating cloud intrusions. ## Core Features & Use Cases - Blast-radius scoping: Pivot from an initial indicator across principals, regions, and resources using CloudTrail, Azure Activity Log, and GCP Audit Logs queries. - Forensics-first containment: Capture logs, disk snapshots, and IAM policy JSON before revoking sessions or keys, preserving attribution evidence. - Ordered eradication and recovery: Remove rogue IAM principals, shadow access keys, and malicious functions, then re-scan to confirm attacker TTPs no longer fire. - Use Case: An AWS access key shows anomalous API calls from an unknown IP. Follow the playbook to scope affected resources, snapshot the compromised instance, deactivate the key, quarantine the instance, and document the control gap. ## Quick Start Walk me through responding to a compromised IAM user in my AWS account using the cloud incident response playbook.

Frequently Asked Questions about cloud-ir-playbook

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

FAQPage Schema
How do I respond to a compromised AWS access key?▼

First scope the blast radius using CloudTrail LookupEvents filtered by the key's userIdentity ARN and source IP. Capture forensic evidence, then deactivate the key with UpdateAccessKey, revoke active sessions, and remove any attacker-created persistence before rotating credentials.

What is the correct order of cloud incident response steps?▼

Scope the blast radius first, then preserve forensic state before any revocation. Next contain by revoking live access, quarantine compromised resources, eradicate attacker persistence, recover from known-good backups, and finish with a lessons-learned review.

Does this playbook work for Azure and GCP incidents?▼

Yes, the playbook covers AWS, Azure, and GCP with provider-specific guidance. It references Azure Activity Log and Revoke-AzureADUserAllRefreshToken, plus GCP Cloud Audit Logs and gcloud auth revoke for service account containment.

Why should I preserve forensic evidence before revoking access?▼

Revoking access first can destroy the live session needed to attribute the attack. Capturing CloudTrail logs, disk snapshots, and IAM policy JSON before containment preserves the evidence required to understand the full scope and attacker methods.

Does this skill automatically execute containment actions?▼

No, it is an advisory methodology runbook, not an automated containment tool. Every disruptive action such as key revocation, quarantine, or eradication remains a human decision against an authorized account.