Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
aws-pentest — Automated AWS security assessment CLI with 30 modules covering IAM privilege escalation, S3 exposure, compute, network, logging and misconfiguration checks, producing Markdown audit reports. | Kitploit
Tools/GitHubGitHub/capture0x/aws-pentest
Cloud Infrastructure SecurityDefensive ToolsPrivilege EscalationReconnaissanceVulnerability ScannersPersistence MechanismsConfiguration AuditingInformation GatheringPost-ExploitationPenetration TestingCloud Security
348775 months agoReviewed by Kitploit
Red Teaming
GitHubcapture0x/aws-pentest

aws-pentest

Automated AWS security assessment CLI with 30 modules covering IAM privilege escalation, S3 exposure, compute, network, logging and misconfiguration checks, producing Markdown audit reports.

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

AWS Pentest Tool logo

AWS Pentest Tool

Python 3.8+ MIT License v3.0.0 30 Modules Markdown executive report

Automated AWS cloud security assessment framework for authorized audits, penetration tests, and red-team engagements.


Overview

AWS Pentest Tool audits AWS environments for identity risks, public exposure, secret leakage, weak trust relationships, logging gaps, and cloud service misconfigurations. It runs a multi-module assessment pipeline and produces a timestamped Markdown report with severity counts, evidence, proof-of-concept commands, and remediation guidance.

The CLI is designed for practical engagement work:

  • Multi-region AWS enumeration through boto3
  • Full audit and targeted module scan modes
  • Rich terminal progress during long scans
  • Executive-style Markdown reports in reports/
  • Defensive and offensive validation helpers for authorized testing

Authorization required. Run this tool only against AWS accounts you own or have explicit written permission to test.


Table of Contents

  • Quick Start
  • Audit Modes
  • Commands
  • Module Coverage
  • Report Output
  • Screenshots
  • Requirements
  • Project Structure
  • Security Notes
  • License

Quick Start

git clone https://github.com/capture0x/aws-pentest.git
cd aws-pentest

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

python3 aws_agent.py configure
python3 aws_agent.py audit --mode recon

Run a broader assessment:

python3 aws_agent.py audit --mode all --regions us-east-1,eu-west-1 --output reports

Run a targeted service scan:

python3 aws_agent.py scan-sts
python3 aws_agent.py scan-apigw --regions us-east-1,us-west-2
python3 aws_agent.py scan-dns --region us-east-1

Audit Modes

ModeScopeRecommended Use
reconCore identity, storage, compute, serverless, network, logging, and governance checksFast initial assessment
lootrecon plus deeper network, RDS, KMS, secrets, ECR, EBS, and CloudTrail checksSensitive data and exposure review
allComplete available scan pathFull engagement or final validation

Example:

python3 aws_agent.py audit --mode all --profile security-audit --regions us-east-1,eu-west-1

Commands

Core Commands

CommandPurpose
configureSave AWS credentials to a local .env file with 0600 permissions
auditRun the full orchestrated assessment and generate a Markdown report
exploit-iamShow IAM privilege escalation findings and proof-of-concept commands
exploit-s3Show S3 exposure and exploitation hints per bucket
backdoor-createCreate a persistent IAM administrator user; destructive and guarded by confirmation

Targeted Scans

CommandModulePrimary Checks
scan-stsSTS Cross-AccountRisky trust policies, weak ExternalId posture, OIDC providers, role chains
scan-apigwAPI GatewayMissing auth, weak resource policies, WAF gaps, JWT/CORS issues
scan-cognitoCognitoUnauthenticated identity pools, weak MFA posture, app client exposure
scan-dynamodbDynamoDBEncryption, PITR, streams, resource policies
scan-sqs-snsSQS / SNSPublic policies, HTTP subscriptions, missing server-side encryption
scan-cfnCloudFormationSecret outputs, stack role privilege risk, drift
scan-dnsRoute53Subdomain takeover candidates, DNSSEC, NS delegation risk
scan-codebuildCodeBuild / CodePipelinePlaintext secrets, privileged mode, artifact encryption
scan-wafAWS WAFDefault action, missing managed rules, rate limiting, logging
scan-scpAWS Organizations SCPGuardrail coverage, missing critical denies, organization membership
scan-sfnStep Functions / EventBridgePublic event buses, cross-account targets, state machine logging and secrets

Common Examples

python3 aws_agent.py audit --mode recon
python3 aws_agent.py audit --mode all --regions us-east-1,eu-west-1 --output /tmp/audit
python3 aws_agent.py audit --mode recon --auto-backdoor --verbose

python3 aws_agent.py exploit-iam --identity user/pentest-user
python3 aws_agent.py exploit-iam --auto-assume-role
python3 aws_agent.py exploit-s3 --bucket example-bucket

python3 aws_agent.py backdoor-create --dry-run
python3 aws_agent.py backdoor-create --user-name authorized-test-admin

Module Coverage

Download Tool