<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Network-Acl — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/network-acl/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata — refreshed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 03 Jan 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/network-acl/feed.xml" rel="self" type="application/rss+xml"/><item><title>AWS Network ACL Deletion Detected</title><link>https://feed.craftedsignal.io/briefs/2024-01-aws-acl-delete/</link><pubDate>Wed, 03 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-aws-acl-delete/</guid><description>Detection of AWS Network Access Control List (ACL) deletion via CloudTrail logs indicating potential unauthorized access or data exfiltration.</description><content:encoded><![CDATA[<p>This analytic identifies the deletion of AWS Network Access Control Lists (ACLs), a critical security control, using AWS CloudTrail logs. The detection focuses on <code>DeleteNetworkAclEntry</code> events, triggered when a user removes a network ACL entry. This is significant because deleting a network ACL can inadvertently or maliciously remove critical access restrictions, potentially opening cloud instances to unauthorized access. The targeted action allows attackers to bypass network security controls, potentially leading to data exfiltration or further compromise of the cloud environment. The detection leverages logs from AWS CloudTrail and requires the AWS App for Splunk (version 5.1.0 or later) and Splunk Add-on for AWS (version 4.4.0 or later).</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to an AWS account, possibly through compromised credentials or exploiting a vulnerability in an application running on EC2.</li>
<li>The attacker enumerates existing Network ACLs to identify potential targets for modification or deletion.</li>
<li>The attacker identifies a Network ACL that, when removed or modified, would grant them broader access to resources within the VPC.</li>
<li>The attacker uses AWS CLI or AWS Management Console to issue a <code>DeleteNetworkAclEntry</code> command, targeting the chosen ACL.</li>
<li>AWS CloudTrail logs the <code>DeleteNetworkAclEntry</code> event, capturing details such as the user identity, timestamp, and affected ACL.</li>
<li>The targeted Network ACL entry is removed, altering the network access rules for the associated subnets.</li>
<li>The attacker leverages the new network access to connect to previously restricted resources, such as databases or internal applications.</li>
<li>The attacker exfiltrates sensitive data or performs other malicious activities, bypassing network-level security controls.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful deletion of a network ACL entry can lead to unauthorized access to critical AWS resources, potentially affecting all instances within the affected subnets. The impact can range from data breaches and service disruption to full compromise of the cloud environment, and depends on the scope and importance of the now-exposed resources. This poses a significant threat to organizations utilizing AWS, potentially impacting confidentiality, integrity, and availability.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>AWS Network ACL Entry Deletion</code> to detect instances of ACL entry deletion based on <code>DeleteNetworkAclEntry</code> events in AWS CloudTrail.</li>
<li>Investigate any detected instances of <code>DeleteNetworkAclEntry</code> events, paying close attention to the user identity (<code>user</code>), source IP (<code>src</code>), and the specific ACL being modified.</li>
<li>Enable and review CloudTrail logs regularly to ensure proper coverage of AWS API activity, as indicated in the <code>data_source</code> section.</li>
<li>Implement multi-factor authentication (MFA) for all AWS accounts to mitigate the risk of compromised credentials leading to unauthorized ACL modifications.</li>
<li>Implement the <code>aws_network_access_control_list_deleted_filter</code> macro to reduce false positives.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cloud</category><category>aws</category><category>network-acl</category><category>privilege-escalation</category></item><item><title>AWS Network ACL Created with All Ports Open</title><link>https://feed.craftedsignal.io/briefs/2024-01-aws-nacls-all-open/</link><pubDate>Wed, 03 Jan 2024 10:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-aws-nacls-all-open/</guid><description>The analytic detects the creation or replacement of AWS Network Access Control Lists (ACLs) with rules that allow all traffic from a specified CIDR block, potentially exposing the network to unauthorized access and increasing the risk of data breaches.</description><content:encoded><![CDATA[<p>This detection focuses on identifying misconfigured AWS Network ACLs (NACLs) that permit unrestricted traffic. AWS NACLs act as a firewall for controlling traffic in and out of subnets within a Virtual Private Cloud (VPC). When an NACL is configured to allow all ports and protocols from any IP address (0.0.0.0/0), it effectively bypasses security controls and exposes resources to potential threats. The activity is detected by monitoring AWS CloudTrail events for <code>CreateNetworkAclEntry</code> or <code>ReplaceNetworkAclEntry</code> API calls. This configuration error can be introduced by administrators during initial setup or through misconfiguration during updates. Defenders should ensure that NACLs follow the principle of least privilege to limit the attack surface.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker identifies a target AWS environment.</li>
<li>The attacker scans for publicly accessible services or resources.</li>
<li>An administrator, either maliciously or accidentally, creates or modifies a Network ACL using the AWS Management Console, CLI, or API with overly permissive rules (allowing all traffic: <code>ruleAction=allow AND egress=false AND aclProtocol=-1 AND cidrBlock=0.0.0.0/0</code>).</li>
<li>The misconfigured NACL is applied to one or more subnets within the VPC.</li>
<li>The attacker exploits the open ports and protocols to gain unauthorized access.</li>
<li>The attacker attempts to move laterally within the AWS environment.</li>
<li>The attacker exfiltrates sensitive data or disrupts services.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A misconfigured Network ACL that allows all traffic can have severe consequences. It can lead to unauthorized access to sensitive data, potential data breaches, service disruption, and further compromise of the AWS environment. The impact is particularly high if critical resources are located within the affected subnets. This type of misconfiguration violates security best practices and compliance requirements.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>AWS Network ACL Created with All Ports Open</code> to your SIEM to detect this specific misconfiguration (logsource: <code>ASL AWS CloudTrail</code>, category: <code>network_connection</code>).</li>
<li>Review existing Network ACL configurations to identify and remediate any overly permissive rules (check AWS console or use AWS CLI/API).</li>
<li>Implement automated checks to validate Network ACL configurations against security best practices.</li>
<li>Ensure that NACLs follow the principle of least privilege by only allowing necessary traffic (review NACL <code>ruleAction</code>, <code>egress</code>, <code>aclProtocol</code>, and <code>cidrBlock</code> settings in CloudTrail logs).</li>
<li>Investigate any identified instances of overly permissive NACL configurations to determine the root cause and potential impact (analyze CloudTrail logs for <code>CreateNetworkAclEntry</code> or <code>ReplaceNetworkAclEntry</code> events).</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>aws</category><category>network-acl</category><category>misconfiguration</category><category>cloud</category><category>security-group</category></item><item><title>AWS Network Access Control List Created with All Open Ports</title><link>https://feed.craftedsignal.io/briefs/2024-01-aws-open-acl/</link><pubDate>Tue, 02 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-aws-open-acl/</guid><description>The analytic detects the creation of AWS Network Access Control Lists (ACLs) with all ports open to a specified CIDR by monitoring `CreateNetworkAclEntry` or `ReplaceNetworkAclEntry` actions with rules allowing all traffic, potentially leading to unauthorized network access.</description><content:encoded><![CDATA[<p>This detection identifies the creation of overly permissive Network Access Control Lists (ACLs) within Amazon Web Services (AWS). Specifically, it focuses on <code>CreateNetworkAclEntry</code> or <code>ReplaceNetworkAclEntry</code> CloudTrail events where rules are configured to allow all traffic (all ports open) to a defined CIDR block. Such configurations drastically reduce network security posture by potentially exposing critical services and data to unauthorized access. The timeframe of concern is ongoing as long as such misconfigurations exist. This matters to defenders because an attacker could leverage such an opening to pivot deeper into the AWS environment, leading to data exfiltration or service disruption.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to an AWS account through compromised credentials or other means (e.g., exposed API keys).</li>
<li>The attacker uses the AWS CLI or Management Console to create a new Network ACL or modify an existing one.</li>
<li>The attacker configures the ACL rule to allow all inbound traffic (0.0.0.0/0 for all IPv4 addresses) on all ports by setting <code>requestParameters.ruleAction</code> to &ldquo;allow&rdquo; and <code>requestParameters.aclProtocol</code> to &ldquo;-1&rdquo;.</li>
<li>If not opening all ports the attacker creates ACL rule to allow all inbound traffic on ports with range larger than 1024 setting the <code>requestParameters.ruleAction</code> to &ldquo;allow&rdquo;, and <code>requestParameters.portRange.to</code> - <code>requestParameters.portRange.from</code> &gt; 1024.</li>
<li>The attacker associates the modified or newly created ACL with one or more subnets within the VPC.</li>
<li>The attacker attempts to connect to resources within the protected subnets using various protocols and ports to validate access.</li>
<li>Upon successful connection, the attacker can access and exfiltrate data, deploy malicious code, or disrupt services within the targeted subnets.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack exploiting an overly permissive Network ACL can lead to unrestricted access to systems and data within the affected AWS subnets. This could result in data breaches, service disruption, or the deployment of ransomware. The number of affected resources depends on the scope of the ACL and the number of subnets it protects. The impact can range from a single compromised EC2 instance to a complete compromise of the AWS environment.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>AWS Network ACL Created with All Open Ports</code> to your SIEM and tune for your environment to detect the creation of overly permissive ACLs.</li>
<li>Enable AWS CloudTrail logging for all regions in your AWS account to ensure complete visibility into API activity (AWS CloudTrail CreateNetworkAclEntry, AWS CloudTrail ReplaceNetworkAclEntry).</li>
<li>Implement infrastructure-as-code (IaC) practices and automated validation to prevent the creation of overly permissive ACLs.</li>
<li>Regularly review existing Network ACLs to identify and remediate any overly permissive rules.</li>
<li>Enforce the principle of least privilege when configuring Network ACLs, granting access only to the required ports and protocols.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cloud</category><category>aws</category><category>network-acl</category><category>misconfiguration</category></item></channel></rss>