AWS Security Checklist: 40 Checks Before Your SOC 2 Audit
A copyable AWS security checklist: 40 checks across IAM, logging, storage, databases, network and keys, each with the CLI command to verify it.
An AWS security checklist for SOC 2 covers six areas: identity, logging, storage, databases, network, and keys. Below are 40 checks across those areas, each with the AWS CLI command that proves it passes, so you can run the list yourself before your auditor does.
Every check here is one Strac runs daily for customers through a read-only role. We publish the list because most failed cloud controls are not exotic. They are the same handful of settings, left the way an engineer set them during a late-night launch.

Run the commands with credentials that can read but not write. The AWS-managed SecurityAudit policy is enough for every command below. Regional checks (GuardDuty, EBS encryption, security groups, Config) have to run in every enabled region, and this loop handles that:
for r in $(aws ec2 describe-regions --query 'Regions[].RegionName' --output text); do
echo "== $r"
aws guardduty list-detectors --region "$r" --query 'DetectorIds' --output text
aws ec2 get-ebs-encryption-by-default --region "$r" --query 'EbsEncryptionByDefault'
doneSeveral identity checks read the IAM credential report, a CSV of every user. AWS documents its column order; these commands generate it and pull the columns used in checks 3 to 5:
aws iam generate-credential-report
aws iam get-credential-report --query Content --output text | base64 --decode > creds.csv
cut -d, -f1,4,8 creds.csv # user, password_enabled, mfa_active
cut -d, -f1,9,10,14,15 creds.csv # access key 1 and 2: active, last rotatedPrefer not to run 40 commands by hand in 17 regions? This is exactly what Strac does: the same checks, daily, with the CLI fix on each finding.

