๐Ÿš‘ AWS Security Survival Kit

Bare-minimum AWS Security Alerting

ยท

2 min read

๐Ÿš‘ AWS Security Survival Kit

Photo by Mat Napo on Unsplash

๐Ÿง  Rationale

This AWS Security Survival Kit (ASSK) sets up an essential proactive monitoring and alerting environment on everyday suspicious activities in your AWS Account.

We know that CloudTrail is the bare minimum service to activate on a newly created AWS Account to track all activities on your AWS account. It helps, but this will not alert you to suspicious activities by itself. You still have to check periodically if something has gone wrong in multiple services and the console.

With these CloudFormation templates, you will bring proactive security monitoring and alerting to your AWS account. It's complementary to the GuardDuty service as there are no built-in alerts on GuardDuty.

๐Ÿ’พ Suspicious Activities

Using this kit, you will deploy EventBridge (CloudWatch Event) Rules and CloudWatch Metric Filters and Alarms on select suspicious activities. It comes with a CloudWatch Dashboard to give you more insights about what is ringing ๐Ÿ””

The following suspicious activities are currently supported:

  1. Root User activities

  2. CloudTrail changes (StopLogging, DeleteTrail, UpdateTrail)

  3. AWS Personal Health Dashboard Events

  4. IAM Users Changes (Create, Delete, Update, CreateAccessKey, etc..)

  5. MFA Monitoring (CreateVirtualMFADevice DeactivateMFADevice DeleteVirtualMFADevice, etc..)

  6. Unauthorized Operations (Access Denied, UnauthorizedOperation)

  7. Failed AWS Console login authentication (ConsoleLoginFailures)

  8. EBS Snapshots Exfiltration (ModifySnapshotAttribute, SharedSnapshotCopyInitiated SharedSnapshotVolumeCreated)

  9. AMI Exfiltration (ModifyImageAttribute)

  10. Who Am I Calls (GetCallerIdentity)

  11. IMDSv1 RunInstances (RunInstances && optional http tokens)

๐Ÿค– ChatOps

Set up AWS Chatbot for the best experience to get notified directly on Slack and MS Teams.

Slack Notification

๐Ÿ“ˆ Dashboard

ASSK comes with a CloudWatch Dashboard. Please don't hesitate to adjust to your needs.

๐ŸŽ–๏ธ Credits

ย