[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B5DC6E02SB6H8JBDPTDT22":3,"skill-same:01M7B5DC6E02SB6H8JBDPTDT22":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":13,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M7B5DC6E02SB6H8JBDPTDT22","conducting-cloud-incident-response",null,"Respond to security incidents in AWS, Azure, and GCP via identity-based containment, cloud-native log analysis (CloudTrail, Azure Activity Logs, GCP Audit Logs), resource isolation, and forensic evidence acquisition adapted for ephemeral cloud infrastructure. Use when CSPM alerts or audit logs show compromised cloud credentials, unauthorized IAM changes, or a breach spanning cloud services.","vikasvardhanv\u002Fjerry_skills","vikasvardhanv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99010657?v=4","01M7B2B0VN78W7529RQX5BR6DZ","01M7B2B0WDNTXJHRK3QNPNWRP6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fconducting-cloud-incident-response\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fconducting-cloud-incident-response\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: conducting-cloud-incident-response\ndescription: Respond to security incidents in AWS, Azure, and GCP via identity-based containment, cloud-native log analysis (CloudTrail, Azure Activity Logs, GCP Audit Logs), resource isolation, and forensic evidence acquisition adapted for ephemeral cloud infrastructure. Use when CSPM alerts or audit logs show compromised cloud credentials, unauthorized IAM changes, or a breach spanning cloud services.\ndomain: cybersecurity\nsubdomain: incident-response\ntags:\n- cloud-IR\n- AWS-forensics\n- Azure-incident-response\n- GCP-security\n- identity-containment\nmitre_attack:\n- T1078\n- T1537\n- T1580\n- T1525\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- RS.MA-01\n- RS.MA-02\n- RS.AN-03\n- RC.RP-01\n---\n\n# Conducting Cloud Incident Response\n\n## When to Use\n\n- Cloud security posture management (CSPM) alerts on unauthorized resource changes\n- CloudTrail, Azure Activity Logs, or GCP Audit Logs show suspicious API calls\n- Cloud access keys or service principal credentials are suspected compromised\n- Unauthorized compute instances, storage buckets, or IAM changes are detected\n- A cloud-hosted application is breached and attacker activity spans cloud services\n\n**Do not use** for on-premises-only incidents with no cloud component; use standard enterprise IR procedures.\n\n## Prerequisites\n\n- Cloud-native logging enabled and centralized: AWS CloudTrail (all regions), Azure Activity\u002FSign-in Logs, GCP Cloud Audit Logs\n- IR-specific cloud IAM roles pre-provisioned with read-only forensic access\n- Isolated forensic account\u002Fsubscription\u002Fproject for evidence preservation\n- Cloud incident response runbooks specific to each cloud provider\n- Cloud-native security tools: AWS GuardDuty, Azure Defender for Cloud, GCP Security Command Center\n- Network traffic logging: VPC Flow Logs (AWS\u002FGCP), NSG Flow Logs (Azure)\n\n## Workflow\n\n### Step 1: Detect and Confirm the Cloud Incident\n\nIdentify the scope and nature of the compromise:\n\n**AWS Indicators:**\n```\nCloudTrail suspicious events to investigate:\n- ConsoleLogin from unexpected geolocation or IP\n- CreateAccessKey for existing IAM user (persistence)\n- RunInstances for crypto-mining (large instance types)\n- PutBucketPolicy making S3 bucket public\n- AssumeRole to cross-account roles\n- DeleteTrail or StopLogging (defense evasion)\n- CreateUser or AttachUserPolicy (privilege escalation)\n```\n\n**Azure Indicators:**\n```\nAzure Activity Log events to investigate:\n- Sign-in from anonymous IP or TOR exit node\n- Service principal credential added\n- Role assignment changes (Owner, Contributor added)\n- VM created in unusual region\n- Storage account access key regenerated\n- Conditional Access policy modified or deleted\n- MFA disabled for user account\n```\n\n**GCP Indicators:**\n```\nGCP Audit Log events to investigate:\n- SetIamPolicy changes granting broad access\n- CreateServiceAccountKey for existing SA\n- InsertInstance in unexpected zone\n- SetBucketIamPolicy with allUsers\n- DeleteLog or UpdateSink (log tampering)\n```\n\n### Step 2: Contain Cloud Identity Compromise\n\nCloud containment is primarily an identity operation:\n\n**AWS Containment:**\n```bash\n# Disable compromised IAM access keys\naws iam update-access-key --user-name compromised-user \\\n  --access-key-id AKIA... --status Inactive\n\n# Attach deny-all policy to compromised user\naws iam attach-user-policy --user-name compromised-user \\\n  --policy-arn arn:aws:iam::aws:policy\u002FAWSDenyAll\n\n# Revoke all active sessions for compromised IAM role\naws iam put-role-policy --role-name compromised-role \\\n  --policy-name RevokeOlderSessions --policy-document '{\n    \"Version\":\"2012-10-17\",\n    \"Statement\":[{\n      \"Effect\":\"Deny\",\n      \"Action\":\"*\",\n      \"Resource\":\"*\",\n      \"Condition\":{\"DateLessThan\":\n        {\"aws:TokenIssueTime\":\"2025-11-15T15:00:00Z\"}}\n    }]\n  }'\n\n# Isolate compromised EC2 instance\naws ec2 modify-instance-attribute --instance-id i-0abc123 \\\n  --groups sg-isolate-forensic\n```\n\n**Azure Containment:**\n```powershell\n# Disable compromised user\nSet-AzureADUser -ObjectId \"user@tenant.onmicrosoft.com\" -AccountEnabled $false\n\n# Revoke all sessions\nRevoke-AzureADUserAllRefreshToken -ObjectId \"user-object-id\"\n\n# Remove role assignments\nRemove-AzRoleAssignment -ObjectId \"sp-object-id\" -RoleDefinitionName \"Contributor\"\n\n# Isolate VM with NSG deny-all rule\n$nsg = New-AzNetworkSecurityGroup -Name \"isolate-nsg\" -ResourceGroupName \"rg\" -Location \"eastus\"\n$nsg | Add-AzNetworkSecurityRuleConfig -Name \"DenyAll\" -Priority 100 -Direction Inbound `\n  -Access Deny -Protocol * -SourceAddressPrefix * -SourcePortRange * `\n  -DestinationAddressPrefix * -DestinationPortRange *\n```\n\n### Step 3: Preserve Cloud Evidence\n\nCollect evidence before ephemeral resources are terminated or logs rotate:\n\n**AWS Evidence Collection:**\n- Export CloudTrail events to S3 in the forensic account\n- Snapshot EBS volumes of compromised EC2 instances\n- Copy S3 access logs and object versions\n- Export VPC Flow Logs for the affected VPC\n- Capture IAM credential reports and access advisor data\n\n**Azure Evidence Collection:**\n- Export Azure Activity Logs and Sign-in Logs (90-day retention by default)\n- Snapshot managed disks of compromised VMs\n- Export Azure AD audit logs\n- Capture NSG flow logs\n- Export Conditional Access sign-in details\n\n**GCP Evidence Collection:**\n- Export Cloud Audit Logs to a forensic storage bucket\n- Snapshot persistent disks of compromised VMs\n- Export VPC Flow Logs\n- Capture IAM policy snapshots\n\n### Step 4: Investigate Cloud-Specific Attack Patterns\n\nAnalyze logs for common cloud attack techniques:\n\n```\nCommon Cloud Attack Patterns:\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n1. Credential Compromise → IAM Privilege Escalation → Resource Abuse\n2. Public S3\u002FBlob → Data Exfiltration\n3. SSRF from Web App → IMDS Token Theft → Lateral Movement\n4. Compromised CI\u002FCD Pipeline → Malicious Deployment\n5. Cross-Account Role Abuse → Multi-Account Pivot\n6. Lambda\u002FFunction Abuse → Crypto-mining or Data Processing\n```\n\n**IMDS Token Theft Investigation (AWS):**\n```bash\n# Search CloudTrail for API calls using instance role credentials from external IP\naws cloudtrail lookup-events --lookup-attributes \\\n  AttributeKey=EventSource,AttributeValue=ec2.amazonaws.com \\\n  --start-time 2025-11-14 --end-time 2025-11-16 \\\n  | jq '.Events[] | select(.CloudTrailEvent | fromjson | .sourceIPAddress != \"internal\")'\n```\n\n### Step 5: Eradicate and Recover\n\nRemove adversary access and restore secure state:\n\n- Rotate all compromised credentials (access keys, passwords, service principal secrets)\n- Remove unauthorized IAM users, roles, policies, and access keys created by the attacker\n- Terminate unauthorized compute instances (crypto-miners, C2 servers)\n- Restore modified S3 bucket policies and storage access policies to pre-incident state\n- Re-enable security controls that were disabled (CloudTrail, GuardDuty, Defender for Cloud)\n- Review and restore Conditional Access policies and MFA configurations\n\n### Step 6: Post-Incident Cloud Hardening\n\nImplement controls to prevent recurrence:\n\n- Enable MFA for all IAM users and require MFA for sensitive API calls\n- Implement SCPs (AWS) or Azure Policy to prevent logging disablement\n- Enable GuardDuty \u002F Defender for Cloud \u002F Security Command Center with auto-remediation\n- Implement least-privilege IAM policies using access analyzer data\n- Enable IMDS v2 (token-required) on all EC2 instances to prevent SSRF-based token theft\n- Configure budget alerts to detect crypto-mining cost spikes\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **IMDS (Instance Metadata Service)** | Cloud service providing instance credentials accessible from within a VM; SSRF attacks target IMDS to steal tokens |\n| **CloudTrail** | AWS service logging all API calls across the AWS account; primary evidence source for AWS incident response |\n| **Service Principal** | Non-human identity in Azure AD used by applications and services; compromise enables persistent API access |\n| **SCP (Service Control Policy)** | AWS Organizations policy that limits the maximum permissions available to accounts; useful for guardrails |\n| **Ephemeral Infrastructure** | Cloud resources (containers, functions, auto-scaled instances) that may be terminated before evidence can be collected |\n| **Cross-Account Role Assumption** | AWS mechanism allowing one account to temporarily access resources in another; attackers pivot through assumed roles |\n\n## Tools & Systems\n\n- **AWS CloudTrail \u002F Azure Activity Logs \u002F GCP Audit Logs**: Cloud-native API logging services providing the primary audit trail\n- **Cado Response**: Cloud-native forensics platform for automated evidence capture from AWS, Azure, and GCP\n- **Prowler (AWS) \u002F ScoutSuite (multi-cloud)**: Open-source cloud security assessment tools for post-incident posture review\n- **Steampipe**: Open-source SQL-based tool for querying cloud APIs to investigate IAM configurations and resource states\n- **Cartography (Lyft)**: Open-source tool for mapping cloud infrastructure relationships and identifying attack paths\n\n## Common Scenarios\n\n### Scenario: AWS Access Key Compromised via Public GitHub Repository\n\n**Context**: AWS GuardDuty alerts on API calls from an unexpected IP address using an IAM user's access key. The key was accidentally committed to a public GitHub repository 4 hours ago.\n\n**Approach**:\n1. Immediately disable the compromised access key via AWS IAM\n2. Attach AWSDenyAll policy to the affected IAM user\n3. Query CloudTrail for all API calls made with the compromised key since exposure\n4. Identify resources created or modified by the attacker (EC2 instances for crypto-mining, new IAM users for persistence)\n5. Terminate unauthorized resources and remove backdoor IAM entities\n6. Rotate all credentials the compromised user had access to\n7. Enable GitHub secret scanning to prevent future credential leaks\n\n**Pitfalls**:\n- Only disabling the access key without checking for new access keys or IAM users created as persistence\n- Not checking all AWS regions for attacker-created resources (crypto-miners deployed in every region)\n- Forgetting to revoke temporary credentials from assumed roles (STS tokens remain valid until expiry)\n- Not calculating the financial impact of unauthorized resource usage for insurance claims\n\n## Output Format\n\n```\nCLOUD INCIDENT RESPONSE REPORT\n================================\nIncident:          INC-2025-1705\nCloud Provider:    AWS (Account: 123456789012)\nDate Detected:     2025-11-15T14:00:00Z\nDetection Source:  GuardDuty - UnauthorizedAccess:IAMUser\u002FInstanceCredentialExfiltration\n\nCOMPROMISE SUMMARY\nInitial Access:    IAM access key exposed in public GitHub repo\nAffected Identity: iam-user: deploy-bot (AKIA...)\nAttacker IP:       203.0.113.42 (VPN exit node, Netherlands)\nDuration:          4 hours (10:00 UTC - 14:00 UTC)\n\nATTACKER ACTIVITY (from CloudTrail)\n10:15 UTC - DescribeInstances (reconnaissance)\n10:18 UTC - RunInstances x 12 (c5.4xlarge, all regions - crypto-mining)\n10:22 UTC - CreateUser \"backup-admin\" (persistence)\n10:23 UTC - CreateAccessKey for \"backup-admin\"\n10:25 UTC - AttachUserPolicy - AdministratorAccess to \"backup-admin\"\n10:30 UTC - PutBucketPolicy - s3:\u002F\u002Fdata-bucket made public (exfiltration)\n\nCONTAINMENT ACTIONS\n[x] Original access key disabled\n[x] User policy set to AWSDenyAll\n[x] Backdoor IAM user \"backup-admin\" deleted\n[x] 12 crypto-mining instances terminated (all regions)\n[x] S3 bucket policy restored to private\n\nFINANCIAL IMPACT\nUnauthorized EC2: $2,847 (4 hours x 12 x c5.4xlarge)\nData Transfer:    $127 (S3 public access data egress)\nTotal:            $2,974\n\nPOST-INCIDENT HARDENING\n1. GitHub secret scanning enabled\n2. Access key rotation policy implemented\n3. SCP preventing CloudTrail disablement deployed\n4. GuardDuty auto-remediation Lambda configured\n```\n","# Conducting Cloud Incident Response\n\n## When to Use\n\n- Cloud security posture management (CSPM) alerts on unauthorized resource changes\n- CloudTrail, Azure Activity Logs, or GCP Audit Logs show suspicious API calls\n- Cloud access keys or service principal credentials are suspected compromised\n- Unauthorized compute instances, storage buckets, or IAM changes are detected\n- A cloud-hosted application is breached and attacker activity spans cloud services\n\n**Do not use** for on-premises-only incidents with no cloud component; use standard enterprise IR procedures.\n\n## Prerequisites\n\n- Cloud-native logging enabled and centralized: AWS CloudTrail (all regions), Azure Activity\u002FSign-in Logs, GCP Cloud Audit Logs\n- IR-specific cloud IAM roles pre-provisioned with read-only forensic access\n- Isolated forensic account\u002Fsubscription\u002Fproject for evidence preservation\n- Cloud incident response runbooks specific to each cloud provider\n- Cloud-native security tools: AWS GuardDuty, Azure Defender for Cloud, GCP Security Command Center\n- Network traffic logging: VPC Flow Logs (AWS\u002FGCP), NSG Flow Logs (Azure)\n\n## Workflow\n\n### Step 1: Detect and Confirm the Cloud Incident\n\nIdentify the scope and nature of the compromise:\n\n**AWS Indicators:**\n```\nCloudTrail suspicious events to investigate:\n- ConsoleLogin from unexpected geolocation or IP\n- CreateAccessKey for existing IAM user (persistence)\n- RunInstances for crypto-mining (large instance types)\n- PutBucketPolicy making S3 bucket public\n- AssumeRole to cross-account roles\n- DeleteTrail or StopLogging (defense evasion)\n- CreateUser or AttachUserPolicy (privilege escalation)\n```\n\n**Azure Indicators:**\n```\nAzure Activity Log events to investigate:\n- Sign-in from anonymous IP or TOR exit node\n- Service principal credential added\n- Role assignment changes (Owner, Contributor added)\n- VM created in unusual region\n- Storage account access key regenerated\n- Conditional Access policy modified or deleted\n- MFA disabled for user account\n```\n\n**GCP Indicators:**\n```\nGCP Audit Log events to investigate:\n- SetIamPolicy changes granting broad access\n- CreateServiceAccountKey for existing SA\n- InsertInstance in unexpected zone\n- SetBucketIamPolicy with allUsers\n- DeleteLog or UpdateSink (log tampering)\n```\n\n### Step 2: Contain Cloud Identity Compromise\n\nCloud containment is primarily an identity operation:\n\n**AWS Containment:**\n```bash\n# Disable compromised IAM access keys\naws iam update-access-key --user-name compromised-user \\\n  --access-key-id AKIA... --status Inactive\n\n# Attach deny-all policy to compromised user\naws iam attach-user-policy --user-name compromised-user \\\n  --policy-arn arn:aws:iam::aws:policy\u002FAWSDenyAll\n\n# Revoke all active sessions for compromised IAM role\naws iam put-role-policy --role-name compromised-role \\\n  --policy-name RevokeOlderSessions --policy-document '{\n    \"Version\":\"2012-10-17\",\n    \"Statement\":[{\n      \"Effect\":\"Deny\",\n      \"Action\":\"*\",\n      \"Resource\":\"*\",\n      \"Condition\":{\"DateLessThan\":\n        {\"aws:TokenIssueTime\":\"2025-11-15T15:00:00Z\"}}\n    }]\n  }'\n\n# Isolate compromised EC2 instance\naws ec2 modify-instance-attribute --instance-id i-0abc123 \\\n  --groups sg-isolate-forensic\n```\n\n**Azure Containment:**\n```powershell\n# Disable compromised user\nSet-AzureADUser -ObjectId \"user@tenant.onmicrosoft.com\" -AccountEnabled $false\n\n# Revoke all sessions\nRevoke-AzureADUserAllRefreshToken -ObjectId \"user-object-id\"\n\n# Remove role assignments\nRemove-AzRoleAssignment -ObjectId \"sp-object-id\" -RoleDefinitionName \"Contributor\"\n\n# Isolate VM with NSG deny-all rule\n$nsg = New-AzNetworkSecurityGroup -Name \"isolate-nsg\" -ResourceGroupName \"rg\" -Location \"eastus\"\n$nsg | Add-AzNetworkSecurityRuleConfig -Name \"DenyAll\" -Priority 100 -Direction Inbound `\n  -Access Deny -Protocol * -SourceAddressPrefix * -SourcePortRange * `\n  -DestinationAddressPrefix * -DestinationPortRange *\n```\n\n### Step 3: Preserve Cloud Evidence\n\nCollect evidence before ephemeral resources are terminated or logs rotate:\n\n**AWS Evidence Collection:**\n- Export CloudTrail events to S3 in the forensic account\n- Snapshot EBS volumes of compromised EC2 instances\n- Copy S3 access logs and object versions\n- Export VPC Flow Logs for the affected VPC\n- Capture IAM credential reports and access advisor data\n\n**Azure Evidence Collection:**\n- Export Azure Activity Logs and Sign-in Logs (90-day retention by default)\n- Snapshot managed disks of compromised VMs\n- Export Azure AD audit logs\n- Capture NSG flow logs\n- Export Conditional Access sign-in details\n\n**GCP Evidence Collection:**\n- Export Cloud Audit Logs to a forensic storage bucket\n- Snapshot persistent disks of compromised VMs\n- Export VPC Flow Logs\n- Capture IAM policy snapshots\n\n### Step 4: Investigate Cloud-Specific Attack Patterns\n\nAnalyze logs for common cloud attack techniques:\n\n```\nCommon Cloud Attack Patterns:\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n1. Credential Compromise → IAM Privilege Escalation → Resource Abuse\n2. Public S3\u002FBlob → Data Exfiltration\n3. SSRF from Web App → IMDS Token Theft → Lateral Movement\n4. Compromised CI\u002FCD Pipeline → Malicious Deployment\n5. Cross-Account Role Abuse → Multi-Account Pivot\n6. Lambda\u002FFunction Abuse → Crypto-mining or Data Processing\n```\n\n**IMDS Token Theft Investigation (AWS):**\n```bash\n# Search CloudTrail for API calls using instance role credentials from external IP\naws cloudtrail lookup-events --lookup-attributes \\\n  AttributeKey=EventSource,AttributeValue=ec2.amazonaws.com \\\n  --start-time 2025-11-14 --end-time 2025-11-16 \\\n  | jq '.Events[] | select(.CloudTrailEvent | fromjson | .sourceIPAddress != \"internal\")'\n```\n\n### Step 5: Eradicate and Recover\n\nRemove adversary access and restore secure state:\n\n- Rotate all compromised credentials (access keys, passwords, service principal secrets)\n- Remove unauthorized IAM users, roles, policies, and access keys created by the attacker\n- Terminate unauthorized compute instances (crypto-miners, C2 servers)\n- Restore modified S3 bucket policies and storage access policies to pre-incident state\n- Re-enable security controls that were disabled (CloudTrail, GuardDuty, Defender for Cloud)\n- Review and restore Conditional Access policies and MFA configurations\n\n### Step 6: Post-Incident Cloud Hardening\n\nImplement controls to prevent recurrence:\n\n- Enable MFA for all IAM users and require MFA for sensitive API calls\n- Implement SCPs (AWS) or Azure Policy to prevent logging disablement\n- Enable GuardDuty \u002F Defender for Cloud \u002F Security Command Center with auto-remediation\n- Implement least-privilege IAM policies using access analyzer data\n- Enable IMDS v2 (token-required) on all EC2 instances to prevent SSRF-based token theft\n- Configure budget alerts to detect crypto-mining cost spikes\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **IMDS (Instance Metadata Service)** | Cloud service providing instance credentials accessible from within a VM; SSRF attacks target IMDS to steal tokens |\n| **CloudTrail** | AWS service logging all API calls across the AWS account; primary evidence source for AWS incident response |\n| **Service Principal** | Non-human identity in Azure AD used by applications and services; compromise enables persistent API access |\n| **SCP (Service Control Policy)** | AWS Organizations policy that limits the maximum permissions available to accounts; useful for guardrails |\n| **Ephemeral Infrastructure** | Cloud resources (containers, functions, auto-scaled instances) that may be terminated before evidence can be collected |\n| **Cross-Account Role Assumption** | AWS mechanism allowing one account to temporarily access resources in another; attackers pivot through assumed roles |\n\n## Tools & Systems\n\n- **AWS CloudTrail \u002F Azure Activity Logs \u002F GCP Audit Logs**: Cloud-native API logging services providing the primary audit trail\n- **Cado Response**: Cloud-native forensics platform for automated evidence capture from AWS, Azure, and GCP\n- **Prowler (AWS) \u002F ScoutSuite (multi-cloud)**: Open-source cloud security assessment tools for post-incident posture review\n- **Steampipe**: Open-source SQL-based tool for querying cloud APIs to investigate IAM configurations and resource states\n- **Cartography (Lyft)**: Open-source tool for mapping cloud infrastructure relationships and identifying attack paths\n\n## Common Scenarios\n\n### Scenario: AWS Access Key Compromised via Public GitHub Repository\n\n**Context**: AWS GuardDuty alerts on API calls from an unexpected IP address using an IAM user's access key. The key was accidentally committed to a public GitHub repository 4 hours ago.\n\n**Approach**:\n1. Immediately disable the compromised access key via AWS IAM\n2. Attach AWSDenyAll policy to the affected IAM user\n3. Query CloudTrail for all API calls made with the compromised key since exposure\n4. Identify resources created or modified by the attacker (EC2 instances for crypto-mining, new IAM users for persistence)\n5. Terminate unauthorized resources and remove backdoor IAM entities\n6. Rotate all credentials the compromised user had access to\n7. Enable GitHub secret scanning to prevent future credential leaks\n\n**Pitfalls**:\n- Only disabling the access key without checking for new access keys or IAM users created as persistence\n- Not checking all AWS regions for attacker-created resources (crypto-miners deployed in every region)\n- Forgetting to revoke temporary credentials from assumed roles (STS tokens remain valid until expiry)\n- Not calculating the financial impact of unauthorized resource usage for insurance claims\n\n## Output Format\n\n```\nCLOUD INCIDENT RESPONSE REPORT\n================================\nIncident:          INC-2025-1705\nCloud Provider:    AWS (Account: 123456789012)\nDate Detected:     2025-11-15T14:00:00Z\nDetection Source:  GuardDuty - UnauthorizedAccess:IAMUser\u002FInstanceCredentialExfiltration\n\nCOMPROMISE SUMMARY\nInitial Access:    IAM access key exposed in public GitHub repo\nAffected Identity: iam-user: deploy-bot (AKIA...)\nAttacker IP:       203.0.113.42 (VPN exit node, Netherlands)\nDuration:          4 hours (10:00 UTC - 14:00 UTC)\n\nATTACKER ACTIVITY (from CloudTrail)\n10:15 UTC - DescribeInstances (reconnaissance)\n10:18 UTC - RunInstances x 12 (c5.4xlarge, all regions - crypto-mining)\n10:22 UTC - CreateUser \"backup-admin\" (persistence)\n10:23 UTC - CreateAccessKey for \"backup-admin\"\n10:25 UTC - AttachUserPolicy - AdministratorAccess to \"backup-admin\"\n10:30 UTC - PutBucketPolicy - s3:\u002F\u002Fdata-bucket made public (exfiltration)\n\nCONTAINMENT ACTIONS\n[x] Original access key disabled\n[x] User policy set to AWSDenyAll\n[x] Backdoor IAM user \"backup-admin\" deleted\n[x] 12 crypto-mining instances terminated (all regions)\n[x] S3 bucket policy restored to private\n\nFINANCIAL IMPACT\nUnauthorized EC2: $2,847 (4 hours x 12 x c5.4xlarge)\nData Transfer:    $127 (S3 public access data egress)\nTotal:            $2,974\n\nPOST-INCIDENT HARDENING\n1. GitHub secret scanning enabled\n2. Access key rotation policy implemented\n3. SCP preventing CloudTrail disablement deployed\n4. GuardDuty auto-remediation Lambda configured\n```\n",{"name":5,"tags":24,"author":30,"domain":31,"license":14,"version":32,"nist_csf":33,"subdomain":38,"description":7,"mitre_attack":39},[25,26,27,28,29],"cloud-IR","AWS-forensics","Azure-incident-response","GCP-security","identity-containment","mahipal","cybersecurity","1.0.0",[34,35,36,37],"RS.MA-01","RS.MA-02","RS.AN-03","RC.RP-01","incident-response",[40,41,42,43],"T1078","T1537","T1580","T1525","main","1eb986d0b0ecc180291597e08eb5a58288843536","skills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fconducting-cloud-incident-response","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv","2026-08-25 13:16:33",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add vikasvardhanv\u002Fjerry_skills --skill conducting-cloud-incident-response",{"tool":56,"command":57},"bunx","bunx skills add vikasvardhanv\u002Fjerry_skills --skill conducting-cloud-incident-response",{"tool":59,"command":60},"pnpm","pnpm dlx skills add vikasvardhanv\u002Fjerry_skills --skill conducting-cloud-incident-response","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fconducting-cloud-incident-response\u002FSKILL.md",true,[64,68,74],{"path":65,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":15},"LICENSE","许可证",11255,{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fapi-reference.md","REFERENCE","参考文档",2464,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fconducting-cloud-incident-response\u002Freferences\u002Fapi-reference.md",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Fagent.py","SCRIPT","脚本",7627,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fconducting-cloud-incident-response\u002Fscripts\u002Fagent.py",[81,89,96,103,110,117],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7BESR1CJ3H5SP9XM8KYJZ9W","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","MIT","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7BES1YA6R97W7QPMFFM1PED","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7BERNHYGY035AR00VRT03KE","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7BERCK1EAKTWW7R436WAR0J","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M7BEQZAZAQRTXFJRY7RHV3TY","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M7BEQKJ45K31QK5VRAQSVJCJ","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Use when the user asks about research funding or makes any grant-related request (e.g., 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research'). NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]