More Info:

AWS Network ACLs configuration changes should be monitored using CloudWatch alarms.

Risk Level

Medium

Address

Security

Compliance Standards

SOC2, AWSWAF, HITRUST, CISAWS, CBP, NISTCSF, CISAWSF, PCI, APRA, MAS, NIST4

Triage and Remediation

Remediation

The “Network ACL Changes Alarm” indicates that changes have been made to the Network Access Control List (NACL) in your AWS account. To set up this alarm and monitor NACL changes, follow these steps:

  1. Open the AWS Management Console and navigate to CloudWatch.

  2. In the left navigation panel, select Logs.

  3. Select the log group created for your CloudTrail trail event logs, and click Create Metric Filter.

  4. On the Define Logs Metric Filter page, enter the following pattern in the Filter Pattern box:

{
    ($.eventName = CreateNetworkAcl) || ($.eventName = CreateNetworkAclEntry) || ($.eventName = DeleteNetworkAcl) ||
    ($.eventName = DeleteNetworkAclEntry) || ($.eventName = ReplaceNetworkAclEntry) || ($.eventName = ReplaceNetworkAclAssociation)
}

This filter will capture relevant NACL creation, update, and deletion events.

  1. Review the metric filter details and click Assign Metric.

  2. On the Create Metric Filter and Assign a Metric page:

    • In the Filter Name box, enter NetworkACLConfigChanges.
    • In the Metric Namespace box, enter CloudTrailMetrics.
    • In the Metric Name box, enter NetworkAclEventCount.
    • Click Show advanced metric settings to expand the settings, and in the Metric Value box, enter 1.
  3. Review the details and click Create Filter to finalize the metric filter.

  4. After creating the filter, click Create Alarm.

  5. In the Create Alarm dialog box:

    • In the Name field, enter a unique name, such as NetworkACLConfigChangesAlarm.
    • Set the alarm to trigger when the metric value is >= 1.
    • Under Actions, click + Notification, and choose State is ALARM. Select the SNS topic to notify when the alarm triggers.
  6. In the Alarm Preview section, set the evaluation period to 5 Minutes, and the statistic type to Sum.

  7. Review the alarm configuration and click Create Alarm.

Following these steps will ensure that you are alerted whenever a change is made to a Network ACL in your AWS account.

Additional Reading: