AWS Penetration Testing

Performs AWS penetration tests including privilege escalation and IAM enumeration using Pacu and Boto3.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/lips85/antigravity-skills-bootstrap --skill aws-penetration-testing-lips85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: AWS Penetration Testing
Source: https://github.com/lips85/antigravity-skills-bootstrap/tree/main/skills/aws-penetration-testing
Command: npx skills add https://github.com/lips85/antigravity-skills-bootstrap --skill aws-penetration-testing-lips85

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive framework for identifying and exploiting vulnerabilities within Amazon Web Services environments, helping to secure cloud infrastructure.

Core Features & Use Cases

  • IAM Enumeration & Escalation: Discover and exploit privilege escalation paths within AWS Identity and Access Management.
  • Metadata & Credential Access: Leverage SSRF vulnerabilities to access EC2 instance metadata and extract temporary credentials.
  • S3 & Lambda Exploitation: Identify and exploit misconfigured S3 buckets and vulnerable Lambda functions.
  • Use Case: A security team needs to perform a red team exercise to assess the security posture of their AWS deployment, simulating an attacker's approach to find and exploit weaknesses.

Quick Start

Use the AWS Penetration Testing skill to enumerate IAM users and their attached policies.

Frequently Asked Questions about AWS Penetration Testing

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

FAQPage Schema
How do I enumerate IAM users and policies for AWS penetration testing?

AWS penetration testing identifies IAM users and attached policies to discover privilege escalation paths within Identity and Access Management. It helps red teams simulate attacker approaches to find and exploit cloud infrastructure weaknesses.

Can I exploit SSRF vulnerabilities to access EC2 instance metadata in AWS?

Yes, AWS penetration testing leverages Server-Side Request Forgery vulnerabilities to access EC2 instance metadata endpoints. This technique allows security assessments to extract temporary credentials and evaluate the exposure of your cloud environment.

What is the best way to test S3 buckets and Lambda functions for cloud security vulnerabilities?

Testing S3 buckets and Lambda functions involves identifying and exploiting misconfigurations and vulnerable functions to assess cloud security. This process evaluates your AWS deployment's posture by simulating targeted exploitation during red team exercises.

Do I need AWS CLI and boto3 to perform AWS cloud security assessments?

Yes, AWS cloud security assessments require AWS CLI, boto3, and specialized tools like Pacu and Prowler. These tools provide the necessary framework for executing comprehensive penetration tests and red team operations on your infrastructure.

How does a red team exercise simulate privilege escalation in AWS environments?

A red team exercise simulates privilege escalation by enumerating AWS Identity and Access Management configurations to find exploitable paths. This assessment uncovers weaknesses in your AWS deployment by mimicking an attacker's approach to privilege exploitation.

Are there limitations when extracting temporary credentials via EC2 metadata endpoints?

Extracting temporary credentials via EC2 metadata endpoints during penetration testing is limited by the scope of your authorized red team exercise. Security assessments must respect boundaries to safely identify and exploit weaknesses without disrupting cloud infrastructure.