Using our new administrator privileges

Pacu allows us to use AWS CLI directly from Pacu CLI for situations where you may want to run a single command, rather than a full module. Let's use this functionality and our new administrator permissions to run an AWS CLI command to request data that we didn't previously have. This can be done just by running the AWS CLI command as we normally would, so that we can try running a command to enumerate other resources in the account. We are currently in our own personal account, so this command might not return any valid data for you, but it will be important to check this API call in other accounts that you are attacking.

We can check if the account has GuardDuty enabled in the us-east-1 region by running ...

Get Hands-On AWS Penetration Testing with Kali Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.