Lesson 4 of 4 AWS Security Services

Following AWS Policies for Security Testing and Abuse Reporting

This lesson explains what security testing customers may run, what to do when AWS resources are used for abuse, and where to find trustworthy security information. Each has a specific answer.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the AWS penetration testing policy and the activities it prohibits.
  • Explain how to report abuse of AWS resources.
  • Identify where AWS publishes security information, such as security bulletins and the Security Blog.

Penetration testing

Customers may run penetration tests against their own resources on a list of common services, such as EC2, RDS, Aurora, CloudFront, API Gateway, Lambda and Lightsail, without asking AWS for approval. Some activities are prohibited, for example denial of service (DoS) attacks, flooding and testing AWS's own infrastructure. Simulated events such as DDoS tests or phishing simulations have their own policies.

Reporting abuse

If AWS resources are being used for something abusive or illegal, such as spam, port scanning, DoS attacks, hosting malware or phishing, report it to the AWS Trust and Safety team using the abuse report form. Anyone can report suspected abuse, not only AWS customers. If your own account receives an abuse notice, respond quickly: AWS may restrict resources that keep causing harm.

True or false

Testing and abuse

Exam skills 4.3.5

Check the rules on penetration testing and reporting abuse.

Log in to try this activity Interactive activities are free with an account.

Where to find security information

AWS publishes security information in several places, each for a different purpose. The AWS Security Center and Security Blog provide best practices, whitepapers and announcements. AWS Security Bulletins announce vulnerabilities that affect AWS services and what to do about them. The AWS Knowledge Center and AWS re:Post answer common questions and host community discussion.

Three resources relate to your own account. AWS Artifact provides AWS's compliance reports, such as SOC, ISO and PCI reports, and agreements such as the HIPAA Business Associate Addendum. AWS Trusted Advisor checks your account for security gaps, such as open ports or a root user without MFA. IAM Access Analyzer finds resources that are shared outside your account. The following table summarises the resources.

ResourceWhat it offers
AWS Security Center and Security BlogBest practices, whitepapers and announcements
AWS Security BulletinsNotices about vulnerabilities that affect AWS services
AWS Knowledge Center and AWS re:PostAnswers to common questions; community Q&A
AWS ArtifactAWS compliance reports (SOC, ISO, PCI) and agreements such as the BAA
AWS Trusted AdvisorChecks for security gaps such as open ports and root MFA
IAM Access AnalyzerFinds resources shared outside your account
Match the pairs

Security resources

Exam skills 2.4.3 · 2.2.1

Match each need with the AWS security resource that meets it.

Log in to try this activity Interactive activities are free with an account.
Worked example

A company wants to run a penetration test against its web application hosted on Amazon EC2 behind an Application Load Balancer. What must it do first?

Nothing beyond following the AWS penetration testing policy: testing customer resources on these services does not need prior approval. It must avoid prohibited activities such as denial of service.

Check yourself

Do customers need AWS approval to run penetration tests on their own EC2 instances?

Show answer

No, not for the services on AWS's list of permitted services. Some activities, such as simulated denial-of-service tests, follow separate rules.

Exam Tips

Remember for the exam

  • Penetration testing of your own resources on listed services needs no prior approval.
  • DoS attacks and flooding are prohibited in penetration tests.
  • To report spam or attacks coming from AWS IP addresses, contact the AWS Trust and Safety team.
  • Security Bulletins announce vulnerabilities; Artifact provides compliance reports.
  • Trusted Advisor and IAM Access Analyzer help find security gaps.