More Info:

No security group should allow unrestricted inbound access using Internet Control Message Protocol (ICMP).

Risk Level

Medium

Address

Security

Compliance Standards

HITRUST, AWSWAF, GDPR, SOC2, NISTCSF, PCIDSS, FedRAMP

Triage and Remediation

Remediation

To remediate the “Unrestricted ICMP Access Should Not Be Allowed” misconfiguration in AWS using the AWS console, you can follow the below steps:

  1. Log in to the AWS Management Console and navigate to the EC2 Dashboard.
  2. Click on the “Security Groups” option from the left-hand menu.
  3. Select the security group that has unrestricted ICMP access.
  4. Click on the “Inbound Rules” tab.
  5. Locate the rule that allows all ICMP traffic (Protocol: ICMP, Port Range: All).
  6. Click on the “Edit” button for that rule.
  7. Change the “Source” field to a specific IP range or security group that requires access to ICMP traffic. If you want to allow ICMP traffic from any IP address, you can select “My IP” option.
  8. Click on the “Save” button to apply the changes.

Once the above steps are completed, the ICMP traffic will be restricted to the specified IP range or security group.

Additional Reading: