aws configure --profile cybr AWS Access Key ID [****************U2PR]: <Enter-The-Access-Key> AWS Secret Access Key [****************It/y]: <Enter-The-Secret-Key> Default region name [None]: <Enter-The-Region> Default output format [json]: <Enter-The-Output-Format>
# You can name anything instead of cybr name doesn't matter
Creating a new session
If you are stating pacu for the first time it will ask you to enter a session name.
Importing Keys into Pacu
We have configured the keys using the aws configure command. We have to configure pacu to run command on the profile we have created here it is ‘cybr’.
By importing the keys we can run commands on the ‘cybr’ profile.
If you have used metasploit it is similar to search option.
We can search through different modules.
Pacu (Into-to-AWS:imported-cybr) search <Name_of_The_Module> Pacu (Into-to-AWS:imported-cybr) search iam
Press enter or click to view image in full size
Found a Modules used for Enumerating users, roles, policies and groups
This module is used to Enumerate users, roles, policies and groups.
Press enter or click to view image in full size
To run a Module
Pacu (Into-to-AWS:imported-cybr) run <Name_of_the_Module> Pacu (Into-to-AWS:imported-cybr) run iam__enum_users_roles_policies_groups
Press enter or click to view image in full size
Pacu Database
Pacu Database is where all the output of the command will be stored.
We can filter a specific catagory like IAM To display only that
Pacu (Into-to-AWS:imported-cybr) data IAM
Press enter or click to view image in full size
Conclusion
Simple walkthrough about Enumerating using Pacu.
Pacu make the enumeration process so easy and Fast if we have to enumerate these thing manually it would probally take 10 minutes but using pacu it took me just a minute.