Network misconfigurations

Security group allows egress predefined blocked ports

Description

An AWS Security Group acts as a virtual firewall for your instances to control inbound and outbound traffic. We identified the security group ""{AwsEc2SecurityGroup}"" ({AwsEc2SecurityGroup.GroupId}) is configured to allow outbound traffic to predefined blocked ports (21,22,135,137-139,445,69).
  • Recommended Mitigation

    Ensure security groups in your account are not configured to allow outbound traffic to predefined blocked ports (21,22,135,137-139,445,69). More details can be found in <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html" target="_blank" rel="noopener noreferrer">https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html</a>