Identity is where SOC 2 criterion CC6.1 lives and where most account takeovers start. If you only have an hour, spend it here.
| Check | Why it matters | How to verify |
|---|---|---|
| 1. Root account has MFA | Root can do anything, including closing the account | aws iam get-account-summary --query 'SummaryMap.AccountMFAEnabled' (expect 1) |
| 2. Root has no access keys | Root keys cannot be scoped down | aws iam get-account-summary --query 'SummaryMap.AccountAccessKeysPresent' (expect 0) |
| 3. Every console user has MFA | Passwords get phished and reused | Credential report, columns 1, 4 and 8: user, password_enabled, mfa_active |
| 4. No access keys older than 90 days | Old keys end up in laptops, CI logs and repos | Credential report, columns 10 and 15: access_key_1/2_last_rotated |
| 5. No unused credentials | Dormant users are free access for an attacker | Credential report, columns 5 and 11: password_last_used, access_key_1_last_used_date |
| 6. Strong password policy | Auditors test it every year | aws iam get-account-password-policy |
| 7. Few people hold AdministratorAccess | Least privilege is CC6.1 | aws iam list-entities-for-policy --policy-arn arn:aws:iam::aws:policy/AdministratorAccess |
| 8. No policies attached directly to users | Group and role policies are reviewable | aws iam list-attached-user-policies --user-name <user> for each user |
| 9. IAM Access Analyzer is on | Finds resources shared outside your account | aws accessanalyzer list-analyzers |
Your auditor will ask how you detect security events (CC7.2). Your incident responder will ask what happened. Both answers start with CloudTrail running in every region with validation on.
| Check | Why it matters | How to verify |
|---|---|---|
| 10. A multi-region CloudTrail trail exists | Without it you cannot investigate anything | aws cloudtrail describe-trails --query 'trailList[].[Name,IsMultiRegionTrail]' |
| 11. The trail is logging | A trail can exist and be stopped | aws cloudtrail get-trail-status --name <trail> --query IsLogging |
| 12. Log file validation is on | Proves logs were not altered | aws cloudtrail describe-trails --query 'trailList[].[Name,LogFileValidationEnabled]' |
| 13. Trail logs are encrypted with KMS | Logs hold account activity worth protecting | aws cloudtrail describe-trails --query 'trailList[].[Name,KmsKeyId]' |
| 14. The CloudTrail bucket is not public | A public log bucket maps your account for attackers | aws s3api get-bucket-policy-status --bucket <trail-bucket> |
| 15. GuardDuty is on in every region | Threat detection is CC7.2 | aws guardduty list-detectors --region <region> |
| 16. AWS Config is recording | Configuration history is evidence of change control | aws configservice describe-configuration-recorder-status |
| 17. VPC flow logs are on | Network evidence for incident response | aws ec2 describe-flow-logs --query 'FlowLogs[].ResourceId' |
S3 has been private by default for new buckets since AWS turned on Block Public Access and disabled ACLs in April 2023, and new objects have been encrypted by default since January 2023. Buckets created earlier keep their old settings, which is why these checks still fail in older accounts. Our guide to public S3 buckets walks through the fix in detail.
| Check | Why it matters | How to verify |
|---|---|---|
| 18. Account-level S3 Block Public Access | One switch stops most S3 leaks | aws s3control get-public-access-block --account-id <id> |
| 19. Bucket-level Block Public Access | Covers buckets if the account switch changes | aws s3api get-public-access-block --bucket <bucket> |
| 20. Bucket default encryption | SSE-S3 is default since 2023; check KMS where required | aws s3api get-bucket-encryption --bucket <bucket> |
| 21. Versioning on critical buckets | Recovers from deletes and ransomware | aws s3api get-bucket-versioning --bucket <bucket> |
| 22. Buckets deny non-TLS requests | Encryption in transit is CC6.7 | aws s3api get-bucket-policy --bucket <bucket> and look for aws:SecureTransport |
| 23. EBS encryption by default | New volumes are encrypted without anyone remembering | aws ec2 get-ebs-encryption-by-default --region <region> |
| 24. No public EBS snapshots | A public snapshot is a copy of your disk for anyone | aws ec2 describe-snapshots --owner-ids self --restorable-by-user-ids all |
Databases hold the data the rest of the checklist protects. The two that matter most are public accessibility and backups, because one is how data leaves and the other is how you get it back.
| Check | Why it matters | How to verify |
|---|---|---|
| 25. RDS is not publicly accessible | Databases belong in private subnets | aws rds describe-db-instances --query 'DBInstances[].[DBInstanceIdentifier,PubliclyAccessible]' |
| 26. RDS storage is encrypted | Encryption at rest is expected by every framework | aws rds describe-db-instances --query 'DBInstances[].[DBInstanceIdentifier,StorageEncrypted]' |
| 27. RDS backups kept 7+ days | Recovery is A1.2 | aws rds describe-db-instances --query 'DBInstances[].[DBInstanceIdentifier,BackupRetentionPeriod]' |
| 28. Multi-AZ for production databases | Survives an availability zone failure | aws rds describe-db-instances --query 'DBInstances[].[DBInstanceIdentifier,MultiAZ]' |
| 29. No public RDS snapshots | Same risk as a public EBS snapshot | aws rds describe-db-snapshot-attributes --db-snapshot-identifier <snap> (no "all" in restore) |
| 30. DynamoDB point-in-time recovery | Undo a bad write or delete | aws dynamodb describe-continuous-backups --table-name <table> |
Open admin ports are the oldest cloud misconfiguration and still among the most common. Requiring IMDSv2 closes the server-side request forgery path that turns a web bug into stolen instance credentials.
| Check | Why it matters | How to verify |
|---|---|---|
| 31. No SSH open to the internet | Port 22 on 0.0.0.0/0 is scanned within minutes | aws ec2 describe-security-groups --filters Name=ip-permission.from-port,Values=22 Name=ip-permission.cidr,Values=0.0.0.0/0 --query 'SecurityGroups[].GroupId' |
| 32. No RDP open to the internet | Same for port 3389 | Same command with Values=3389 |
| 33. No database ports open to the internet | 3306, 5432, 1433, 27017, 6379 | Same command with each database port |
| 34. Default security groups allow nothing | Stops accidental use of the default group | aws ec2 describe-security-groups --filters Name=group-name,Values=default --query 'SecurityGroups[].[GroupId,IpPermissions]' |
| 35. IMDSv2 is required on EC2 | Blocks the SSRF credential theft path | aws ec2 describe-instances --query 'Reservations[].Instances[].[InstanceId,MetadataOptions.HttpTokens]' (expect required) |
| 36. Load balancers listen on HTTPS | No plain HTTP for customer traffic | aws elbv2 describe-listeners --load-balancer-arn <arn> --query 'Listeners[].[Port,Protocol]' |
Keys stored in AWS are only half the picture. The other half are the keys developers commit to code, paste into Slack or drop into notebooks, which no cloud check can see. That is what secret scanning is for, and Strac's DLP finds the same keys in Slack, Google Drive and AI chats.
| Check | Why it matters | How to verify |
|---|---|---|
| 37. KMS customer keys rotate | Limits the blast radius of a key exposure | aws kms get-key-rotation-status --key-id <key-id> |
| 38. Secrets Manager rotation is on | Static database passwords live forever otherwise | aws secretsmanager list-secrets --query 'SecretList[].[Name,RotationEnabled]' |
| 39. No secrets in Lambda environment variables | Env vars are readable by anyone with lambda:GetFunctionConfiguration | aws lambda get-function-configuration --function-name <fn> --query 'Environment.Variables' |
| 40. Security Hub CSPM is on | AWS's own checks, a useful second opinion | aws securityhub describe-hub |
Want all 40 checks run daily, with the fix on every finding?
A checklist is a snapshot of a few principles. If you understand the principles, you can judge checks that are not on any list. These are the AWS security best practices that matter most for a growing company:

