Penetration Test / Red Teaming / Purple Team
Ctrlk
  • 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
Powered by GitBook
On this page
  1. AWS Penetration Test

Tools

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

ScoutSuite

LogoGitHub - nccgroup/ScoutSuite: Multi-Cloud Security Auditing ToolGitHub

Pacu

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

Pmapper

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

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-Reference

  • https://securityonline.info/pmapper/?utm_content=cmp-true

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

Links

https://github.com/toniblyx/my-arsenal-of-aws-security-tools

PreviousPrivilege EscalationNextHackthebox WriteUps

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'