<?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>Splunk Add-on for Amazon Web Services — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/splunk-add-on-for-amazon-web-services/</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/products/splunk-add-on-for-amazon-web-services/feed.xml" rel="self" type="application/rss+xml"/><item><title>AWS CloudTrail Update for Defense Evasion</title><link>https://feed.craftedsignal.io/briefs/2024-01-aws-cloudtrail-update/</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-cloudtrail-update/</guid><description>Attackers may attempt to evade detection by altering CloudTrail logging configurations, such as changing multi-regional logging to a single region, which impairs the logging of their activities and hinders incident response.</description><content:encoded><![CDATA[<p>This detection focuses on identifying attempts to evade detection within AWS environments by monitoring <code>UpdateTrail</code> events in AWS CloudTrail logs. Attackers may modify CloudTrail settings with incorrect parameters, such as switching from multi-regional logging to single-region logging, to reduce the scope of logged activities. This tactic allows adversaries to operate undetected in compromised AWS environments, as their actions in other regions are not properly recorded. Detecting these configuration changes is critical for Security Operations Centers (SOCs) to maintain visibility and respond effectively to threats. The lack of comprehensive logging can significantly impede incident response and forensic investigations, allowing malicious activities to persist unnoticed.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to an AWS account, potentially through compromised credentials or an exposed API key (T1078).</li>
<li>The attacker authenticates to the AWS Management Console or uses the AWS CLI with the compromised credentials.</li>
<li>The attacker issues an <code>UpdateTrail</code> API call to modify the CloudTrail configuration (T1562.008).</li>
<li>The attacker disables multi-region logging, restricting log collection to a single AWS region.</li>
<li>Alternatively, the attacker modifies the S3 bucket used for log storage, potentially directing logs to an attacker-controlled location.</li>
<li>The attacker performs malicious activities within the AWS environment, knowing that these actions will not be comprehensively logged across all regions.</li>
<li>These malicious activities could include lateral movement, data exfiltration, or resource compromise.</li>
<li>The reduced logging scope hinders detection and response efforts, allowing the attacker to maintain persistence and achieve their objectives.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful evasion of CloudTrail logging can lead to significant blind spots in security monitoring.  If an attacker successfully modifies CloudTrail settings, their subsequent actions within the AWS environment are less likely to be detected.  This can lead to prolonged dwell time, increased data exfiltration, and greater overall damage. Organizations relying on CloudTrail for compliance and security auditing may also face regulatory repercussions due to incomplete logging. The blast radius of a successful attack expands significantly when logging is impaired, affecting potentially all resources within the AWS environment.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM and tune it for your specific AWS environment to detect unauthorized CloudTrail modifications.</li>
<li>Investigate any <code>UpdateTrail</code> events where the <code>actor.user.uid</code> is not a known administrator account (see Sigma rule below).</li>
<li>Monitor CloudTrail logs for changes to multi-region logging settings and S3 bucket destinations (see references to <code>api.operation=UpdateTrail</code> in the <code>search</code> field).</li>
<li>Implement multi-factor authentication (MFA) for all AWS accounts, especially those with administrative privileges to mitigate credential compromise (T1110).</li>
<li>Regularly review and audit CloudTrail configurations to ensure they align with security best practices and organizational policies.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>aws</category><category>cloudtrail</category><category>defense-evasion</category><category>cloud</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></channel></rss>