AWS-EC2-Default-Security-Group
Severity : Critical
Description: This control ensures that default security group for the VPC have block all traffic rules configured. The default security group is automatically used for resources launched without custom/defined security group. The default security group has default rules to allow inbound traffic from network interfaces and instances with the same security group. Also it has outbound default rules to allow all IPv4 and IPv6 traffic. For this reason, the default rules should be to block all traffic to prevent an accidental exposure.
Remediation Steps:
Perform following to update rules of the default security group :
Login to the AWS Management Console at https://console.aws.amazon.com.
Navigate to EC2Â console.
In the navigation pane, choose Security Groups.
Select the default security group for the VPC reported.
Choose Actions, Edit inbound rules to update a rule for inbound traffic.
Update the default rule from Allow to Deny.
Choose Actions, Edit outbound rules to update a rule for outbound traffic.
Update the default rule from Allow to Deny.
Choose Preview changes, Confirm
Important:
Instances using the Default Security group may stop working when rules are updated for default security group. So it's recommended to attach proper security group to those instances.
Reference :
Â
Blue Hexagon Proprietary