This rule ensures VPC security groups restrict ingress SSH access from 0.0.0.0/0 to enhance security.
Rule | VPC security groups should restrict ingress SSH access from 0.0.0.0/0 |
Framework | Federal Financial Institutions Examination Council (FFIEC) |
Severity | ✔ High |
Rule Description:
VPC security groups should restrict ingress SSH access from 0.0.0.0/0 for Federal Financial Institutions Examination Council (FFIEC). This policy ensures that only authorized entities within the FFIEC can establish SSH connections to instances within the VPC security group while preventing any unauthorized access.
Troubleshooting Steps:
Verify Security Group Configuration:
Check FFIEC Access:
Review Security Group Placement:
Necessary Code:
Step-by-Step Guide for Remediation:
Log in to the AWS Management Console.
Navigate to the EC2 Dashboard.
Click on the "Security Groups" option in the left-hand menu.
Select the appropriate VPC security group that needs to be modified.
Click on the "Inbound Rules" tab.
Locate the SSH rule (port 22) and verify the source IP address is set to 0.0.0.0/0.
If the source IP address for SSH access is not set to 0.0.0.0/0, modify the rule by clicking on "Edit" or "Add Rule" button.
Update the source IP address to the provided IP range by the FFIEC.
Save the changes.
Validate that the instances associated with the security group now restrict SSH access only from the FFIEC provided IP range.
Perform thorough testing by attempting to establish SSH connections from IPs outside the FFIEC range to ensure the access is properly restricted.
Monitor security group settings periodically to ensure ongoing compliance with the established rule.
Conclusion:
By implementing the VPC security group rule to restrict SSH access from 0.0.0.0/0 only for the Federal Financial Institutions Examination Council (FFIEC) IP range, the organization ensures that unauthorized SSH access attempts are prevented, enhancing security and compliance.