Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VPC / VPC peering information to output #57

Open
Techbrunch opened this issue Sep 20, 2023 · 1 comment
Open

Add VPC / VPC peering information to output #57

Techbrunch opened this issue Sep 20, 2023 · 1 comment
Assignees

Comments

@Techbrunch
Copy link

As a pentester
I want to be able to have an overview of VPC and VPC peering
so that I can quickly assess the attack surface.

Overview

In my current audit the targets are in a VPC but this VPC has some peering with other VPCs.

I want to be able to quickly see the other VPC linked to the VPC I'm auditing.

The following information would be useful for VPC:

  • Name
  • VPC ID
  • State
  • IPv4 CIDR
  • IPv6 CIDR
  • Owner ID
  • Region
  • Number of instances

The following information would be useful for VPC peering:

  • VPC id requester and accepter
  • VPC name requester and accepter
  • region requester and accepter
  • Requester CIDRs
  • Accepter CIDRs
  • Requester owner ID
  • Requester owner ID
  • Peering connection id
  • Status
@sethsec-bf sethsec-bf self-assigned this Oct 25, 2023
@tragulum
Copy link
Contributor

tragulum commented Dec 27, 2023

@Techbrunch Here's a script I use for this. I uploaded to a Gist in case you want to use it until this functionality gets added to CF. https://gist.github.com/tragulum/2c9ba8e7ea8ca3a0c00da37fdc80423d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants