You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initial implementation of vpc-vpn-pivot is starting a VPN server in AWS Client VPN. In order to do that, the compromised AWS credentials require rather uncommon privileges (unless you have *:*).
A great improvement for this tool would be to:
Start https://ngrok.com/ on the attacker workstation (this allows the attacker server to be behind a NAT and doesn't require port forwarding at the edge router)
Start VPN server in attacker workstation
Run VPN client in EC2, Lambda, Fargate, LightSail, etc.
Pivot into the target VPC
If the attacker has privileges to create the AWS Client VPN, then the initial method should be used, else:
Try to start an EC2 instance in the target VPC with a specific user-data to connect to the VPN
Try to run a lambda function that connects to the VPN. This implementation will have the challenge of handling lambda function timeouts.
Use Fargate
The text was updated successfully, but these errors were encountered:
The initial implementation of
vpc-vpn-pivot
is starting a VPN server in AWS Client VPN. In order to do that, the compromised AWS credentials require rather uncommon privileges (unless you have*:*
).A great improvement for this tool would be to:
If the attacker has privileges to create the AWS Client VPN, then the initial method should be used, else:
The text was updated successfully, but these errors were encountered: