<?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>Amazon Security Lake — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/amazon-security-lake/</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/amazon-security-lake/feed.xml" rel="self" type="application/rss+xml"/><item><title>AWS CloudTrail Logging Stopped for Defense Evasion</title><link>https://feed.craftedsignal.io/briefs/2024-01-aws-cloudtrail-logging-stopped/</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-logging-stopped/</guid><description>Detection of AWS CloudTrail `StopLogging` events indicating potential defense evasion by adversaries attempting to operate undetected within a compromised AWS environment by halting the logging of their malicious activities.</description><content:encoded><![CDATA[<p>This analytic detects <code>StopLogging</code> events within AWS CloudTrail logs, which is a critical action that adversaries may use to evade detection. By halting the logging of their malicious activities, attackers aim to operate undetected within a compromised AWS environment. This detection is achieved by monitoring for specific CloudTrail log entries that indicate the cessation of logging activities. Identifying such behavior is crucial for a Security Operations Center (SOC), as it signals an attempt to undermine the integrity of logging mechanisms, potentially allowing malicious activities to proceed without observation. The impact of this evasion tactic is significant, as it can severely hamper incident response and forensic investigations by obscuring the attacker&rsquo;s actions. The detection is based on Amazon Security Lake events.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to an AWS account, potentially through compromised credentials or exploiting a vulnerability.</li>
<li>The attacker enumerates existing CloudTrail configurations to identify the target log trails.</li>
<li>The attacker attempts to disable logging by invoking the <code>StopLogging</code> API call on the CloudTrail service.</li>
<li>The AWS CloudTrail service receives the <code>StopLogging</code> API request.</li>
<li>If the attacker has sufficient privileges, the CloudTrail service processes the request, and logging is stopped for the specified trail.</li>
<li>The attacker performs malicious activities within the AWS environment without those actions being logged by CloudTrail.</li>
<li>The attacker attempts to delete or modify existing CloudTrail log files to further cover their tracks (not directly detected by this analytic, but a likely follow-on action).</li>
<li>The attacker achieves their objective, such as data exfiltration or resource compromise, without immediate detection due to the disabled logging.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful evasion of CloudTrail logging can severely impair incident response and forensic investigations. Without logs, identifying the scope and nature of the attack becomes significantly more challenging. Organizations may experience delayed breach detection, increased dwell time for attackers, and difficulty in recovering compromised resources. The impact can extend to compliance violations, as many regulatory frameworks require comprehensive audit logging. This is a high severity incident because it prevents security teams from understanding what an attacker did in the environment.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Detect AWS CloudTrail StopLogging Event</code> to your SIEM and tune for your environment to detect instances where CloudTrail logging is stopped.</li>
<li>Investigate any detected <code>StopLogging</code> events (as surfaced by the Sigma rule) to determine whether they are authorized administrative actions or potentially malicious.</li>
<li>Monitor for unusual API calls and activities originating from the source IP addresses and user accounts identified in the <code>ASL AWS Defense Evasion Stop Logging Cloudtrail</code> search results.</li>
<li>Review and enforce strict IAM policies to minimize the potential for unauthorized users to disable CloudTrail logging to prevent future attempts at defense evasion.</li>
<li>Ingest CloudTrail logs from Amazon Security Lake into Splunk, ensuring you are using the latest version of Splunk Add-on for Amazon Web Services to use the <code>ASL AWS Defense Evasion Stop Logging Cloudtrail</code> search.</li>
</ul>
]]></content:encoded><category domain="severity">high</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><item><title>AWS S3 Bucket Lifecycle Rule for Rapid Log Deletion</title><link>https://feed.craftedsignal.io/briefs/2024-01-02-aws-bucket-lifecycle-deletion/</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-02-aws-bucket-lifecycle-deletion/</guid><description>An attacker modifies an AWS S3 bucket lifecycle policy to rapidly expire CloudTrail logs, hindering incident response and forensic analysis.</description><content:encoded><![CDATA[<p>This threat involves the modification of AWS S3 bucket lifecycle policies to expedite the deletion of CloudTrail logs. The technique focuses on configuring a lifecycle rule for an S3 bucket with an expiration period of fewer than three days. By shortening the retention period, attackers aim to quickly eliminate CloudTrail logs, thereby covering their tracks and impeding forensic investigations. This activity is significant because it directly targets security logging, a critical component for threat detection and incident response. This technique can be used by various threat actors seeking to evade detection within AWS environments.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains unauthorized access to an AWS account, potentially through compromised credentials or a vulnerability.</li>
<li>The attacker identifies the S3 bucket used to store CloudTrail logs.</li>
<li>The attacker uses AWS CLI or the AWS Management Console to execute the <code>PutBucketLifecycle</code> API call.</li>
<li>The <code>PutBucketLifecycle</code> call modifies the lifecycle configuration of the S3 bucket.</li>
<li>The new lifecycle rule specifies a short expiration period (less than three days) for objects in the bucket.</li>
<li>CloudTrail logs within the S3 bucket are automatically deleted after the specified expiration period.</li>
<li>The attacker&rsquo;s actions are no longer recorded in CloudTrail, hindering incident response.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful execution of this attack leads to the rapid and irreversible deletion of CloudTrail logs. This can severely hamper incident response efforts, making it difficult to trace attacker actions, identify the scope of a breach, and conduct thorough forensic analysis. Organizations may be unable to meet compliance requirements related to data retention and audit logging.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to detect suspicious <code>PutBucketLifecycle</code> events with short expiration periods in your SIEM.</li>
<li>Investigate any detected <code>PutBucketLifecycle</code> events modifying S3 bucket lifecycle policies (logsource: <code>ASL AWS CloudTrail</code>).</li>
<li>Monitor AWS CloudTrail logs for unusual API calls related to S3 bucket lifecycle management (logsource: <code>ASL AWS CloudTrail</code>).</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>aws</category><category>cloudtrail</category><category>defense_evasion</category><category>s3</category></item></channel></rss>