<?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>Identity — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/identity/</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>Thu, 02 May 2024 10:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/identity/feed.xml" rel="self" type="application/rss+xml"/><item><title>Okta Admin Console Unusual Behavior Detection</title><link>https://feed.craftedsignal.io/briefs/2024-05-okta-admin-console-behaviors/</link><pubDate>Thu, 02 May 2024 10:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-05-okta-admin-console-behaviors/</guid><description>This brief details detection of anomalous activity within the Okta Admin Console, potentially indicating privilege escalation, persistence, defense evasion, or initial access attempts by malicious actors.</description><content:encoded><![CDATA[<p>This threat brief focuses on detecting unusual behaviors within the Okta Admin Console, as identified by Okta&rsquo;s heuristics. While the specific campaign details are unknown, identifying anomalous access patterns to the Admin Console is crucial for detecting various malicious activities. This includes potential privilege escalation by compromised accounts or insider threats attempting to gain elevated permissions, establishing persistence through unauthorized modifications, evading existing security controls, or gaining initial access through account compromise. The detection relies on Okta&rsquo;s system logs which can signal unusual administrative activity. Defenders should prioritize monitoring and alerting on these events to quickly identify and respond to potential security breaches.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to an Okta account, possibly through credential phishing or brute-force attacks.</li>
<li>The attacker attempts to log in to the Okta Admin Console.</li>
<li>Okta&rsquo;s behavior detection engine analyzes the login attempt, considering factors like the user&rsquo;s location, device, and time of day.</li>
<li>The system logs record a <code>policy.evaluate_sign_on</code> event when a sign-on policy is evaluated.</li>
<li>The <code>target.displayName</code> field within the log specifies &ldquo;Okta Admin Console&rdquo; indicating the user is attempting to access the administrative interface.</li>
<li>If Okta identifies the behavior as unusual, the <code>debugContext.debugData.behaviors</code> or <code>debugContext.debugData.logOnlySecurityData</code> fields will contain &ldquo;POSITIVE&rdquo;.</li>
<li>An alert is triggered based on the identified unusual behavior.</li>
<li>The attacker, if successful in bypassing initial checks, may proceed to create new admin accounts, modify existing policies, or exfiltrate sensitive data.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Compromise of the Okta Admin Console can lead to significant damage, including unauthorized access to sensitive data, modification of security policies, creation of rogue administrator accounts, and ultimately, a complete takeover of the Okta environment. This can impact all applications and services integrated with Okta, potentially affecting thousands of users and causing significant financial and reputational damage. Early detection is crucial to limiting the scope and impact of such attacks.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule <code>Okta Admin Console Unusual Behavior</code> to your SIEM to detect suspicious Okta Admin Console access based on Okta&rsquo;s internal behavior analysis.</li>
<li>Investigate any alerts generated by the Sigma rule to determine if the unusual behavior is legitimate or indicative of malicious activity.</li>
<li>Review Okta&rsquo;s System Log API documentation to understand the various event types and data fields available for monitoring and detection.</li>
<li>Implement multi-factor authentication (MFA) for all Okta accounts, especially administrator accounts, to mitigate the risk of account compromise (related to initial access).</li>
<li>Monitor Okta&rsquo;s security advisories and announcements for updates on emerging threats and recommended security practices (references).</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>okta</category><category>identity</category><category>privilege-escalation</category><category>persistence</category><category>defense-evasion</category><category>initial-access</category></item><item><title>Okta Policy Rule Modification or Deletion</title><link>https://feed.craftedsignal.io/briefs/2024-01-29-okta-policy-rule-modification/</link><pubDate>Mon, 29 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-29-okta-policy-rule-modification/</guid><description>An Okta policy rule was modified or deleted, potentially weakening security controls.</description><content:encoded><![CDATA[<p>Okta is a widely used identity and access management platform. Threat actors may target Okta configurations to weaken an organization&rsquo;s security posture. This activity involves modifications or deletions of policy rules within Okta. Such changes can reduce the effectiveness of multi-factor authentication (MFA) requirements, bypass access controls, or disable security logging. Detection of these changes is crucial to maintaining a strong security baseline and preventing unauthorized access to sensitive resources. Defenders should monitor Okta logs for unexpected or unauthorized policy rule modifications or deletions.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial Access: The attacker gains unauthorized access to an Okta administrator account, possibly through credential theft or phishing.</li>
<li>Authentication: The attacker authenticates to the Okta admin dashboard using the compromised credentials.</li>
<li>Discovery: The attacker enumerates existing policy rules to understand the current security configuration.</li>
<li>Modification: The attacker modifies an existing policy rule to weaken its security controls. This could involve disabling MFA, bypassing location restrictions, or altering group membership requirements.</li>
<li>Deletion: Alternatively, the attacker deletes a policy rule entirely, effectively removing a layer of security.</li>
<li>Privilege Escalation: With weakened or removed policy rules, the attacker escalates privileges, gaining access to sensitive applications or data.</li>
<li>Lateral Movement: The attacker leverages the compromised Okta environment to move laterally within the organization&rsquo;s network, accessing additional systems and resources.</li>
<li>Impact: The attacker achieves their final objective, such as data exfiltration, financial fraud, or system disruption, due to the weakened security posture.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful modification or deletion of Okta policy rules can severely compromise an organization&rsquo;s security. Consequences include unauthorized access to sensitive data, privilege escalation, lateral movement, and ultimately, data breaches or financial loss. The number of affected users and systems depends on the scope of the compromised policy rules and the attacker&rsquo;s subsequent actions. Organizations in all sectors that rely on Okta for identity management are vulnerable.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the &ldquo;Okta Policy Rule Modified or Deleted&rdquo; Sigma rule to your SIEM to detect unauthorized changes (rule reference).</li>
<li>Review Okta system logs regularly for policy rule modifications or deletions, focusing on unusual source IPs or user agents.</li>
<li>Implement multi-factor authentication (MFA) for all Okta administrator accounts to prevent unauthorized access (reference: Okta documentation).</li>
<li>Enforce the principle of least privilege for Okta administrator roles, limiting the number of users who can modify policy rules.</li>
<li>Alert on eventType <code>policy.rule.update</code> or <code>policy.rule.delete</code> in Okta logs using the provided Sigma rule (rule reference).</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>okta</category><category>identity</category><category>policy</category><category>attack.impact</category></item><item><title>Okta User Account Created</title><link>https://feed.craftedsignal.io/briefs/2024-01-23-okta-user-created/</link><pubDate>Tue, 23 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-23-okta-user-created/</guid><description>Detection of new user account creation in Okta, which could indicate malicious activity related to credential access.</description><content:encoded><![CDATA[<p>This alert detects the creation of new user accounts within an Okta environment. While legitimate user creation is common, malicious actors may create accounts to gain unauthorized access to resources, escalate privileges, or establish persistence within the network. Monitoring for anomalous user creation activity, such as accounts created outside of normal business hours or with suspicious naming conventions, is crucial for identifying potential security breaches. Reviewing the source IP and administrator account used for the user creation can also provide valuable context.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to an Okta administrator account, potentially through phishing, credential stuffing, or exploiting a vulnerability.</li>
<li>The attacker authenticates to the Okta admin portal.</li>
<li>The attacker navigates to the user management section within the Okta admin console.</li>
<li>The attacker creates a new user account, potentially mimicking an existing user or using a generic naming convention.</li>
<li>The attacker assigns the new user account specific roles and permissions, potentially granting elevated privileges.</li>
<li>The attacker may use the newly created account to access sensitive applications and data within the Okta-protected environment.</li>
<li>The attacker uses the compromised or newly created account to maintain persistence within the Okta environment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack leading to unauthorized user creation can result in significant data breaches, privilege escalation, and unauthorized access to sensitive applications and resources. This could lead to financial loss, reputational damage, and compliance violations. The impact depends on the permissions granted to the created user and the applications they can access.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &ldquo;New Okta User Created&rdquo; to your SIEM to detect user creation events and tune for your environment.</li>
<li>Investigate any detected user creation events for legitimacy, focusing on the source IP address and the administrator account used.</li>
<li>Implement multi-factor authentication (MFA) for all Okta administrator accounts to mitigate the risk of credential compromise.</li>
<li>Review Okta event logs regularly for suspicious activity, including user creation, permission changes, and application access.</li>
<li>Establish baseline user creation patterns to identify anomalous behavior, such as accounts created outside of normal business hours.</li>
</ul>
]]></content:encoded><category domain="severity">low</category><category domain="type">advisory</category><category>okta</category><category>identity</category><category>user-creation</category><category>credential-access</category></item><item><title>Okta Security Threat Detected</title><link>https://feed.craftedsignal.io/briefs/2024-01-okta-security-threat/</link><pubDate>Tue, 23 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-okta-security-threat/</guid><description>This alert detects when Okta's ThreatInsight identifies a security threat within an Okta environment, potentially indicating command and control activity.</description><content:encoded><![CDATA[<p>This alert focuses on identifying security threats detected by Okta&rsquo;s ThreatInsight. Okta ThreatInsight analyzes traffic patterns and user behavior to identify and block malicious login attempts, brute-force attacks, and other suspicious activities. When ThreatInsight identifies a security threat, it generates a system log event with the eventType <code>security.threat.detected</code>. This event serves as a high-level indicator of potential command and control activity within the Okta environment. Defenders should investigate these alerts promptly to determine the nature and scope of the threat and take appropriate remediation steps. This detection leverages Okta system logs and is relevant for organizations using Okta as their identity provider.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker attempts to gain unauthorized access to an Okta account, possibly through credential stuffing or brute-force attacks.</li>
<li>Okta&rsquo;s ThreatInsight analyzes the login attempt, evaluating factors such as IP address reputation, geographical location, and login frequency.</li>
<li>ThreatInsight identifies the login attempt as a security threat based on predefined risk factors.</li>
<li>Okta generates a system log event with eventType <code>security.threat.detected</code>, recording details of the suspicious activity.</li>
<li>The security team receives an alert based on the Sigma rule detecting the <code>security.threat.detected</code> event.</li>
<li>The security team investigates the alert, examining the associated IP address, user account, and other relevant log data.</li>
<li>Based on the investigation, the security team takes appropriate remediation steps, such as blocking the IP address, resetting the user&rsquo;s password, or enabling multi-factor authentication.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack targeting Okta could lead to unauthorized access to sensitive data, account takeover, and disruption of services. The impact of such an attack depends on the level of access granted to the compromised account and the sensitivity of the data accessible through Okta. Successful exploitation can lead to lateral movement within an organization&rsquo;s cloud infrastructure and potentially compromise other critical systems.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM to detect <code>security.threat.detected</code> events in Okta system logs.</li>
<li>Investigate all triggered alerts to determine the nature and scope of the threat.</li>
<li>Review Okta&rsquo;s ThreatInsight configuration to ensure it is properly configured and tuned for your environment (references: Okta ThreatInsight documentation).</li>
<li>Monitor Okta system logs for suspicious activity, such as unusual login patterns, account lockouts, and password resets (references: Okta system log documentation).</li>
<li>Enforce strong password policies and multi-factor authentication to reduce the risk of unauthorized access.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>identity</category><category>okta</category><category>threat-detection</category><category>attack.command-and-control</category></item><item><title>Okta Admin Role Assignment Creation</title><link>https://feed.craftedsignal.io/briefs/2024-01-okta-admin-role/</link><pubDate>Tue, 23 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-okta-admin-role/</guid><description>Detection of new admin role assignments in Okta, potentially indicating privilege escalation or persistence attempts by malicious actors.</description><content:encoded><![CDATA[<p>Okta is a widely used identity and access management (IAM) platform, making it a prime target for malicious actors seeking to gain unauthorized access to sensitive resources. This threat focuses on the creation of new admin role assignments within Okta. An attacker who successfully compromises an Okta account with sufficient privileges, or bypasses security controls, may attempt to escalate their privileges or establish persistence by creating new admin role assignments for themselves or other accounts they control. This activity can go unnoticed if not actively monitored, granting the attacker extended access and control over the Okta environment and connected applications. Monitoring for anomalous admin role assignments is crucial for early detection and prevention of potential breaches.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access:</strong> Attacker gains unauthorized access to an Okta account, possibly through credential phishing, brute-force attacks, or exploitation of vulnerabilities.</li>
<li><strong>Privilege Check:</strong> The attacker verifies the privileges of the compromised account to determine if it has sufficient permissions to create new admin role assignments.</li>
<li><strong>Account Impersonation:</strong> The attacker uses the compromised account to access the Okta admin dashboard.</li>
<li><strong>Role Assignment Creation:</strong> The attacker navigates to the role assignment section and initiates the creation of a new admin role assignment.</li>
<li><strong>Configuration:</strong> The attacker specifies the target user or group for the new admin role assignment.</li>
<li><strong>Audit Logging:</strong> Okta logs the event &lsquo;iam.resourceset.bindings.add&rsquo; indicating the creation of a new admin role assignment.</li>
<li><strong>Persistence:</strong> The attacker uses the newly created admin role assignment to maintain persistent access to the Okta environment even if the initial compromised account is detected and remediated.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation could lead to complete control over the Okta environment, affecting all connected applications and services. An attacker with admin privileges can modify user accounts, reset passwords, access sensitive data, and potentially compromise the entire organization. The number of affected users and systems depends on the scope of the Okta deployment, but the impact can be significant, potentially affecting thousands of users and critical business operations.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Okta Admin Role Assignment Created</code> to your SIEM and tune it for your environment to detect suspicious admin role creation activity in Okta logs.</li>
<li>Investigate any alerts generated by the <code>Okta Admin Role Assignment Created</code> rule to determine if the role assignment was legitimate and authorized.</li>
<li>Implement multi-factor authentication (MFA) for all Okta accounts, especially those with administrative privileges, to mitigate the risk of credential compromise.</li>
<li>Regularly review and audit Okta admin role assignments to identify and remove any unnecessary or unauthorized privileges.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>identity</category><category>okta</category><category>privilege-escalation</category><category>persistence</category></item><item><title>Okta End-User Reports Suspicious Account Activity</title><link>https://feed.craftedsignal.io/briefs/2024-01-17-okta-suspicious-activity/</link><pubDate>Wed, 17 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-17-okta-suspicious-activity/</guid><description>An Okta end-user reports potentially suspicious activity on their account, indicating possible compromise or unauthorized access.</description><content:encoded><![CDATA[<p>This alert focuses on detecting when an end-user within an Okta environment reports suspicious activity related to their account. This is a critical indicator that the account may be compromised, or that unauthorized access has occurred. The activity is reported directly by the end-user. While this alert does not directly reveal the method of compromise, it serves as an important signal for security teams to investigate potentially malicious activity. This event triggers from an Okta system log event generated when an end-user utilizes the &ldquo;report suspicious activity&rdquo; feature, available in many Okta deployments. Early detection allows security teams to rapidly respond, contain potential damage, and investigate the source of the suspicious activity. This type of self-reporting by end-users can be an invaluable source of threat intelligence within an organization.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains unauthorized access to an end-user&rsquo;s Okta account, possibly via credential phishing or password reuse.</li>
<li>The attacker attempts to perform actions such as accessing applications, changing profile details, or initiating password resets.</li>
<li>The legitimate end-user observes suspicious activity in their Okta account, such as unfamiliar login locations, unauthorized application access, or unexpected password reset requests.</li>
<li>The end-user utilizes the &ldquo;report suspicious activity&rdquo; feature within their Okta account portal.</li>
<li>This action generates an Okta system log event with the eventType <code>user.account.report_suspicious_activity_by_enduser</code>.</li>
<li>The detection rule triggers based on this specific Okta log event.</li>
<li>Security analysts investigate the reported activity, examining Okta logs and other relevant data sources.</li>
<li>Based on the investigation, appropriate remediation steps are taken, such as resetting the user&rsquo;s password, revoking active sessions, and blocking any identified malicious IP addresses.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful account compromise can lead to unauthorized access to sensitive applications and data within the organization. The number of affected users and the impact will depend on the permissions and access granted to the compromised Okta account. This can result in data breaches, financial loss, and reputational damage. Prompt detection of end-user reported suspicious activity allows for rapid incident response, minimizing potential damage.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &ldquo;Okta Suspicious Activity Reported by End-user&rdquo; to your SIEM to detect when users report suspicious activity, using <code>eventType: 'user.account.report_suspicious_activity_by_enduser'</code>.</li>
<li>Review Okta system logs for further details surrounding the events that prompted the user report (see references for log details).</li>
<li>Implement end-user training programs to educate users on how to identify and report suspicious activity.</li>
<li>Investigate all triggered alerts to determine the root cause of the reported suspicious activity.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>identity</category><category>okta</category><category>suspicious-activity</category></item><item><title>Okta Alerts Following Unusual Proxy Authentication</title><link>https://feed.craftedsignal.io/briefs/2024-01-okta-proxy-auth-alerts/</link><pubDate>Wed, 03 Jan 2024 15:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-okta-proxy-auth-alerts/</guid><description>Attackers use proxy infrastructure to mask their origin when using stolen Okta credentials, and this rule correlates the first occurrence of an Okta user session started via a proxy with subsequent Okta security alerts for the same user.</description><content:encoded><![CDATA[<p>Attackers frequently use proxy infrastructure (VPNs, Tor, residential proxies) to mask their origin when using stolen credentials. This behavior often triggers additional detection rules after the initial authentication. By correlating the first instance of Okta user authentication via a proxy with subsequent Okta security alerts for the same user, this rule aims to identify potentially compromised accounts. This correlation focuses on activity within a 30-minute window following the initial proxy authentication, helping to pinpoint users whose proxy-based authentication was followed by suspicious activity. The rule leverages Okta system logs and alerts to identify these patterns. This is important for defenders to quickly identify compromised accounts and prevent further damage.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker obtains valid Okta credentials through phishing, credential stuffing, or other means. (T1078)</li>
<li>The attacker initiates an Okta user session from behind a proxy (VPN, Tor, etc.) to mask their origin.</li>
<li>Okta classifies the connection as originating from a proxy.</li>
<li>The user successfully authenticates and starts a session.</li>
<li>Post-authentication, the attacker attempts to access sensitive applications or data. (T1078.004)</li>
<li>The attacker&rsquo;s activity triggers an Okta security alert, such as unusual access patterns or MFA bypass attempts.</li>
<li>The detection rule correlates the proxy authentication event with the subsequent security alert.</li>
<li>Security team investigates and responds to the potential account compromise.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack can lead to unauthorized access to sensitive data, privilege escalation, and lateral movement within the organization&rsquo;s cloud environment. Multiple alerts, coupled with proxy authentication, indicate a higher likelihood of account compromise. If successful, attackers could exfiltrate sensitive data, modify configurations, or disrupt services.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &ldquo;Okta Alerts Following Unusual Proxy Authentication&rdquo; to your SIEM and tune for your environment to detect suspicious activity after proxy authentication.</li>
<li>Investigate correlated security alerts triggered after proxy authentication events for affected users, as highlighted by the Sigma rule.</li>
<li>Monitor Okta system logs for authentication events originating from known malicious proxy IP addresses and block them at the network perimeter.</li>
<li>Review user&rsquo;s Okta activity for signs of account takeover (MFA changes, new devices, unusual app access) after proxy authentication.</li>
<li>Implement multi-factor authentication (MFA) to reduce the risk of account compromise via stolen credentials, as this attack relies on valid accounts.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>identity</category><category>cloud</category><category>okta</category><category>initial-access</category></item><item><title>AWS Identity Center Identity Provider Modification</title><link>https://feed.craftedsignal.io/briefs/2024-01-03-aws-idp-change/</link><pubDate>Wed, 03 Jan 2024 14:30:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-03-aws-idp-change/</guid><description>An adversary modifies the AWS Identity Center identity provider configuration, potentially leading to persistent access and privilege escalation through user impersonation.</description><content:encoded><![CDATA[<p>AWS Identity Center (formerly AWS SSO) enables centralized management of access to AWS accounts and applications. Attackers can manipulate the configured identity provider to gain unauthorized access. The modification of the configured Identity Provider (IdP) within AWS Identity Center can lead to a full compromise of the AWS environment. By associating a malicious directory or disabling/disassociating legitimate directories, attackers can potentially establish persistent access, escalate privileges, and impersonate legitimate users. This can be achieved by utilizing compromised AWS credentials or exploiting vulnerabilities in the AWS environment.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial access is gained via compromised AWS credentials or by exploiting an AWS vulnerability.</li>
<li>The attacker enumerates the current AWS Identity Center configuration to identify the currently associated directory.</li>
<li>The attacker disassociates the existing, legitimate directory using <code>DisassociateDirectory</code>.</li>
<li>The attacker associates a malicious directory they control using <code>AssociateDirectory</code>. This malicious directory is configured to impersonate legitimate users.</li>
<li>Alternatively, the attacker disables external IdP configuration for the directory using <code>DisableExternalIdPConfigurationForDirectory</code>.</li>
<li>The attacker enables external IdP configuration for the directory, pointing to an attacker-controlled IdP, using <code>EnableExternalIdPConfigurationForDirectory</code>.</li>
<li>The attacker uses the malicious or attacker-controlled IdP to authenticate as legitimate users, gaining access to AWS resources.</li>
<li>The attacker performs malicious actions within the AWS environment, such as data exfiltration or resource destruction.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful modification of the AWS Identity Center identity provider can lead to complete compromise of an AWS environment. Attackers can gain persistent access, escalate privileges, and impersonate legitimate users. This can result in data breaches, service disruption, financial loss, and reputational damage. The impact can extend to all AWS accounts and applications managed by the compromised Identity Center instance.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM to detect unauthorized changes to the AWS Identity Center identity provider.</li>
<li>Investigate any detected events related to <code>AssociateDirectory</code>, <code>DisableExternalIdPConfigurationForDirectory</code>, <code>DisassociateDirectory</code>, or <code>EnableExternalIdPConfigurationForDirectory</code> in AWS CloudTrail logs.</li>
<li>Implement multi-factor authentication (MFA) for all AWS accounts and users to reduce the risk of credential compromise.</li>
<li>Review and restrict IAM permissions to minimize the blast radius of compromised credentials.</li>
<li>Monitor AWS CloudTrail logs for unusual activity patterns that might indicate malicious directory association attempts.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cloud</category><category>aws</category><category>identity</category><category>persistence</category><category>credential-access</category><category>defense-evasion</category></item><item><title>Okta Policy Modification or Deletion Detected</title><link>https://feed.craftedsignal.io/briefs/2024-01-okta-policy-change/</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-okta-policy-change/</guid><description>An Okta policy was modified or deleted, potentially indicating unauthorized changes to security configurations within the Okta identity management platform by a malicious actor or insider.</description><content:encoded><![CDATA[<p>This alert identifies modifications or deletions of Okta policies, which govern authentication, authorization, and access control within the Okta Identity Cloud platform. While legitimate administrators routinely update policies, unauthorized changes can weaken security postures and grant malicious actors elevated privileges or bypass security controls. The source event indicates a potential compromise or insider threat activity within the Okta environment. Because Okta serves as a critical identity provider for many organizations, any unauthorized change to its policies can have far-reaching consequences. Detecting policy changes is crucial for maintaining the integrity and security of the Okta environment and preventing potential breaches. The targeted scope includes all Okta-managed applications and resources protected by the modified or deleted policy.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access:</strong> The attacker gains access to an Okta administrator account, either through compromised credentials (e.g., phishing, credential stuffing) or insider access.</li>
<li><strong>Authentication:</strong> The attacker authenticates to the Okta admin console using the compromised or legitimate administrator account.</li>
<li><strong>Policy Enumeration:</strong> The attacker identifies target Okta policies to modify or delete using the Okta admin console or API.</li>
<li><strong>Policy Modification/Deletion:</strong> The attacker modifies or deletes the targeted Okta policy through the Okta admin console or API. This generates an <code>policy.lifecycle.update</code> or <code>policy.lifecycle.delete</code> event.</li>
<li><strong>Privilege Escalation (Potential):</strong> By modifying policies, the attacker may escalate privileges, granting themselves or other unauthorized users access to sensitive applications and resources.</li>
<li><strong>Lateral Movement (Potential):</strong> With escalated privileges, the attacker moves laterally within the Okta environment, accessing other applications and resources.</li>
<li><strong>Data Exfiltration/Damage (Potential):</strong> The attacker leverages the compromised Okta environment to exfiltrate sensitive data or cause damage to connected systems.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful Okta policy modification or deletion can have significant consequences. Unauthorized policy changes can weaken security controls, allowing attackers to bypass authentication mechanisms, escalate privileges, and gain unauthorized access to sensitive applications and data. This could lead to data breaches, financial loss, and reputational damage. The impact depends on the scope of the affected policy and the applications it protects. The number of victims could range from a few individuals to the entire organization, depending on the scope of the compromised policy.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM to detect Okta policy modifications or deletions (<code>policy.lifecycle.update</code>, <code>policy.lifecycle.delete</code> event types).</li>
<li>Investigate any detected policy changes to verify their legitimacy and identify the user responsible.</li>
<li>Review Okta administrator account activity for any signs of compromise or unauthorized access.</li>
<li>Implement multi-factor authentication (MFA) for all Okta administrator accounts to prevent unauthorized access.</li>
<li>Regularly review and audit Okta policies to ensure they are configured securely and in accordance with security best practices.</li>
</ul>
]]></content:encoded><category domain="severity">low</category><category domain="type">advisory</category><category>identity</category><category>okta</category><category>policy</category><category>attack.impact</category></item><item><title>Okta Application Sign-On Policy Modified or Deleted</title><link>https://feed.craftedsignal.io/briefs/2024-01-okta-sign-on-policy-changes/</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-okta-sign-on-policy-changes/</guid><description>Attackers may modify or delete Okta application sign-on policies to weaken security controls, potentially leading to unauthorized access and data breaches.</description><content:encoded><![CDATA[<p>Okta application sign-on policies control how users authenticate to applications integrated with Okta. An attacker who gains administrative access to an Okta tenant can modify or delete these policies, effectively weakening or bypassing multi-factor authentication (MFA) requirements and other security controls. This allows unauthorized access to sensitive applications and data. While this activity itself is not initial access, it represents a significant escalation of privileges and a deliberate attempt to subvert existing security measures within the Okta environment. Detection of these changes is critical to identify potential breaches early and prevent further damage.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains unauthorized access to an Okta administrator account through compromised credentials or other means.</li>
<li>The attacker authenticates to the Okta admin dashboard.</li>
<li>The attacker navigates to the &ldquo;Security&rdquo; section and then to &ldquo;Authentication Policies&rdquo;.</li>
<li>The attacker identifies the target application sign-on policy to modify or delete.</li>
<li>To modify, the attacker changes the policy rules, such as disabling MFA requirements or allowing access from untrusted locations.</li>
<li>Alternatively, to delete, the attacker selects the policy and confirms its removal.</li>
<li>The attacker&rsquo;s actions are logged as &ldquo;application.policy.sign_on.update&rdquo; or &ldquo;application.policy.sign_on.rule.delete&rdquo; events in the Okta system log.</li>
<li>Unauthorized users can now access applications protected by the modified or deleted policy, potentially leading to data exfiltration or other malicious activities.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful modification or deletion of Okta application sign-on policies can severely compromise an organization&rsquo;s security posture. This can lead to unauthorized access to sensitive applications and data, resulting in data breaches, financial losses, and reputational damage. The number of affected users and applications depends on the scope of the compromised policies.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &ldquo;Okta Application Sign-On Policy Modified or Deleted&rdquo; to your SIEM and tune for your environment to detect changes to sign-on policies (rule reference).</li>
<li>Monitor the Okta system log for &ldquo;application.policy.sign_on.update&rdquo; and &ldquo;application.policy.sign_on.rule.delete&rdquo; events to identify suspicious activity (log source reference).</li>
<li>Implement strong access controls and MFA for Okta administrator accounts to prevent unauthorized policy modifications (best practice).</li>
<li>Regularly review Okta application sign-on policies to ensure they are properly configured and meet security requirements (best practice).</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>identity</category><category>okta</category><category>policy-tampering</category></item><item><title>Okta API Token Revoked</title><link>https://feed.craftedsignal.io/briefs/2024-01-okta-api-token-revoked/</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-okta-api-token-revoked/</guid><description>Detection of Okta API token revocation events, indicating potential unauthorized access or compromise.</description><content:encoded><![CDATA[<p>This alert focuses on detecting the revocation of Okta API tokens. Okta API tokens are used to authenticate and authorize applications to access Okta&rsquo;s APIs. When a token is revoked, it means that the token is no longer valid and can no longer be used to access Okta&rsquo;s APIs. This can happen for a number of reasons, including: a user manually revoking the token, an administrator revoking the token, or Okta automatically revoking the token due to inactivity or security concerns. Detecting API token revocations is crucial because it can indicate that a token has been compromised and is being used by an attacker. A revoked token could be a sign of successful lateral movement or data exfiltration attempts within the Okta environment.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial Access: An attacker gains unauthorized access to an Okta API token through methods like phishing, credential stuffing, or malware.</li>
<li>API Usage: The attacker uses the stolen API token to access Okta&rsquo;s APIs, potentially gathering sensitive information or modifying user accounts.</li>
<li>Anomaly Detection: Okta&rsquo;s security mechanisms or custom alerts identify unusual activity associated with the API token, such as access from unfamiliar locations or excessive API calls.</li>
<li>Investigation Triggered: Security personnel initiate an investigation based on the flagged anomalous activity.</li>
<li>Token Revocation: As part of the incident response process, the compromised API token is manually or automatically revoked to prevent further unauthorized access. This action generates a &ldquo;system.api_token.revoke&rdquo; event in the Okta system log.</li>
<li>Post-Revocation Analysis: Security teams analyze the events leading up to the token revocation to identify the root cause of the compromise and assess the scope of the attacker&rsquo;s activities.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful compromise of an Okta API token can lead to significant damage, including unauthorized access to sensitive user data, modification of user accounts and permissions, and disruption of critical business operations. If not detected promptly, attackers can leverage compromised tokens to escalate privileges, move laterally within the Okta environment, and potentially gain access to other connected systems. A single compromised API token could affect hundreds or thousands of users, depending on the scope of access granted to the token.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM to detect <code>system.api_token.revoke</code> events in Okta logs.</li>
<li>Investigate any detected <code>system.api_token.revoke</code> events to determine the cause of the revocation and assess the potential impact.</li>
<li>Review Okta system logs for anomalous activity prior to the token revocation to identify the source of the compromise.</li>
<li>Implement multi-factor authentication (MFA) for all Okta users to reduce the risk of credential compromise.</li>
<li>Regularly audit and review Okta API tokens to identify and revoke unused or overly permissive tokens.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>okta</category><category>api</category><category>token</category><category>revocation</category><category>identity</category></item><item><title>Okta User Session Start via Anonymizing Proxy Service</title><link>https://feed.craftedsignal.io/briefs/2024-01-okta-anonymizing-proxy/</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-okta-anonymizing-proxy/</guid><description>Detection of Okta user sessions initiated through anonymizing proxy services, potentially indicating malicious activity or attempts to evade security controls.</description><content:encoded><![CDATA[<p>This threat brief focuses on detecting Okta user session starts that originate from anonymizing proxy services. Anonymizing proxies can be used by malicious actors to mask their true IP addresses and location, making it more difficult to trace their activities. The use of such proxies during Okta authentication is suspicious because it bypasses geographical restrictions and may indicate compromised credentials. Defenders should be aware that legitimate users may occasionally use anonymizing proxies for privacy reasons, but the activity warrants close scrutiny. The detection of this activity relies on Okta system logs and the security context of the authentication event.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker obtains valid Okta credentials through phishing, credential stuffing, or other means.</li>
<li>Attacker configures their network connection to route traffic through an anonymizing proxy service (e.g., Tor, VPN).</li>
<li>Attacker initiates an Okta user session using the compromised credentials.</li>
<li>Okta system logs record a &ldquo;user.session.start&rdquo; event.</li>
<li>The &ldquo;securityContext.isProxy&rdquo; field within the Okta event is set to &ldquo;true&rdquo;, indicating the use of a proxy service.</li>
<li>If successful, the attacker gains access to the Okta account and any associated applications or resources.</li>
<li>Attacker may then attempt to escalate privileges, access sensitive data, or perform other malicious activities within the Okta environment.</li>
<li>The attacker may attempt lateral movement to other systems within the organization that trust Okta for authentication.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to unauthorized access to sensitive applications and data protected by Okta. This could result in data breaches, financial loss, or reputational damage. Depending on the compromised user&rsquo;s privileges, an attacker may be able to escalate privileges and gain control over critical systems. The number of potential victims depends on the scope of applications using Okta for authentication.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM to detect Okta user sessions initiated through anonymizing proxies (logsource: okta, service: okta).</li>
<li>Investigate all alerts generated by the Sigma rule to determine the legitimacy of the proxy usage.</li>
<li>Implement multi-factor authentication (MFA) to reduce the risk of account compromise.</li>
<li>Monitor Okta system logs for other suspicious activities, such as failed login attempts or unusual access patterns (references: Okta System Log API).</li>
<li>Review and enforce Okta&rsquo;s cross-tenant impersonation prevention and detection measures (references: Okta cross-tenant impersonation article).</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>identity</category><category>okta</category><category>proxy</category><category>defense-evasion</category></item><item><title>Okta User Account Lockout Detection</title><link>https://feed.craftedsignal.io/briefs/2024-01-02-okta-account-lockout/</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-okta-account-lockout/</guid><description>Detection of an Okta user account lockout, which may indicate brute-force attempts or other malicious activity targeting user accounts.</description><content:encoded><![CDATA[<p>This brief describes detection measures for Okta user account lockouts. An account lockout occurs when a user exceeds the maximum number of permitted failed login attempts, potentially indicating a brute-force attack or other unauthorized access attempts against user accounts. Monitoring for account lockouts is crucial for identifying and mitigating potential security breaches. The rule detects the &ldquo;Max sign in attempts exceeded&rdquo; message in Okta logs, which signifies that an account has been locked. Detecting this activity can alert security teams to potential compromise attempts.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker attempts to authenticate to Okta with a valid or guessed username.</li>
<li>Attacker provides an incorrect password.</li>
<li>Okta logs the failed authentication attempt.</li>
<li>Attacker repeats steps 2 and 3 multiple times within a defined timeframe.</li>
<li>Okta&rsquo;s account lockout policy is triggered when the maximum number of failed attempts is reached.</li>
<li>Okta logs an event with the <code>displayMessage</code> &ldquo;Max sign in attempts exceeded&rdquo;.</li>
<li>The user account is locked, preventing further login attempts.</li>
<li>Security team investigates the lockout event to determine the root cause and potential impact.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful account lockout can disrupt legitimate user access and indicate potential malicious activity. Multiple lockouts within a short period may signify a brute-force attack aimed at gaining unauthorized access to sensitive resources. While the lockout itself prevents immediate unauthorized access, it can lead to denial of service and requires investigation to rule out successful credential compromise. The number of impacted users depends on the scope and sophistication of the attack.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Okta User Account Locked Out</code> to your SIEM to detect account lockout events in Okta logs.</li>
<li>Investigate any triggered alerts to determine the cause of the lockout, potentially indicating a brute-force attack (reference: <code>displayMessage: Max sign in attempts exceeded</code>).</li>
<li>Review and adjust Okta&rsquo;s account lockout policies to balance security and usability based on your organization&rsquo;s risk tolerance.</li>
<li>Consider implementing multi-factor authentication (MFA) to mitigate the risk of brute-force attacks and credential compromise.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>identity</category><category>account-lockout</category><category>okta</category></item></channel></rss>