Description:
Amazon Simple Storage Service (Amazon S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance. Amazon S3 buckets can contain sensitive data that, for security purposes, should be discovered, monitored, classified, and protected. Macie, along with other 3rd party tools, can automatically provide an inventory of Amazon S3 buckets.
Rationale:
Using a cloud service or 3rd party software to continuously monitor and automate the process of data discovery and classification for S3 buckets using machine learning and pattern matching is a strong defense in protecting that information. Amazon Macie is a fully managed data security and privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS.
Impact:
Data will be secured, and there is a cost associated with using Amazon Macie. There is also typically a cost associated with 3rd party tools that perform similar processes and protection.
Default Value:
Macie is not enabled by default.
Pre-Requisite:
Macie is enabled.
Remediation:
Test Plan:
AWS Console Process
Login to the Macie console at https://console.aws.amazon.com/macie/
In the left hand pane click on By job under findings.
Confirm that you have a Job setup for your S3 Buckets in the list.
Using AWS CLI
aws macie list-s3-resources
Implementation Plan:
AWS Console Process
Log on to the Macie console at https://console.aws.amazon.com/macie/
Click Get started.
Click Enable Macie.
Setup a repository for sensitive data discovery results
In the Left pane, under Settings, click Discovery results.
Make sure Create bucket is selected.
Create a bucket, enter a name for the bucket. The name must be unique across all S3 buckets. In addition, the name must start with a lowercase letter or a number.
Click on Advanced.
Block all public access, make sure Yes is selected.
KMS encryption, specify the AWS KMS key that you want to use to encrypt the results. The key must be a symmetric, customer master key (CMK) that's in the same Region as the S3 bucket.
Click on Save
Create a job to discover sensitive data
In the left pane, click S3 buckets. Macie displays a list of all the S3 buckets for your account.
Select the check box for each bucket that you want Macie to analyze as part of the job
Click Create job.
Click Quick create.
For the Name and description step, enter a name and, optionally, a description of the job.
Then click Next.
For the Review and create step, click Submit.
Review your findings
In the left pane, click Findings.
To view the details of a specific finding, choose any field other than the check box for the finding.
Using AWS CLI
aws macie2 enable-macie
--create-sample-findings
--finding-types <value>
Backout Plan:
AWS Console Process
Open the Amazon Macie console at https://console.aws.amazon.com/macie/.
By using the AWS Region selector in the upper-right corner of the page, select the Region in which you want to disable Macie.
In the navigation pane, choose Settings.
Choose Disable Macie.
Using AWS CLI
aws macie2 disable-macie