AWS publishes its own longer version as the Foundational Security Best Practices standard, and the CIS AWS Foundations Benchmark covers much of the same ground. This checklist is the subset an auditor actually tests.
An AWS security audit for SOC 2 is not a one-off scan. A Type II report covers a period, usually three to twelve months, and the auditor samples whether controls held throughout. That changes how you run the checklist.

The accept step deserves attention. Some findings are intentional, like a bucket that serves public marketing images. Auditors are fine with exceptions that are documented, approved and reviewed. What they push back on is an exception nobody can explain. Strac keeps a waiver register for this, with a reason and a review date on every accepted finding, 12 months by default.
Pair the cloud checks with the rest of the evidence story: our list of SOC 2 compliance software covers the policy and access-review side, and AWS SOC 2 compliance covers what AWS's own report does and does not give you.
Teams rarely fail these checks because they disagree with them. They fail because of how AWS accounts grow. The patterns repeat:
Each of these is fixed once and then breaks again quietly, which is the strongest argument for checking daily instead of before each audit.
Most companies past their first year have several accounts: production, staging, a sandbox, maybe a data account. Run the checks against all of them, because auditors scope by system, not by the account you happen to remember. With AWS Organizations, two settings do most of the work centrally:
# delegate GuardDuty to a security account and auto-enable it for new accounts
aws guardduty enable-organization-admin-account --admin-account-id 111122223333
aws guardduty update-organization-configuration --detector-id <id> \
--auto-enable-organization-members ALL
# an organization trail logs every member account into one bucket
aws cloudtrail create-trail --name org-trail --s3-bucket-name <log-bucket> \
--is-organization-trail --is-multi-region-trailStrac connects every account at once through an AWS Organizations StackSet, so a new account is covered the day it is created rather than the day someone notices it.
These 40 checks are posture: how your cloud is configured. They sit inside a larger cloud security program alongside threat detection, vulnerability management and penetration testing. For the full picture of what a posture tool should cover, read what CSPM is, and for choosing one, our comparison of the best CSPM tools for growing teams.
Strac covers this checklist as part of one platform: 95 AWS checks plus 34 for Azure and 21 for Google Cloud, next to secret scanning, dependency scanning and an AI pen test, with every fix closing the SOC 2 control it maps to.
Your auditor wants a whole period of proof. Strac saves it daily.
At minimum: root account MFA and no root access keys, MFA for every console user, no stale access keys, CloudTrail in every region, GuardDuty, S3 Block Public Access, encryption for S3, EBS and RDS, no SSH or RDP open to the internet, IMDSv2, backups and key rotation.
Continuously. A one-time audit proves one day. SOC 2 Type II tests whether controls operated across the whole audit period, so the checks should run daily and the results should be kept as evidence.
It is a strong technical baseline and most of this checklist overlaps with it. SOC 2 also needs evidence that controls operated over time, policies, access reviews and change management, which a benchmark alone does not cover.
Yes. GuardDuty, EBS default encryption, AWS Config and security groups are regional. Attackers like the regions you never open. Loop the regional checks over every enabled region, or use a tool that does.
Yes. Strac runs 95 AWS checks every day through a read-only role, gives the console link and CLI command to fix each finding, and saves the daily results your SOC 2 controls need as evidence.
.avif)
.avif)
.avif)
.avif)
.avif)


.gif)

