offensive-tools/cloud/pacu/SKILL.md
AWS exploitation framework for auditing and attacking misconfigured AWS environments. Use when performing AWS red-team engagements, privilege escalation, data exfiltration, or persistence in AWS accounts.
npx skillsauth add aeondave/malskill pacuInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
AWS exploitation framework — enumerate, escalate, pivot, and persist in AWS.
pip install pacu
pacu
# Configure AWS creds (or use existing ~/.aws/credentials)
set_keys
# Enter access key, secret key, session token
# List modules
ls
# Run a module
run iam__enum_permissions
| Module | Purpose |
|--------|---------|
| iam__enum_permissions | Enumerate IAM permissions |
| iam__privesc_scan | Find privilege escalation paths |
| iam__backdoor_users_passwords | Add backdoor IAM passwords |
| ec2__enum | Enumerate EC2 instances |
| s3__download_bucket | Download S3 bucket contents |
| lambda__enum | Enumerate Lambda functions |
| cognito__attack | Attack Cognito user pools |
| cloudtrail__download_event_history | Download CloudTrail logs |
Initial enumeration:
run iam__enum_permissions
run ec2__enum
run s3__enum
Privilege escalation:
run iam__privesc_scan
# Follow recommendations from output
Data exfil:
run s3__download_bucket --bucket target-bucket
| File | When to load |
|------|--------------|
| references/ | AWS privesc techniques and module args |
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.