Skip to content

// Cloud pentest

Pentest for SaaS hosted on AWS

6 minUpdated November 16, 2026By Ler em português

Do you need permission from AWS?

For most of a SaaS, no. The AWS penetration testing policy says a customer may test its own account without prior approval on a list of services that includes EC2, RDS, Aurora, CloudFront, API Gateway, AppSync, Lambda, Lightsail, Elastic Beanstalk, ECS, Fargate, OpenSearch, FSx and Transit Gateway.

A service outside the list requires contacting AWS support first. Exercises with a command and control server, phishing simulations and red team operations go through a simulated event form, sent at least two weeks ahead.

RET runs this test: a 25-hour Sprint for R$9,500, within 7 business days. See price and timeline for my case

What AWS forbids in any test

The policy lists what may not happen even with a scope signed by the customer:

  • denial of service, real or simulated, and port, protocol or request flooding;
  • DNS zone walking, hijacking or pharming through Route 53;
  • S3 bucket takeover and subdomain takeover.

Who answers for the test

AWS holds the customer responsible for whoever it hires: the account owner must make sure the third party follows the policy. That is why RET's authorization form lists the accounts, regions and services in scope, and what stays out.

The test covers what is yours. AWS's own infrastructure is out, and a flaw that appears to be theirs is reported to AWS.

What the test looks at in a SaaS on AWS

Within the authorized scope:

  • open S3 bucket, public listing and signed link that gives access beyond the requested file;
  • access key exposed in browser code, in the repository or in an API response;
  • API Gateway route or Lambda function that answers without checking whose data it is;
  • request that makes the server fetch the internal instance metadata address and return a temporary credential;
  • RDS database or OpenSearch panel reachable from the internet;
  • origin server reachable directly, around CloudFront and the protection that sits on it.

Delivery and terms

Executive and technical reports with reproducible evidence and recommended fix, NDA the same day, Sprint within 7 business days, and a second check of your fixes with no limit for 90 days.

Frequently asked questions

Do I need to tell AWS before the pentest?

For the services on the AWS policy list, such as EC2, RDS, Lambda, API Gateway and CloudFront, no. A service outside the list, and exercises with command and control or phishing, require contact or a form first.

Do you run load or denial of service tests?

No. The AWS policy forbids denial of service, real or simulated, and RET does not run that kind of test.

Can the test take production down?

Scope and window are agreed beforehand, and tests that can affect availability stay out. When a staging environment equal to production exists, the test starts there.

How much does it cost?

The 25-hour Sprint costs R$9,500 for one web application, API or mobile app (Android or iOS).

What if the test finds no flaw?

We refund 50% of the price. The other 50% pays for the hours executed, the report of what was tested and the attestation letter.

Keep reading