Most AWS accounts at small companies were set up by one engineer, in a hurry, a few years ago. Nobody has looked at the security settings since. The CIS AWS Foundations Benchmark is the fastest way to find out what that engineer missed: a short, well-tested list of settings that every account should have, regardless of what runs in it.
This checklist turns the benchmark into 45 concrete checks you can test with read-only access. For each area we explain what to check, how to test it, and what we most often see failing when we run these checks on real accounts.
Before you start: what the benchmark is (and is not)
The CIS AWS Foundations Benchmark is written by a community of practitioners and published free by the Center for Internet Security. AWS Security Hub supports versions 5.0.0, 3.0.0, 1.4.0 and 1.2.0. Section numbers change between versions, so this checklist is grouped by area.
It covers the account itself: identity, logging, storage defaults and network guardrails. It does not tell you whether your application is secure, and it does not replace a penetration test. Think of it as the floor you build on.
Access you need: an IAM role or user with the AWS managed SecurityAudit policy. It is read-only and can list and describe resources without reading your data.
1. Identity and access management (19 checks)
This is where accounts fail first and where a breach does the most damage.
| Check | How to test it | Why it matters |
|---|---|---|
| Root user has MFA, ideally a hardware key | IAM GetAccountSummary → AccountMFAEnabled = 1; ListVirtualMFADevices to see if root uses a virtual device | Root can close the account and bypass every policy |
| Root has no access keys | AccountAccessKeysPresent = 0 | Root keys in a script are the worst possible leak |
| Root has not been used recently | Credential report: password_last_used for <root_account> | Daily work as root means no audit trail of who did what |
| Password policy: 14+ characters, reuse prevention of 24 | GetAccountPasswordPolicy | Weak console passwords are guessable |
| Every console user has MFA | Credential report: password_enabled = true and mfa_active = false | Phished passwords become account takeovers |
| Credentials unused for 45 days are disabled | Credential report: password and key last-used dates | Forgotten users are the easiest way in |
| One active access key per user, rotated within 90 days | Credential report: access_key_1/2 active and last rotated | Old keys sit in laptops, CI logs and Git history |
| Permissions only through groups or roles | ListAttachedUserPolicies and ListUserPolicies per user | Per-user grants drift and are never reviewed |
| No customer policy grants *:* on * | Default version of each customer-managed policy | One leaked credential becomes full admin |
| A support role exists, IAM Access Analyzer is on in every region, a security contact is registered, no expired certificates in IAM | ListEntitiesForPolicy (AWSSupportAccess), ListAnalyzers per region, GetAlternateContact, ListServerCertificates | Incident handling and visibility basics |
What we see most: console users without MFA, access keys that are years old and keys belonging to people who left. The credential report finds all three in one download.
2. Storage (S3, EBS and RDS, 11 checks)
| Check | How to test it |
|---|---|
| S3 Block Public Access is on for the account and every bucket | GetPublicAccessBlock (account, via S3 Control) and per bucket |
| No bucket is public through its policy or ACL | GetBucketPolicyStatus and GetBucketAcl for AllUsers / AuthenticatedUsers grants |
| Bucket policies deny requests not using TLS | A Deny statement on aws:SecureTransport = false |
| Versioning is enabled (and MFA delete for critical buckets) | GetBucketVersioning |
| EBS encryption by default is on in every region | GetEbsEncryptionByDefault per region |
| No public EBS snapshots or AMIs | DescribeSnapshots and DescribeImages with the account as owner |
| RDS: encrypted, not publicly accessible, automated backups, minor-version upgrades | DescribeDBInstances per region |
What we see most: buckets without a TLS-only policy (almost universal), versioning switched off, and one forgotten bucket that a static website made public years ago.
3. Logging (5 checks)
- A multi-region CloudTrail trail is logging, with log file validation on, encrypted with KMS and sent to CloudWatch Logs. Without it, you cannot investigate anything.
- AWS Config is recording in every region. Config is what lets you answer "what changed, and when?".
- Customer-managed KMS keys rotate. Check GetKeyRotationStatus for each symmetric customer key.
- VPC flow logs are enabled on every VPC, so network investigations have data.
4. Monitoring (CloudWatch metric filters)
The benchmark asks for metric filters and alarms on the CloudTrail log group for a set of risky events: unauthorised API calls, console logins without MFA, root use, IAM policy changes, CloudTrail and Config changes, KMS key deletion, S3 bucket policy changes, and changes to security groups, NACLs, gateways, route tables and VPCs. Check DescribeMetricFilters on the log group your trail writes to and compare the filter patterns with the list.
Many teams skip this section because a modern detection tool already alerts on these events. That is fine as long as something does; auditors will want to see where those alerts go.
5. Networking and EC2 (7 checks)
- No security group allows SSH (22) or RDP (3389) from 0.0.0.0/0 or ::/0. Use Session Manager or a VPN instead.
- No network ACL allows those ports from the internet. Default NACLs allow everything, so nearly every account fails this until custom NACLs are added.
- The default security group of every VPC restricts all traffic, so nothing lands in it by accident.
- No security group exposes database or cache ports (3306, 5432, 1433, 6379, 27017 and so on) to the internet.
- EC2 instances require IMDSv2, which blocks the classic SSRF-to-credentials attack.
6. Threat detection
CIS treats these as recommendations, AWS's Foundational Security Best Practices as required: GuardDuty and Security Hub enabled in every region you use, and ideally in every region, because attackers like to run crypto-miners where nobody is looking.
What to fix first
- Root MFA and no root keys. Ten minutes, the biggest risk reduction available.
- MFA on every console user, and delete keys nobody uses.
- Close SSH and RDP to the internet, and any public database port.
- Turn on Block Public Access at the account level (after checking nothing legitimately needs to be public).
- Make sure CloudTrail is multi-region, then turn on GuardDuty everywhere.
- Work through encryption defaults, versioning, flow logs and Config.
Running the checks continuously
A one-off spreadsheet goes stale the next time someone opens a port. Argyx runs these 45 checks across every enabled region with a read-only SecurityAudit role, on a schedule, without needing Security Hub. Each check shows as pass or fail, failures list every affected resource and region with the fix, and results count as evidence for SOC 2, ISO 27001 and the other frameworks you track. See cloud security posture for how it works, and the matching checklists for Azure and Google Cloud.