Pacu is a Python framework for offensive AWS security tests, using modules for privilege escalation, IAM abuse, Lambda attacks, and other cloud exploitation tasks.
Overview
Pacu is an open-source AWS exploitation framework aimed at offensive security testing in cloud environments. Rhino Security Labs maintains the tool for penetration testers who need to abuse configuration flaws inside AWS accounts.
Sessions store AWS key pairs and collected data. Modules extend the core with attacks such as privilege escalation, IAM user backdoors, and vulnerable Lambda targeting. Commands list modules, run them with defaults, and scope regions from the CLI or interactive shell.
Pacu records results in a local SQLite database to reduce repeated API calls and provides reporting helpers. Docker images and pipx installation paths support lab setups on macOS and Linux.
Operators must authorize testing targets; maintainers disclaim warranties and highlight AWS Acceptable Use responsibilities.
Key features
- Modular AWS attack modules
- Session-based credential storage
- SQLite datastore for findings
- CLI and interactive commands
- Regional module execution
- Docker image for runs
- Pipx-friendly installation
- Extensible plugin architecture
Use cases
- Authorized AWS penetration tests
- Cloud privilege escalation exercises
- Red team simulations in AWS
- Researching IAM misconfigurations