AWS - API Gateway Persistence

Tip

AWSハッキングを学び、実践する:HackTricks Training AWS Red Team Expert (ARTE)
GCPハッキングを学び、実践する:HackTricks Training GCP Red Team Expert (GRTE) Azureハッキングを学び、実践する:HackTricks Training Azure Red Team Expert (AzRTE)

HackTricksをサポートする

API Gateway

For more information go to:

AWS - API Gateway Enum

リソースポリシー

Modify the resource policy of the API gateway(s) to grant yourself access to them

Lambda Authorizers の変更

Modify the code of lambda authorizers to grant yourself access to all the endpoints.\
Or just remove the use of the authorizer.

IAM Permissions

If a resource is using IAM authorizer you could give yourself access to it modifying IAM permissions.\
Or just remove the use of the authorizer.

API Keys

If API keys are used, you could leak them to maintain persistence or even create new ones.\
Or just remove the use of API keys.

Tip

AWSハッキングを学び、実践する:HackTricks Training AWS Red Team Expert (ARTE)
GCPハッキングを学び、実践する:HackTricks Training GCP Red Team Expert (GRTE) Azureハッキングを学び、実践する:HackTricks Training Azure Red Team Expert (AzRTE)

HackTricksをサポートする