
Executive Summary
The AWS Network Firewall has introduced a significant enhancement with its rule hit count capability, designed to provide security teams with improved visibility into the effectiveness of their firewall rules. This feature allows organizations to identify which stateful firewall rules are actively matching traffic, thereby facilitating the detection of unused or redundant rules. Furthermore, it aids in validating the functionality of security controls, which is crucial for compliance with various regulatory frameworks.
Operational Security Context
In the current landscape of cybersecurity, organizations face increasing pressure to maintain robust security postures while complying with various regulations. The AWS Network Firewall serves as a critical component in protecting Amazon Virtual Private Clouds (VPCs) by offering automated, intelligence-driven network security. With the introduction of the rule hit count capability, AWS aims to address a common challenge faced by security teams: identifying dormant or ineffective firewall rules.
Organizations often struggle to provide evidence that their security controls are functioning as intended, particularly in light of governance policies that mandate the removal of inactive rules after a specified period. The rule hit count feature is particularly beneficial for teams managing compliance frameworks such as PCI DSS 4.0 and the Digital Operational Resilience Act (DORA).
SOC Detection and Triage Workflow
The rule hit count capability operates by tracking how often stateful firewall rules match network traffic. Each time a rule match generates an alert log, the corresponding counter increments. This functionality is crucial for security operations centers (SOCs) as it streamlines the detection and triage workflow:
- Rule Monitoring: Security teams can monitor the activity of their firewall rules through the AWS Network Firewall dashboard, which provides a Top Rule Hits view. This feature displays the most frequently triggered stateful rules over a selected period, including hit counts and rule details.
- Incident Response: During incident response, the ability to filter metrics based on specific timeframes can significantly enhance the investigation process. For instance, if a rule is designed to detect traffic to a potentially malicious domain, analysts can quickly identify relevant activity without sifting through extensive log entries.
- Alert Generation: Rules configured with alert, drop, or reject actions automatically generate logs, while those set to pass must include the alert keyword to be counted. This differentiation allows teams to focus on actionable insights.
Engineering Remediation Checklist
To effectively leverage the rule hit count capability, security teams should consider the following engineering remediation steps:
- Enable Rule Hit Count: Ensure that the rule hit count feature is enabled, as it is by default, to start tracking rule activity.
- Regularly Review Rule Activity: Conduct periodic reviews of the Top Rule Hits view to identify rules that have not matched traffic during the selected timeframe. This can indicate potential stale rules that may need to be removed or reordered.
- Integrate with Compliance Frameworks: Utilize the data generated by the rule hit counts to provide evidence of active security controls for compliance audits.
- Analyze Logs: Use CloudWatch Logs Insights or Amazon Athena to query logs directly for deeper analysis of rule performance and traffic patterns.
Validation and Follow-through
Validation of security controls is essential for maintaining compliance and ensuring that security measures are effective. The AWS Network Firewall's rule hit count capability allows organizations to:
- Validate New Controls: After introducing new rules, teams can monitor hit counts to confirm that these controls are functioning as intended. For example, rules designed for AI and machine learning domains can be validated through recorded hits.
- Optimize Rule Sets: By identifying unused or redundant rules, organizations can streamline their firewall configurations, reducing complexity and potential attack surfaces.
- Enhance Incident Response: The ability to quickly access rule activity data can significantly improve incident response times, allowing teams to focus on relevant alerts during security events.
“With this data, you can identify and remove unused rules, accelerate incident response, and validate security control effectiveness for compliance.”
Sources
For further details, refer to the following sources:
What Happened
AWS Network Firewall introduces a rule hit count feature, enabling security teams to identify unused rules and validate security controls effectively.
security postures while complying with various regulations. The AWS Network Firewall serves as a critical component in protecting Amazon Virtual Private Clouds (VPCs) by offering automated, intelligence-driven network security. With the introduction of the rule hit count capability, AWS aims to address a common challenge faced by security teams: identifying dormant or ineffective firewall rules. Organizations often struggle to provide evidence that their security controls are functioning as intended, particularly in light of governance policies that mandate the removal of inactive rules after a specified period. The rule hit count
This report consolidates available public details and highlights where evidence is still limited, helping teams prioritize immediate defensive action while additional technical indicators are collected.
Technical Root Cause
feature is particularly beneficial for teams managing compliance frameworks such as PCI DSS 4.0 and the Digital Operational Resilience Act (DORA). SOC Detection and Triage Workflow The rule hit count capability operates by tracking how often stateful firewall rules match network traffic. Each time a rule match generates an alert log, the corresponding counter increments. This functionality is crucial for security operations centers (SOCs) as it streamlines the detection and triage workflow: Rule Monitoring: Security teams can monitor the activity of their firewall rules through the AWS Network Firewall dashboard,
Based on observed patterns in recent campaigns, the likely attacker objective is to establish durable access, exploit trust relationships, and later pivot toward higher-value systems. Where specific attribution or tooling data is absent, these details are not publicly disclosed and should be treated as unknown.
Exposure and Affected Environments
pass must include the alert keyword to be counted. This differentiation allows teams to focus on actionable insights. Engineering Remediation Checklist To effectively leverage the rule hit count capability, security teams should consider the following engineering remediation steps: Enable Rule Hit Count: Ensure that the rule hit count feature is enabled, as it is by default, to start tracking rule activity. Regularly Review Rule Activity: Conduct periodic reviews of the Top Rule Hits view to identify rules that have not matched traffic during the selected timeframe. This can indicate potential
stale rules that may need to be removed or reordered. Integrate with Compliance Frameworks: Utilize the data generated by the rule hit counts to provide evidence of active security controls for compliance audits. Analyze Logs: Use CloudWatch Logs Insights or Amazon Athena to query logs directly for deeper analysis of rule performance and traffic patterns. Validation and Follow-through Validation of security controls is essential for maintaining compliance and ensuring that security measures are effective. The AWS Network Firewall's rule hit count capability allows organizations to: Validate New Controls: After introducing
Security engineering teams should validate exploitability across environments, map exposure by asset criticality, and confirm whether available telemetry can detect pre-compromise reconnaissance, exploitation attempts, and post-exploitation behavior.
Patch and Mitigation Playbook
accelerate incident response, and validate security control effectiveness for compliance.” Sources For further details, refer to the following sources: Help Net Security: AWS makes it easier to spot firewall rules that have gone quiet AWS Network Firewall’s rule hit count capability gives security teams visibility into which stateful firewall rules are matching traffic, helping them identify unused or redundant rules and validate whether security controls are working as intended. The capability covers stateful rules in both custom and managed rule groups, while stateless rules are not supported. The feature is
Organizations with internet-facing systems, third-party integrations, or delayed patch cycles generally carry elevated risk. Internal segmentation gaps can increase blast radius if an attacker obtains initial foothold credentials.
Detection and Monitoring Priorities
- Correlate authentication anomalies with unusual process execution and outbound traffic spikes.
- Alert on privilege escalation events, lateral movement indicators, and unauthorized persistence changes.
- Prioritize monitoring of externally exposed services and high-value identity providers.
- Track integrity changes in scripts, scheduled tasks, startup items, and critical configuration files.
- Hunt for command-and-control beaconing patterns and suspicious use of remote administration tools.
Detection coverage should be validated through tabletop simulation or controlled testing to ensure response teams receive actionable, high-confidence alerts quickly.
Mitigation Checklist
- Patch affected services and validate version levels across all environments.
- Restrict exposed management and service ports to trusted networks only.
- Enable detailed logging and alerting for suspicious process or network activity.
- Harden endpoint controls and isolate high-risk systems until remediation completes.
- Conduct post-remediation validation and document residual risk.
Mitigations should be sequenced by risk: immediately reduce exposed attack surface, then remove persistence opportunities, and finally harden architecture to prevent recurrence.
Incident Response and Recovery Planning
- Establish a clear incident commander and communication cadence across security, IT, and leadership.
- Capture and preserve relevant logs and forensic artifacts before major containment changes.
- Contain compromised accounts and hosts, then execute structured eradication with validation checkpoints.
- Document lessons learned and implement control improvements with owner accountability and timelines.
Recovery should include business continuity planning, legal or regulatory assessment where required, and transparent stakeholder updates based on verified facts.
Security Program Lessons Learned
enabled by default and comes at no additional Network Firewall cost, although standard charges still apply for storing and … More → The post AWS makes it easier to spot firewall rules that have gone quiet appeared first on Help Net Security . Firewall is supported, except Middle East (UAE and Bahrain). “With this data, you can identify and remove unused rules, accelerate incident response, and validate security control effectiveness for compliance,” the authors said . AWS Network Firewall protects Amazon Virtual Private Clouds (VPCs) with automated, intelligence-driven network security.
Customers can create granular rules to control traffic and use AWS-managed rules powered by Amazon threat intelligence to block active threats , with capabilities including geographic IP filtering, deep packet inspection, intrusion prevention, and proxy functionality. AWS said organizations with governance policies requiring This report consolidates available public details and highlights where evidence is still limited, helping teams prioritize immediate defensive action while additional technical indicators are collected. dormant rules to be removed after a defined period have lacked a mechanism to identify them. Teams responsible for compliance frameworks such
Security leaders should align technical remediation with stakeholder communication, incident readiness, and continuous monitoring to reduce repeat exposure.