AWS Cloud-Security lab

Exercise: Monitoring AWS for security issues

This guide will walk you through the process of testing for common security issues that may expose an AWS account to unwanted risks

Prerequisites

1. Identify Public S3 Buckets

2. Check for IAM Users Without MFA

3. Check permissions granted by user-defined (“Local”) IAM policies

IAM policies may grant excessive privileges. The definition of “excessive” is specific to each organization. However being aware of the risk and having the ability to list such permissions allow cloud administrators to verify.

4. Identify Security Groups with very permissive settings

5. Generate IAM credentials report and analyze it

6. Let’s build a security check script

To complete the exercise, let’s put together a shell script using the AWS CLI to help us automate some of the security checks we played with during the lab

END