CJCCIE Journals
Home › AWS

Clearing AWS CIS Findings Fast: Default Security Groups and S3 Block Public Access

AWSNetwork securityTroubleshooting CCIE journals · November 25, 2026

Two of the most common CIS benchmark failures can usually be fixed in minutes, but only after you prove nothing depends on them.

Security Hub flagged a lab account with several CIS AWS Foundations failures, all past due. Two controls made up most of the list, and they show up in almost every account I've seen:

  • EC2.2: the VPC default security group should not allow inbound or outbound traffic.
  • S3.1: S3 Block Public Access should be enabled at the account level.
Clearing AWS CIS Findings Fast: Default Security Groups and S3 Block Public Access

Step 1: Check before you strip

Removing rules from a default security group breaks anything that uses it. So first, find every ENI attached to it, in every region that's flagged.

aws-cli — lab-account output (lab recreation)

In this case the account was essentially dormant: no network interfaces using the default groups and no S3 buckets at all. That made it a safe, quick fix.

Step 2: Remediate EC2.2

  1. Remove all inbound rules from each default SG.
  2. Remove all outbound rules (the default allow-all egress counts as a failure).
  3. Don't delete the default SG. You can't, and you don't need to.
  4. Repeat in every flagged region (the findings are per region).

Step 3: Remediate S3.1

Turn on all four Block Public Access settings at the account level. If a real workload needs a public bucket, handle it as a documented exception, usually behind CloudFront instead.

Step 4: Prevent it from coming back

  • Use an SCP or AWS Config rule to enforce account-level S3 BPA.
  • Build new VPCs from templates that empty the default SG on creation.
  • Give every workload its own named security group, and never use "default".

Takeaway

Compliance findings look scary in a dashboard, but many are 15-minute fixes. The real work is the dependency check before you click.

Note: device names, IP addresses, AS numbers and user names in this post are pseudonyms or lab values. The problem and the fix are real.

CJ

Written by CCIE journals

Network security engineer sharing hands-on notes from the journey to CCIE.

0 Comments

Post a Comment

Ready to level up your networking career?

Meet the Author →

Welcome to my blog, dedicated to network and security engineering enthusiasts. Here, you can learn about various vendors and gain valuable insights and resources to excel in the field of network engineering!