Pacu (AWS Exploitation Framework)
The AWS exploitation framework, designed for offensive security testing against cloud environments.
Lab Overview
Pacu is an open-source AWS exploitation framework designed for offensive security testing in cloud environments. It allows attackers to exploit configuration flaws, escalate privileges, and maintain persistence within AWS accounts. This lab pairs with the 'Cloud IAM Escalation' research topic, providing a vulnerable AWS sandbox.
Learning Objectives
- 1Configure AWS credentials within Pacu
- 2Enumerate IAM permissions and identify privilege escalation paths
- 3Execute a privilege escalation attack and exfiltrate simulated data
Ensure you have a stable VPN connection before launching. The instance will automatically terminate after the allotted duration or upon manual shutdown.
Why Choose This Tool?
AWS environments are notoriously complex; Pacu centralizes and automates the discovery and exploitation of cloud-specific misconfigurations much like Metasploit does for networks.
Pros
- •Specifically tailored for AWS
- •Automates complex API calls and enumeration
- •Maintains an internal SQLite database of discovered assets
Cons
- •Modules can become outdated as AWS APIs change
- •Requires valid AWS credentials to start
Installation
Requires Python 3. Install via pip: pip3 install pacu or clone the repository and run bash install.sh.
How to Use
Launch pacu, set your AWS keys (set_keys), switch to an active session, and run modules like run iam__enum_permissions to start gathering data, followed by exploitation modules.