QuestionQ68

VerifiedInfrastructure Security

A company uses AWS Organizations with all features turned on. The company has enabled AWS Security Hub in every member account and across all AWS Regions. The company has created a VPC in the eu-central-1 Region in a member AWS account.

A security engineer has confirmed that no security group rules in the VPC permit inbound traffic from all IP addresses on TCP port 22. The security engineer requires an automated system that prevents the creation of security group rules in the VPC that permit traffic from all IP addresses on TCP port 22.

Which solution meets these requirements?

Explanation

A service control policy (SCP) attached to the member account or its organizational unit can explicitly deny the EC2 permissions that create or modify an ingress rule when the request specifies an all-address CIDR and TCP port 22. SCPs are available with all AWS Organizations features enabled and set maximum permissions for principals in member accounts; an applicable explicit deny prevents the request even when an IAM policy otherwise allows it. CloudTrail notifications and Security Hub-triggered remediation operate after a rule is created, while AWS Network Firewall does not prevent security group configuration changes.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!