Penetration Test / Red Teaming / Purple Team
search
⌘Ctrlk
Penetration Test / Red Teaming / Purple Team
  • whoami
  • PowerShell for Pentesters
  • Azure AD Penetration Test
  • AWS Penetration Test
    • Intro [WIP]
    • Enumeration
    • Initial Access
    • Privilege Escalation
    • Tools
  • Hackthebox WriteUps
  • Purple Team Exercise
  • Container Security
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. AWS Penetration Test

Tools

Some tools that you can use during your penetration test on AWS.

hashtag
ScoutSuite

LogoGitHub - nccgroup/ScoutSuite: Multi-Cloud Security Auditing ToolGitHubchevron-right

hashtag
Pacu

LogoGitHub - RhinoSecurityLabs/pacu: The AWS exploitation framework, designed for testing the security of Amazon Web Services environments.GitHubchevron-right

hashtag
Pmapper

LogoGitHub - nccgroup/PMapper: A tool for quickly evaluating IAM permissions in AWS.GitHubchevron-right

hashtag
Commands

Copy your env credentials and run these commands

This command will collect information from your

List embedded queries

Learn privilege escalation paths

Who can create user in resources.

some refences:

  • https://github.com/nccgroup/PMapper/wiki/Query-Referencearrow-up-right

  • https://securityonline.info/pmapper/?utm_content=cmp-truearrow-up-right

  • https://www.kitploit.com/2018/08/pmapper-tool-for-quickly-evaluating-iam.html?m=0arrow-up-right

hashtag
Links

https://github.com/toniblyx/my-arsenal-of-aws-security-toolsarrow-up-right

PreviousPrivilege Escalationchevron-leftNextHackthebox WriteUpschevron-right

Last updated 2 years ago

  • ScoutSuite
  • Pacu
  • Pmapper
  • Links
export AWS_ACCESS_KEY_ID="zzzzzzzzz"
export AWS_SECRET_ACCESS_KEY="zzzzzzz"
export AWS_SESSION_TOKEN="zzzzzzzz"
pmapper graph create
pmapper query list
pmapper --account "it_will_give_you_after_first_command" query -s 'preset privesc *'
pmapper query 'who can do iam:CreateUser'