Check ID:
Provider: AWS
Service:
Severity: HIGH
Categories:
Resource type:
ec2_securitygroup_default_restrict_trafficProvider: AWS
Service:
ec2Severity: HIGH
Categories:
trust-boundaries, internet-exposedResource type:
AwsEc2SecurityGroupWhat this check verifies
Default VPC security group should have no inbound or outbound rules. This evaluates whether the group allows any traffic-ingress, egress, or self-referencing-instead of remaining empty.Risk
Permissive rules in the default security group mean instances that inherit it can communicate widely. This enables lateral movement, port scanning, and data exfiltration; unrestricted egress aids C2. Confidentiality and integrity are reduced, and the blast radius of a compromise grows.Recommendation
Enforce least privilege: keep the default group empty by removing all ingress and egress rules. Use dedicated security groups per workload with explicit sources, destinations, and ports. Regularly review for broad CIDRs like0.0.0.0/0 and apply defense in depth via automation and policy guardrails.
Remediation
- Terraform
- Dashboard steps
References
- https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
- https://docs.aws.amazon.com/config/latest/developerguide/vpc-default-security-group-closed.html
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = ec2_securitygroup_default_restrict_traffic. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks