<?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>Resource-Development - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/resource-development/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 02 Jan 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/resource-development/feed.xml" rel="self" type="application/rss+xml"/><item><title>AWS SNS Topic Created by Rare User</title><link>https://feed.craftedsignal.io/briefs/2024-01-02-aws-sns-topic-rare-user/</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-sns-topic-rare-user/</guid><description>An AWS SNS topic was created by a user who does not typically perform this action, potentially indicating resource development for data exfiltration or other malicious activities.</description><content:encoded><![CDATA[<p>This detection identifies when an AWS Simple Notification Service (SNS) topic is created by a user or role that doesn't typically perform this action. Adversaries might create SNS topics to stage capabilities for data exfiltration, lateral movement, or other malicious activities within the AWS environment. This detection leverages a &quot;New Terms&quot; rule, specifically designed to flag the initial occurrence of this behavior for a given user or role within an AWS account. The rule focuses on identifying anomalous SNS topic creation events, providing an early warning signal for potentially malicious activity related to resource development within AWS. It is triggered by the <code>CreateTopic</code> event in AWS CloudTrail logs, ensuring comprehensive coverage of SNS topic creation attempts.</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 IAM role. (T1566)</li>
<li>The attacker attempts to create a new SNS topic using the AWS CLI, SDK, or Console. The <code>CreateTopic</code> API call is made.</li>
<li>The <code>CreateTopic</code> request includes parameters such as the topic name, display name, and other attributes related to the SNS topic configuration.</li>
<li>AWS CloudTrail logs the <code>CreateTopic</code> event, capturing details such as the user identity (ARN, type, access key ID), source IP, user agent, and request parameters.</li>
<li>The &quot;New Terms&quot; rule analyzes the CloudTrail logs and identifies that the user or role creating the SNS topic has not previously performed this action within the observed timeframe.</li>
<li>The newly created SNS topic can be used by the attacker to subscribe to events and receive notifications about activities within the AWS environment. (T1496)</li>
<li>The attacker can then configure the SNS topic to trigger Lambda functions or S3 events, which allows persistence in the environment.</li>
<li>Ultimately, the adversary may use the SNS topic for data exfiltration, lateral movement, or other malicious purposes, leveraging the messaging capabilities of SNS.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows attackers to stage capabilities within the AWS environment. While creating an SNS topic is not inherently malicious, it can be a precursor to more serious attacks. Depending on the subsequent actions taken by the attacker, this could lead to data exfiltration, resource hijacking, or other forms of impact within the AWS infrastructure. The severity depends on the scope of access available to the compromised user or role and the configurations of the newly created SNS topic.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule provided in this brief to your SIEM and tune for your environment to detect unusual SNS topic creation activities (see rule: &quot;AWS SNS Topic Created by Rare User&quot;).</li>
<li>Investigate any alerts generated by the Sigma rule, focusing on the user identity, source IP, and request parameters associated with the SNS topic creation event.</li>
<li>Monitor for further SNS modifications, such as Publish or Subscribe events, following the initial topic creation event (see Overview).</li>
<li>Enforce least privilege IAM policies and enable multi-factor authentication (MFA) to reduce the risk of unauthorized access to AWS resources (see Overview).</li>
</ul>
]]></content:encoded><category domain="severity">low</category><category domain="type">advisory</category><category>cloud</category><category>aws</category><category>sns</category><category>resource-development</category><category>impact</category></item><item><title>AWS Route 53 Domain Transferred to Another Account</title><link>https://feed.craftedsignal.io/briefs/2024-01-aws-route53-domain-transfer/</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-route53-domain-transfer/</guid><description>An AWS Route 53 domain was transferred to another AWS account, potentially leading to unauthorized control over DNS records and traffic redirection for malicious purposes, such as phishing or establishing persistence.</description><content:encoded><![CDATA[<p>This threat brief addresses the unauthorized transfer of an AWS Route 53 domain to another AWS account. Route 53 is a scalable DNS web service, and control over a domain allows an attacker to modify DNS records, reroute traffic, and request certificates. The adversary could gain control by compromising an IAM user or leveraging long-lived credentials. Such a transfer can lead to persistence, traffic redirection, phishing attacks, or the staging of infrastructure for more extensive malicious operations. This activity is detected via CloudTrail logs when the <code>TransferDomainToAnotherAwsAccount</code> event is successfully invoked.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains unauthorized access to an AWS account through compromised credentials or IAM role exploitation.</li>
<li>The attacker identifies a target domain within the Route 53 service.</li>
<li>The attacker may disable the domain transfer lock using <code>DisableDomainTransferLock</code>.</li>
<li>The attacker initiates a domain transfer to an AWS account under their control using the <code>TransferDomainToAnotherAwsAccount</code> API call.</li>
<li>The transfer is successful, granting the attacker administrative control over the domain's DNS records.</li>
<li>The attacker modifies DNS records to redirect traffic to malicious servers they control.</li>
<li>The attacker sets up phishing sites or redirects legitimate traffic to a command-and-control infrastructure.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful Route 53 domain transfer enables an attacker to fully manage the domain's DNS resources, potentially leading to traffic redirection, service outages, or domain hijacking for phishing or command-and-control. While the exact number of victims and sectors targeted is unknown, unauthorized domain transfers can severely impact any organization relying on AWS for DNS services. This could disrupt service availability, compromise sensitive data through phishing, or enable persistent access to internal networks.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>AWS Route 53 Domain Transferred to Another Account</code> to detect successful <code>TransferDomainToAnotherAwsAccount</code> events in AWS CloudTrail logs.</li>
<li>Monitor AWS CloudTrail logs for <code>DisableDomainTransferLock</code> events followed by <code>TransferDomainToAnotherAwsAccount</code> as it indicates a possible domain transfer preparation.</li>
<li>Restrict domain transfer permissions to a minimal set of roles using IAM Conditions such as <code>aws:PrincipalArn</code> and <code>aws:MultiFactorAuthPresent</code> as recommended in the <a href="https://aws.amazon.com/premiumsupport/knowledge-center/security-best-practices/">AWS Knowledge Center – Security Best Practices</a>.</li>
<li>Implement change-management tracking for domain ownership modifications, correlating with approved internal requests as noted in the overview.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>aws</category><category>route53</category><category>domain-transfer</category><category>persistence</category><category>resource-development</category></item></channel></rss>