Rapid7 Vulnerability & Exploit Database

Amazon Web Services EC2 instance enumeration

Back to Search

Amazon Web Services EC2 instance enumeration

Created
06/27/2019

Description

Provided AWS credentials, this module will call the authenticated API of Amazon Web Services to list all EC2 instances associated with the account

Author(s)

  • Aaron Soto <aaron.soto@rapid7.com>
  • RageLtMan <rageltman@sempervictus>

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/cloud/aws/enum_ec2
msf auxiliary(enum_ec2) > show actions
    ...actions...
msf auxiliary(enum_ec2) > set ACTION < action-name >
msf auxiliary(enum_ec2) > show options
    ...show and set options...
msf auxiliary(enum_ec2) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;