More Info:

Ensure network firewall logging is enabled

Risk Level

Medium

Address

Operational Maturity, Reliability, Security

Compliance Standards

CBP,GDPR,HIPAA,ISO27001,SEBI

Triage and Remediation

Remediation

To remediate the issue of Network Firewall Logging not being enabled for AWS EC2 instances, you can follow these steps using the AWS Management Console:

  1. Sign in to the AWS Management Console: Go to the AWS Management Console (https://aws.amazon.com/console/) and sign in using your credentials.

  2. Navigate to the VPC Dashboard: Click on the “Services” dropdown in the top left corner of the console and select “VPC” under the Networking & Content Delivery section.

  3. Select the VPC: In the VPC Dashboard, select the Virtual Private Cloud (VPC) where your EC2 instances are located.

  4. Select the Network ACLs: In the VPC Dashboard, locate the “Network ACLs” option in the left-hand menu and click on it.

  5. Identify the Network ACL: Identify the Network Access Control List (NACL) associated with the subnet where your EC2 instances are located. Note down the NACL ID for future reference.

  6. Edit the Network ACL: Click on the NACL ID to open the details of the Network ACL.

  7. Add a Logging Configuration: In the Network ACL details, locate the “Network ACL entries” section and click on the “Edit” button.

  8. Enable Logging: In the Network ACL entries configuration, find the outbound and inbound rules that you want to enable logging for. Click on each rule and check the box for “Log” to enable logging for that rule.

  9. Save the Changes: After enabling logging for the necessary rules, click on the “Save” button to apply the changes to the Network ACL.

  10. Verify the Configuration: Once the changes are saved, verify that the Network Firewall Logging is enabled for the selected rules by checking the “Log” column in the Network ACL entries.

By following these steps, you can successfully enable Network Firewall Logging for the Network ACL associated with your AWS EC2 instances, helping you monitor and analyze the network traffic effectively.