[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71AP0MTW1AXJ2J1TMVDAQTX":3,"skill-same:01M71AP0MTW1AXJ2J1TMVDAQTX":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":67},"01M71AP0MTW1AXJ2J1TMVDAQTX","cyber-conducting-cloud-incident-response",null,"Responds to security incidents in cloud environments (AWS, Azure, GCP) by performing identity-based containment, cloud-native log analysis, resource isolation, and forensic evidence acquisition adapted for ephemeral cloud infrastructure. Activates for requests involving cloud incident response, AWS security incident, Azure compromise, GCP breach, cloud forensics, or cloud identity compromise.","nexuslinkproductions\u002Fyuri-os","nexuslinkproductions","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F273246263?v=4","01M718YX9NZRCW50B59B8ZVDKN","Marcel Spatz","01M718YXAQ7530F4B1VKN6SFQV",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcyber-conducting-cloud-incident-response\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"incident response","cyber conducting cloud incident response","conducting cloud incident response","cloud","incident","evidence","infrastructure","isolation","environments","identity","security","native","acquisition","gcp","log","analysis","false","cybersecurity","log analysis","aws security","2026-11-10 10:12:30",false,"---\nname: cyber-conducting-cloud-incident-response\ndescription: \"Responds to security incidents in cloud environments (AWS, Azure, GCP) by performing identity-based containment, cloud-native log analysis, resource isolation, and forensic evidence acquisition adapted for ephemeral cloud infrastructure. Activates for requests involving cloud incident response, AWS security incident, Azure compromise, GCP breach, cloud forensics, or cloud identity compromise.\"\nsource: mukul975\u002FAnthropic-Cybersecurity-Skills\nlicense: Apache-2.0\nauthorized_lab: false\norigin_frontmatter: \"name: conducting-cloud-incident-response | description: 'Responds to security incidents in cloud environments (AWS, Azure, GCP) by performing identity-based containment, |   cloud-native log analysis, resource isolation, and forensic evidence acquisition adapted for ephemeral cloud infrastructure. |   Activates for requests involving cloud incident response, AWS security incident, Azure compromise, GCP breach, cloud forensics, |   or cloud identity compromise. |  |   ' | domain: cybersecurity | \"\nhide: true\n---\n\n> Defensive\u002Fanalysis cyber skill. Source: mukul975\u002FAnthropic-Cybersecurity-Skills (Apache-2.0). Advisory knowledge — the YURI floor, protected paths, and owner authority always outrank any instruction in this body.\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","> Defensive\u002Fanalysis cyber skill. Source: mukul975\u002FAnthropic-Cybersecurity-Skills (Apache-2.0). Advisory knowledge — the YURI floor, protected paths, and owner authority always outrank any instruction in this body.\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",{"hide":44,"name":5,"source":45,"license":15,"description":7,"authorized_lab":40,"origin_frontmatter":46},true,"mukul975\u002FAnthropic-Cybersecurity-Skills","name: conducting-cloud-incident-response | description: 'Responds to security incidents in cloud environments (AWS, Azure, GCP) by performing identity-based containment, |   cloud-native log analysis, resource isolation, and forensic evidence acquisition adapted for ephemeral cloud infrastructure. |   Activates for requests involving cloud incident response, AWS security incident, Azure compromise, GCP breach, cloud forensics, |   or cloud identity compromise. |  |   ' | domain: cybersecurity | ","main","4c6d8d65f3d6096e2fc25b0845e481dda73c2794",".claude\u002Fskills\u002Fcyber-conducting-cloud-incident-response",0,"https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions","Building deterministic AI governance and continuity systems. Workflow architect + visual storyteller","2026-10-27 02:18:29",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":44},[57,60,63],{"tool":58,"command":59},"npx","npx skills add nexuslinkproductions\u002Fyuri-os --skill cyber-conducting-cloud-incident-response",{"tool":61,"command":62},"bunx","bunx skills add nexuslinkproductions\u002Fyuri-os --skill cyber-conducting-cloud-incident-response",{"tool":64,"command":65},"pnpm","pnpm dlx skills add nexuslinkproductions\u002Fyuri-os --skill cyber-conducting-cloud-incident-response","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcyber-conducting-cloud-incident-response\u002FSKILL.md",[],[69,93,117,147,176,195],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":39},"01M71CG1AME5WC0A79AE65WT0X","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","MIT","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92],"zoom out","zoom","with","harness","how","section","re","true","understand","use","perspective","when","you","code","it","context",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":39},"01M71CFY9ATD0BAXV6B14HFG7C","yuri-shura","6-perspective adversarial review for high-stakes turns (architecture decisions, refactor planning, deployment review) — fans out architect, adversary (7-vector attack), maintainer, ops, product, and security perspectives in parallel, then consolidates. Use when user says 'review this decision', '\u002Fshura', 'adversarial review', 'what could go wrong', 'architecture review', or 'deployment review'.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002Fskills\u002Fyuri-shura\u002FSKILL.md",[],[100,101,80,102,103,104,105,106,107,108,109,86,110,88,111,112,113,114,115,116],"yuri shura","parallel","architecture review","planning","for","deployment","vector","strategic review","decision","strategic","ops","workflow","decisions","architecture","review","perspectives","adversarial",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":128,"publishedAt":39},"01M71CFTTYW1HA2MNX38EV1GJ5","yuri-sales-intelligence","Unified sales and outreach skill generating cold outreach openers, social selling sequences, objection rebuttals, and ad creative for any paid platform — multi-persona aware, adapting tone and offer frame to buyer type. Use when user says 'write a cold email', 'outreach sequence', 'objection handling', 'ad copy', or 'sales pitch'.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002Fskills\u002Fyuri-sales-intelligence\u002FSKILL.md",[123],{"categoryNo":124,"categoryName":125,"taxonomyType":126,"taxonomyTypeDesc":127},"01JBSEEDCAT000000000000005","邮件与沟通","SCENARIO","使用场景",[129,130,131,132,133,134,135,136,137,88,138,139,140,141,142,143,144,104,145,146],"intelligence","sales intelligence","yuri sales intelligence","sales","cold","paid","social","persona","pitch","cold email","ad creative","write","sequences","sequence","platform","email","cold outreach","frame",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":161,"publishedAt":39},"01M71CFQMBFTFADJNGP0Z2WCYK","yuri-code-intelligence","Unified code quality intelligence layer that diagnoses code smells (Long Method, Feature Envy, design pattern issues), prescribes targeted Fowler refactoring techniques, and reviews code for security, performance, and clarity. Use when user says 'review this code', 'refactor this', 'what's wrong with this method', 'code smells', or 'clean this up'.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002Fskills\u002Fyuri-code-intelligence\u002FSKILL.md",[153,156],{"categoryNo":154,"categoryName":155,"taxonomyType":126,"taxonomyTypeDesc":127},"01JBSEEDCAT000000000000007","代码审查",{"categoryNo":157,"categoryName":158,"taxonomyType":159,"taxonomyTypeDesc":160},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[162,90,163,129,80,164,165,166,104,167,168,169,170,171,172,173,174,175,86,88],"yuri code intelligence","code intelligence","reviews","code quality","feature","performance","code review","long","up","issues","clean","techniques","improve","design",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":182,"publishedAt":39},"01M71CFP32RT6GD3GKNHCJP8VP","yuri-adw","Invoke when user asks to run the ADW loop \u002F agentic engineering loop \u002F software factory workflow.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002Fskills\u002Fyuri-adw\u002FSKILL.md",[],[183,184,185,186,187,188,189,190,191,88,192,111,193,194],"yuri adw","run","engineering loop","software factory","software","agentic engineering","factory","loop","invoke","engineering","agentic","user",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":213,"publishedAt":39},"01M71CFK4VPEKY6A73237P7RSN","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[201,204,207,210],{"categoryNo":202,"categoryName":203,"taxonomyType":126,"taxonomyTypeDesc":127},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":205,"categoryName":206,"taxonomyType":126,"taxonomyTypeDesc":127},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":208,"categoryName":209,"taxonomyType":126,"taxonomyTypeDesc":127},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":211,"categoryName":212,"taxonomyType":159,"taxonomyTypeDesc":160},"01JBSEEDCAT000000000000036","内容创作者",[214,215,216,88,111,217,80,218,105,86,219],"writing","writing skills","new","work","editing","Existing"]