performing-aws-privilege-escalation-assessment

Featured

Performing authorized privilege escalation assessments in AWS environments to identify IAM misconfigurations that allow users or roles to elevate their permissions using Pacu, CloudFox, Principal Mapper, and manual IAM policy analysis techniques.

AI & Automation 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Performing AWS Privilege Escalation Assessment ## When to Use - When conducting authorized penetration testing of AWS IAM configurations - When validating that IAM policies follow the principle of least privilege - When assessing the blast radius of a compromised AWS credential - When building security reviews for IAM role and policy changes in CI/CD pipelines - When evaluating cross-account trust relationships for privilege escalation risks **Do not use** for unauthorized testing against AWS accounts, for assessing non-IAM attack vectors (SSRF, application vulnerabilities), or as a substitute for comprehensive cloud penetration testing. Always obtain written authorization before testing. ## Prerequisites - Written authorization for privilege escalation testing in the target AWS account - Test IAM user or role with limited permissions as the starting point - Pacu installed (`pip install pacu`) - CloudFox installed (`go install github.com/BishopFox/cloudfox@latest`) - PMapper (Principal Mapper) installed (`pip install principalmapper`) - AWS CLI configured with test credentials and CloudTrail logging enabled for audit trail ## Workflow ### Step 1: Enumerate Starting Permissions Establish the baseline permissions of the test principal before attempting escalation. ```bash # Get current identity aws sts get-caller-identity # Enumerate inline and attached policies for the current user aws iam list-user-policies --user-name test-user aws iam list-attached-user-policies...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category