<?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/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Microsoft 365 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/microsoft-365/</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>Fri, 13 Nov 2026 16:06:43 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/microsoft-365/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Microsoft Teams Meeting Booking Flow Used for Device Code Phishing</title><link>https://feed.craftedsignal.io/briefs/2026-11-teams-device-code-phishing/</link><pubDate>Fri, 13 Nov 2026 16:06:43 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-11-teams-device-code-phishing/</guid><description>Threat actors are using deceptive Microsoft Teams meeting-scheduling pages to trick victims into completing a device code authentication flow, allowing for the theft of session tokens.</description><content:encoded><![CDATA[<h2 id="overview">Overview</h2>
<p>In mid-October 2026, threat actors targeted a construction sector organization using a spear-phishing email that impersonated a senior executive from a peer company. The email contained a link leading to a typosquatted domain designed to simulate a Microsoft Teams meeting-scheduling interface.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker utilized a spear-phishing link embedded in a multi-stage redirect chain.</li>
<li>The landing page presented a fake 'Microsoft Teams Meeting Scheduler' interface that prompted users to select meeting details.</li>
<li>Upon user interaction, the backend initiated a Microsoft device code sign-in process. The site copied the resulting user code to the victim's clipboard.</li>
<li>The site redirected the victim to the legitimate Microsoft device login page to enter the code, which authorized the attacker's session.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The attack enables the theft of session tokens via the device code authentication flow, potentially granting attackers access to victim accounts.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Defenders should monitor sign-in logs for the 'Cmsi:Cmsi' indicator, which signals device-code authentication. Organizations should investigate authentication attempts originating from unmanaged devices or unexpected infrastructure and consider restricting device code flows where not required through Conditional Access policies.</p>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>ai</category><category>automation</category><category>penetration-testing</category><category>cybercrime</category><category>espionage</category><category>phishing</category><category>credential-harvesting</category><category>microsoft-365</category><category>social-engineering</category><category>email-security</category></item><item><title>GPUStack, ConnectWise, N-able, and M365 Security and Availability Updates</title><link>https://feed.craftedsignal.io/briefs/2026-11-gpustack-n-able-screenconnect-cve-2026-102895/</link><pubDate>Fri, 13 Nov 2026 04:36:28 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-11-gpustack-n-able-screenconnect-cve-2026-102895/</guid><description>This brief summarizes reports regarding GPUStack authentication bypass scans, a ConnectWise ScreenConnect security advisory, public exploit code for N-able N-central, and a Microsoft 365 availability incident.</description><content:encoded><![CDATA[<p>Recent reports cover several security and service disruptions:</p>
<ul>
<li><strong>GPUStack (CVE-2026-102895):</strong> Scans are targeting a vulnerability where an attacker can spoof the X-GPUStack-Real-IP header with the loopback address to bypass authentication.</li>
<li><strong>ConnectWise ScreenConnect:</strong> The company is investigating the compromise of approximately 400 customer and partner sites and has disabled certain third-party plugins.</li>
<li><strong>N-able N-central:</strong> Public exploit code has been released for at least three N-central vulnerabilities that were previously disclosed without vendor notification.</li>
<li><strong>Microsoft 365:</strong> A significant availability event impacted services including Exchange, Outlook, and related single sign-on functions like Entra.</li>
</ul>
<h2 id="impact">Impact</h2>
<p>Active scanning is occurring for the GPUStack authentication bypass. ConnectWise is investigating compromises in hundreds of environments. Unverified public exploit code exists for N-able N-central. Microsoft 365 users experienced service disruptions.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Organizations using affected platforms should review the respective vendor advisories and monitor official status pages for updates and remediation guidance.</p>
]]></content:encoded><category domain="severity">medium</category><category domain="type">threat</category></item><item><title>Credential phishing campaign abusing AI themes and CAPTCHA evasion</title><link>https://feed.craftedsignal.io/briefs/2026-10-anthropic-phishing/</link><pubDate>Thu, 29 Oct 2026 15:52:40 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-anthropic-phishing/</guid><description>Since September 2026, threat actors have leveraged fake Anthropic AI preview invitations, abused legitimate services, and utilized multi-layer CAPTCHA bypasses to harvest Google and Microsoft credentials.</description><content:encoded><![CDATA[<p>A credential phishing campaign identified by Cofense targets organizations with invitations to a fraudulent &quot;Anthropic AI&quot; private preview. The campaign successfully bypasses standard email security by abusing trusted platforms including GoTo Webinar, Zapier, and Cloudflare. The infrastructure utilizes multiple CAPTCHA challenges to impede automated sandbox analysis and credential harvesting pages designed to impersonate Google and Microsoft authentication portals.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial outreach via an email appearing to come from GoTo Webinar claiming to offer an exclusive Anthropic AI preview.</li>
<li>The email contains a link shortened through a legitimate service (Zapier) to evade email filtering.</li>
<li>Clicking the link triggers a Cloudflare CAPTCHA to verify the visitor.</li>
<li>The victim is redirected to a spoofed Zoom-branded meeting registration page.</li>
<li>The victim interacts with the registration form and selects &quot;Continue with Google&quot; or &quot;Continue with Microsoft&quot;.</li>
<li>A custom CAPTCHA slider appears to block automated scanners and VPN traffic.</li>
<li>A spoofed credential harvesting page captures the user email or login information.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful phishing leads to the compromise of corporate identity credentials, allowing attackers to access sensitive documentation or use the account for further internal infiltration.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Block the identified malicious domains at the web proxy and DNS levels.</li>
<li>Implement email authentication controls (DMARC/SPF/DKIM) to protect your domain and improve visibility into spoofed sender activity.</li>
<li>Advise employees to manually inspect URL domains for mismatches rather than relying on the branding present in the email or landing page.</li>
<li>Evaluate web filtering solutions that allow for browser isolation or manual analysis of sites that employ multi-stage CAPTCHA redirects.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>phishing</category><category>credential-harvesting</category><category>social-engineering</category><category>cloud</category></item><item><title>Microsoft 365 Adversary-in-the-Middle Token Replay Campaign</title><link>https://feed.craftedsignal.io/briefs/2026-10-m365-token-replay/</link><pubDate>Mon, 26 Oct 2026 09:54:31 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-m365-token-replay/</guid><description>Threat actors are leveraging Adversary-in-the-Middle relays to capture M365 authentication tokens and bypass MFA, resulting in unauthorized account access, rogue device registration, and malicious inbox rule creation across multiple organizations.</description><content:encoded><![CDATA[<p>Between July 14 and September 22, 2026, threat actors conducted a widespread campaign targeting Microsoft 365 users. The attackers utilized Adversary-in-the-Middle (AitM) infrastructure to intercept login credentials and MFA codes, allowing them to capture valid session tokens. These tokens were subsequently replayed to gain access to corporate mailboxes without triggering MFA. The campaign resulted in the compromise of 97 accounts across 79 organizations, with observed persistence mechanisms including the registration of rogue Entra devices and the addition of unauthorized MFA methods.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Victims are directed to a malicious AitM login page that proxies communication with legitimate Microsoft services.</li>
<li>The AitM proxy captures the victim's credentials, MFA inputs, and the resulting valid session access token.</li>
<li>Attackers replay the captured access token from their own infrastructure within minutes to hijack active sessions.</li>
<li>Attackers gain unauthorized access to Microsoft 365 services and proceed to establish long-term persistence.</li>
<li>Attackers register rogue Entra devices and add unauthorized authenticator apps to maintain access even after session expiration.</li>
<li>Attackers configure hidden inbox rules to delete or hide sensitive communications (e.g., payroll, bonus) and distribute outbound spam.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The campaign successfully compromised 97 accounts across 79 organizations. Attackers registered at least 48 fake devices in victim directories and leveraged compromised mailboxes for outbound spam campaigns. Specific inbox rules were used to obfuscate activity and hide incoming financial communications.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Restrict the device-code authentication workflow using Microsoft Entra Conditional Access policies to prevent unauthorized device registration.</li>
<li>Audit Microsoft Entra directories for unauthorized or suspicious registered devices.</li>
<li>Review and enforce MFA requirements using Conditional Access policies for all users, all cloud apps, and all client app types unconditionally.</li>
<li>Implement periodic audits of inbox rules across the environment, specifically searching for rules with minimal naming or obscured characters.</li>
<li>Immediately revoke active sessions and reset credentials for any accounts identified with suspicious MFA registration activity.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>phishing</category><category>cloud-security</category><category>aitm</category><category>token-theft</category><category>m365</category></item><item><title>Unauthorized Access to Microsoft 365 Tenants via Compromised ConnectWise Credentials</title><link>https://feed.craftedsignal.io/briefs/2026-10-connectwise-m365-compromise/</link><pubDate>Sat, 17 Oct 2026 06:39:10 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-connectwise-m365-compromise/</guid><description>Threat actors are exploiting a compromised service principal credential belonging to ConnectWise Cloud Backup to gain unauthorized access to 173 Microsoft 365 tenants and potentially escalate privileges.</description><content:encoded><![CDATA[<p>Security researchers have identified an active campaign where unknown threat actors are leveraging a compromised Microsoft 365 (M365) service principal credential associated with ConnectWise Cloud Backup (formerly SkyKick) to access customer environments. The compromised application holds extensive permissions to mailboxes, OneDrive, SharePoint, Teams, and directory data. The attackers have been observed moving through impacted tenants in a scripted manner, obtaining Microsoft Graph tokens to facilitate unauthorized data access.</p>
<p>In addition to direct data access, the threat actors have demonstrated the ability to escalate privileges within affected tenants by modifying application configurations and adding new client secrets to other highly privileged MSP management and security applications. This activity effectively persists the actor's presence and expands their reach across the MSP's downstream client base. ConnectWise has temporarily suspended application access while investigating the breach. Defenders should prioritize auditing Entra ID sign-in and audit logs for the specified application IDs and unauthorized activities occurring from known attacker infrastructure.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker gains access to the ConnectWise Cloud Backup service principal credential via an undisclosed method.</li>
<li>Actor authenticates to Microsoft Graph as the compromised ConnectWise Cloud Backup application using the stolen credential.</li>
<li>Attacker uses the app's inherited permissions to access sensitive organizational data, including Exchange mailboxes, SharePoint, and OneDrive files.</li>
<li>Actor interacts with Entra ID to assign the application Global Administrator privileges.</li>
<li>Actor uses the application context to identify other trusted, privileged MSP or security management applications installed in the tenant.</li>
<li>Actor executes scripts (observed using Python-urllib/3.12 user-agent) to add new client secrets to these trusted applications.</li>
<li>Actor leverages the new client secrets to facilitate long-term persistence and facilitate movement into other downstream customer tenants.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>At least 173 Microsoft 365 customer tenants have been confirmed as compromised. The attack allows for unauthorized access to sensitive mailboxes, SharePoint/OneDrive files, and directory data. Furthermore, the ability to inject credentials into security and MSP management tools creates a high risk of supply chain contamination, potentially allowing the attacker to pivot from a single compromised tenant into the MSP's entire client base.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Disable the ConnectWise Cloud Backup (App ID: 506e08f9-6e9a-4da4-942b-a099a03644ae) and ConnectWise Cloud Management app (App ID: 24205314-2b89-4e07-a2a4-579e898a5640) in your Entra ID environment until confirmed safe by the vendor.</li>
<li>Audit Entra audit logs for any unauthorized modification of application credentials or role assignments involving the specified App IDs since October 13, 2026.</li>
<li>Block the IP address 144.172.64.128 at the network perimeter or within cloud conditional access policies as it has been identified as a source of malicious authentication activity.</li>
<li>Enable and review Microsoft Graph activity logs for abnormal data access patterns or unauthorized token requests.</li>
<li>Perform a credential rotation for all MSP and security-related applications that may have been accessed or modified by the ConnectWise service principal.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">threat</category><category>cloud-security</category><category>supply-chain</category><category>identity-theft</category><category>m365</category><category>storm-0940</category><category>artex</category></item><item><title>China-Linked Espionage Campaign Targeting Global Infrastructure via Integrity Technology Group</title><link>https://feed.craftedsignal.io/briefs/2026-10-integrity-technology-espionage/</link><pubDate>Thu, 08 Oct 2026 19:12:19 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-integrity-technology-espionage/</guid><description>Integrity Technology Group, a Chinese for-profit entity, is conducting multi-year cyber espionage targeting government, healthcare, and religious institutions using automated vulnerability scanning, credential harvesting, and specialized data exfiltration tools.</description><content:encoded><![CDATA[<p>Integrity Technology Group, a China-based for-profit company linked to state security agencies, has conducted widespread espionage against government, law enforcement, healthcare, and religious institutions across Southeast Asia, Africa, and North America since at least 2021. The group leverages a diverse set of penetration testing scripts and automated scanning tools to identify and exploit vulnerabilities in legacy services and web applications. Beyond exploitation, they utilize password spraying against Microsoft 365 and Exchange environments, coupled with XSS-based phishing to harvest credentials.</p>
<p>The group maintains persistence through disguised legitimate software and exfiltrates sensitive email content via custom bots and tools that interface directly with Exchange Web Services. Notably, the group facilitates third-party access to stolen data via a specialized web portal, indicating a high-level operational model that prioritizes data monetization or dissemination. US and UK authorities have sanctioned the group for its role in targeting critical infrastructure. Defenders should prioritize auditing Active Directory replication, monitoring Exchange interface access, and patching the documented vulnerabilities exploited by the group.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial Reconnaissance: Attackers scan for exposed services (ports 21, 22, 53, 80, 443, 1080) using tools like Nmap, masscan, and MicroScan (containing 1,300+ penetration scripts).</li>
<li>Initial Access: Attackers exploit known vulnerabilities (CVE-2014-6278, CVE-2015-3306, CVE-2015-5477, CVE-2016-3081, CVE-2019-11510, CVE-2021-22205, CVE-2021-3199, CVE-2023-22894) or perform password spraying against Microsoft 365/Exchange interfaces.</li>
<li>Credential Harvesting: Actors deploy XSS payloads on legitimate web pages to redirect users to fake login portals to steal usernames and passwords, or use EBurst to brute-force authentication.</li>
<li>Persistence: Attackers install SoftEther VPN, renaming the binary to 'conhost.exe' or 'dllhost.exe' to mimic Windows system processes and establishing persistence upon system reboot.</li>
<li>Credential Access: Attackers execute 'DC.exe' to leverage the DCSync technique, extracting account credentials and trust relationships from domain controllers.</li>
<li>Collection: Attackers deploy the PHP script 'Curlc4.txt' or the 'office-cli' utility to interface with Exchange Web Services (EWS) and copy sensitive mailboxes.</li>
<li>Exfiltration: Stolen email content is compressed and uploaded to attacker-controlled C2 infrastructure, such as 'natcloudservice.com'.</li>
<li>Impact: Stolen information is ingested into a web-based portal to provide third-party access to the intelligence, affecting diverse sectors including law enforcement and healthcare.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>This campaign has resulted in the theft of high-value communications from government agencies, law enforcement, healthcare systems, and religious organizations globally. By enabling third-party access to stolen emails through a web portal, the threat actor significantly increases the potential for downstream exploitation and geopolitical intelligence leverage. The duration of the campaign, active since 2021, suggests large-scale, long-term exposure of sensitive data across multiple continents.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Block known malicious C2 domains including 'dns.studiocloud.xyz' and 'natcloudservice.com' at the DNS resolver level.</li>
<li>Patch the 8 identified vulnerabilities (CVE-2014-6278, CVE-2015-3306, CVE-2015-5477, CVE-2016-3081, CVE-2019-11510, CVE-2021-22205, CVE-2021-3199, CVE-2023-22894) across all perimeter and internal services.</li>
<li>Enforce MFA across all Microsoft 365, VPN, and critical email infrastructure.</li>
<li>Audit Active Directory for anomalous replication events associated with the DCSync technique (e.g., unexpected 'GetNCChanges' calls).</li>
<li>Review web server logs for suspicious MicroScan patterns or XSS injection attempts.</li>
<li>Monitor process creation for 'conhost.exe' or 'dllhost.exe' originating from non-system paths, specifically those associated with VPN binary signatures.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>espionage</category><category>china</category><category>cyber-espionage</category><category>microsoft-365</category><category>dcsync</category></item><item><title>TA419 China-Aligned Credential Phishing Against US AI Policy Experts</title><link>https://feed.craftedsignal.io/briefs/2026-10-ta419-phishing/</link><pubDate>Thu, 01 Oct 2026 10:33:30 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-ta419-phishing/</guid><description>China-aligned actor TA419 is conducting targeted, long-tail credential phishing campaigns against US and Japanese AI policy and national security experts using AitM techniques and a custom Frameless BitB toolkit to capture MFA-protected Microsoft 365 sessions.</description><content:encoded><![CDATA[<p>TA419 is an espionage-motivated threat actor that has been targeting individuals in the defense, energy, and AI policy sectors since at least April 2025. In July 2026, the group launched targeted campaigns against US think tanks and academic experts, impersonating former government officials and subject matter experts. The threat actor employs a low-and-slow approach, beginning with benign social engineering to build rapport before introducing malicious links. Their infrastructure leverages Cloudflare for traffic obfuscation and NameSilo for domain registration. The actor has been observed using actor-controlled VPS infrastructure, identified by a common self-signed TLS certificate (O=Castro Inc), to send phishing emails. This campaign aligns with broader Chinese intelligence objectives concerning AI regulation, supply chain security, and export controls.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>TA419 sends a benign &quot;conversation starter&quot; email posing as a subject matter expert, inviting the target to join a fictitious advisory committee or contribute to a policy report.</li>
<li>Upon receiving a response, the attacker sends a shortened URL link that leads to a first-stage redirect domain (e.g., driftshare[.]co).</li>
<li>The first-stage domain performs a Cloudflare Turnstile verification hidden behind a fake OneDrive loading screen to filter automated security scanners.</li>
<li>The target is redirected to a second-stage, actor-controlled domain (e.g., globalfileshareplatform[.]com) hosting an Adversary-in-the-Middle (AitM) phishing page.</li>
<li>The AitM proxy relays the legitimate Microsoft /common/oauth2/v2.0/authorize request to Microsoft 365 servers in real time.</li>
<li>The proxy injects malicious scripts (/secondary/script.js and /secondary/observe.js) into the proxied page to facilitate the Frameless BitB overlay and capture telemetry.</li>
<li>The target completes the legitimate authentication process, including MFA, while the Frameless BitB toolkit captures the session token and auto-submits one-time codes.</li>
<li>The attacker uses the stolen session cookies for persistent access to the victim's cloud account.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The campaign targets sensitive US AI policy development, including reports on supply chains and export controls. Successful compromise allows TA419 to gain persistent, unauthorized access to cloud-based email and documents, potentially leading to the theft of internal strategy documents, communications with policy experts, and pre-publication research.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Enforce phishing-resistant, origin-bound authentication such as FIDO2/WebAuthn-based security keys (passkeys) for all Microsoft 365 and Entra ID accounts to render AitM session harvesting ineffective.</li>
<li>Review and audit Entra ID sign-in logs for anomalous user-agent strings or impossible travel patterns associated with successful logins that bypassed standard MFA.</li>
<li>Configure email gateways to flag or quarantine emails with links that redirect through known low-reputation domain registrars or temporary file-sharing domains.</li>
<li>Train high-value policy experts to verify the identity of unknown subject-matter outreach through independent, out-of-band communication channels.</li>
<li>Monitor egress traffic for connections to the identified redirect and phishing infrastructure listed in the IOC table.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>phishing</category><category>aitm</category><category>espionage</category><category>credential-theft</category></item><item><title>EvilTokens Phishing-as-a-Service Platform Analysis</title><link>https://feed.craftedsignal.io/briefs/2026-09-eviltokens/</link><pubDate>Tue, 22 Sep 2026 20:01:22 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-eviltokens/</guid><description>EvilTokens is a Phishing-as-a-Service (PhaaS) platform operated by threat actor Storm-2992 that facilitates adversary-in-the-middle (AiTM) attacks by abusing OAuth device code authentication flows to compromise user accounts.</description><content:encoded><![CDATA[<p>EvilTokens is a sophisticated Phishing-as-a-Service (PhaaS) platform that emerged in February 2026, enabling threat actors to conduct large-scale business email compromise (BEC) campaigns. Managed by the actor identified as Storm-2992, the platform provides an AI-driven infrastructure to automate the delivery of phishing lures and the analysis of compromised mailboxes. The service utilizes a multi-stage delivery pipeline to bypass traditional email security gateways and targets OAuth device code authentication flows. By manipulating users into authorizing malicious device codes, attackers can effectively circumvent multifactor authentication (MFA) and gain persistent access to organizational accounts. With over 12,000 inboxes compromised across 10,000 organizations, EvilTokens represents a significant risk to cloud productivity environments. The platform's capabilities include prebuilt templates, AI-assisted target reconnaissance, and automated tools for inbox rule creation to maintain long-term persistence and exfiltrate sensitive data.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker distributes phishing emails containing malicious URLs, PDF attachments, or HTML files designed to bypass email security gateways.</li>
<li>The victim is lured to a malicious landing page that presents a deceptive device code authentication prompt.</li>
<li>The victim enters a provided short code into their browser, unknowingly authorizing an attacker-controlled session.</li>
<li>The platform captures the authorized session token, allowing the attacker to impersonate the user without possessing credentials or completing MFA.</li>
<li>The attacker performs reconnaissance within the victim's environment using Microsoft Graph to map organizational structure and permissions.</li>
<li>The attacker uses AI-assisted tools to search the compromised mailbox for high-value targets and context for further phishing lures.</li>
<li>The attacker establishes persistence by creating malicious inbox rules to conceal ongoing communications and potentially granting access to new malicious devices.</li>
<li>The attacker exfiltrates data from the compromised mailbox, continuing to operate while the stolen token remains valid.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The EvilTokens platform has impacted over 12,000 inboxes across 10,000 organizations, specifically targeting sectors such as financial services, higher education, healthcare, construction, and wholesale distribution. Successful exploitation results in account takeover, unauthorized access to sensitive corporate information via email exfiltration, and the establishment of durable persistence mechanisms that are difficult for standard security tools to detect.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize the following technical controls to mitigate device code phishing:</p>
<ul>
<li>Implement Conditional Access policies to strictly scope device code flow usage to authorized Teams device resource accounts only.</li>
<li>Disable the device code authentication flow organization-wide if it is not explicitly required for hardware-based conferencing solutions.</li>
<li>Configure security policies to exclude the Device Registration Service resource from any exceptions to ensure MFA enforcement.</li>
<li>Deploy spoof protections and mail flow rules to identify and block phishing messages leveraging unauthorized third-party connectors.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>phishing</category><category>cloud-security</category><category>oauth</category><category>bec</category></item><item><title>Slim Spider Targets Brazilian Financial Institutions via Cloud Infrastructure</title><link>https://feed.craftedsignal.io/briefs/2026-09-slim-spider/</link><pubDate>Tue, 08 Sep 2026 16:48:26 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-slim-spider/</guid><description>Slim Spider is a financially motivated actor targeting Brazilian financial organizations by stealing cloud credentials and manipulating DevOps pipelines to gain unauthorized access to digital asset custody systems and payment infrastructure.</description><content:encoded><![CDATA[<p>Slim Spider is a newly identified, Brazil-based threat actor active since at least March 2026, focusing on financial institutions and digital asset platforms. The actor demonstrates deep operational knowledge of Brazilian financial infrastructure, specifically targeting the Pix instant payment system. Their methodology involves sophisticated cloud-native attacks, moving away from traditional retail banking fraud toward direct intrusion into core financial switches. The group employs custom Bash scripts, Go-based backdoors (MikeDor), and automated tooling to enumerate cloud environments, steal temporary credentials from metadata services, and harvest secrets from credential managers. They further expand their reach by compromising Azure DevOps pipelines to deploy malicious implants - such as those impersonating the Sistema de Pagamentos Instantâneos (SPI) - into Kubernetes clusters. These actions are supported by custom reconnaissance and transaction-focused panels that categorize financial endpoints and facilitate fraudulent payments.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial access is established via compromised credentials to gain entry into the target organization's cloud and DevOps environment.</li>
<li>The actor performs cloud environment discovery and enumerates secrets stored within the cloud credential manager.</li>
<li>Custom Bash scripts are deployed to query cloud instance metadata and exfiltrate temporary credentials over socket connections.</li>
<li>The actor uses the 'sed' command to modify and repurpose scripts for digital asset secret extraction.</li>
<li>Attacker deploys malicious pipelines within Azure DevOps to distribute implants across managed Kubernetes clusters.</li>
<li>Backdoors mimicking infrastructure binaries are deployed to nodes to maintain persistence and blend with legitimate tooling.</li>
<li>The actor utilizes the Foundry 'cast' component to derive Ethereum wallet addresses from stolen private keys.</li>
<li>Final objective is achieved by initiating fraudulent bulk Pix payments via the compromised financial infrastructure.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Slim Spider's activities target high-value digital asset custody credentials, which can lead to catastrophic financial loss through the unauthorized transfer of cryptocurrency and fiat currency. By specifically compromising the Pix instant payment infrastructure, the actor gains the ability to execute unauthorized bulk transactions, representing a significant shift from retail banking fraud to direct financial platform exploitation within Brazil.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize monitoring of cloud and CI/CD environments for suspicious credential access and unauthorized pipeline executions.</p>
<ul>
<li>Audit and restrict access to cloud instance metadata services, particularly for containers where such access is not required.</li>
<li>Implement strict monitoring of Azure DevOps pipeline configurations for unauthorized modifications or external source integrations.</li>
<li>Monitor Kubernetes cluster logs for the deployment of unexpected container images or binaries mimicking core infrastructure components.</li>
<li>Enforce strict identity and access management controls for cloud-native secret management services to prevent bulk secret extraction.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>financial-crime</category><category>cloud-security</category><category>devops</category><category>credential-theft</category><category>kubernetes</category></item><item><title>Knight Office M365 AiTM Phishing Kit Analysis</title><link>https://feed.craftedsignal.io/briefs/2026-09-knight-office/</link><pubDate>Tue, 08 Sep 2026 13:38:15 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-knight-office/</guid><description>Knight Office is an Adversary-in-the-Middle (AiTM) phishing kit designed to harvest Microsoft 365 session tokens via sophisticated redirects, enabling MFA bypass and rogue device enrollment.</description><content:encoded><![CDATA[<p>Knight Office is a newly identified Adversary-in-the-Middle (AiTM) phishing kit that facilitates the theft of Microsoft 365 session tokens. First observed in August 2026, the kit utilizes a custom operator console that manages incoming stolen sessions, allowing threat actors to replay these tokens to gain persistent, authenticated access to victim accounts. By intercepting the active session, attackers effectively circumvent password-based security and multi-factor authentication (MFA).</p>
<p>The infrastructure relies on evasion techniques, including the integration of Cloudflare Turnstile to block automated analysis and the use of legitimate platforms, such as the Monday work management service, to facilitate open redirects. Huntress reports that the kit is being used in active campaigns, with multiple identities already compromised through this mechanism. Once access is gained, the actors engage in device registration within Microsoft Entra ID to establish long-term persistence.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The threat actor distributes a spearphishing email with a lure mimicking a document signature request (e.g., DocuSign).</li>
<li>The email contains a malicious link that redirects the user through a legitimate tracking service (e.g., Monday.com) and a compromised Joomla site to evade reputation filters.</li>
<li>The victim is directed to a phishing landing page protected by a Cloudflare Turnstile challenge and a self-signed TLS certificate.</li>
<li>The victim enters their credentials and completes the MFA challenge on the AiTM proxy page.</li>
<li>The Knight Office kit captures the valid session token and transmits it to the operator console at 104.37.188[.]94.</li>
<li>Using the captured session, the threat actor performs a token replay to authenticate to the victim's M365 account.</li>
<li>The attacker completes a rogue device registration within Microsoft Entra ID.</li>
<li>The attacker binds a Windows Hello for Business key credential to the account to maintain persistent, authenticated access.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows attackers to gain unauthorized access to Microsoft 365 environments without triggering MFA alerts. This results in potential business email compromise (BEC), data exfiltration, and persistent access that survives password resets. Observed campaigns have successfully compromised at least nine distinct user identities across various organizations.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize the identification and blocking of session-theft infrastructure.</p>
<ul>
<li>Block the IP address 104.37.188[.]94 at the network perimeter.</li>
<li>Audit Microsoft Entra ID logs for unexpected device registrations and unauthorized Windows Hello for Business (WHfB) key bindings.</li>
<li>Implement FIDO2-based hardware security keys for MFA, as these are resistant to standard AiTM token theft.</li>
<li>Configure Conditional Access policies to require compliant or managed devices to access sensitive M365 resources.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item><item><title>OAuth Consent Phishing Campaigns Targeting Account Permissions</title><link>https://feed.craftedsignal.io/briefs/2026-09-consent-phishing/</link><pubDate>Wed, 02 Sep 2026 00:08:08 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-consent-phishing/</guid><description>Malicious actors are using social engineering to lure victims into granting high-level OAuth permissions to attacker-controlled applications, enabling persistent access that bypasses password and multi-factor authentication.</description><content:encoded><![CDATA[<p>Since late 2025, malicious actors have been leveraging OAuth consent phishing to gain unauthorized access to user accounts. By impersonating government officials, media figures, or event coordinators via commercial messaging applications (CMA), attackers deceive victims into clicking links that lead to legitimate OAuth permission request screens. Unlike credential harvesting, this technique does not require the user's password; instead, it tricks the user into granting a malicious application broad access to their account data, such as email read/write permissions. Once granted, the attacker maintains persistent access to the account even if the victim changes their password. The victim must manually revoke the token through their account security settings to terminate the unauthorized access. This technique effectively bypasses multi-factor authentication (MFA) because the access is authorized via a legitimate service provider protocol.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker creates a malicious application within a legitimate OAuth-enabled platform.</li>
<li>Attacker performs reconnaissance to identify targets and establishes rapport via a commercial messaging application.</li>
<li>Attacker sends a phishing message impersonating a trusted entity to the target.</li>
<li>Victim clicks a link provided in the message, which redirects them to a legitimate service provider's OAuth consent screen.</li>
<li>The OAuth screen prompts the victim to grant specific permissions (e.g., read email, access files) to the attacker-controlled application.</li>
<li>Victim approves the consent request, unknowingly granting the attacker an access token.</li>
<li>Attacker utilizes the granted token to access the victim's account, exfiltrate data, or send further phishing messages from the compromised account.</li>
<li>Attacker maintains persistence by keeping the authorized application active in the account's security settings.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Victims targeted include prominent individuals, family members, and personal acquaintances. Successful exploitation results in persistent, unauthenticated access to sensitive data and the ability for the attacker to communicate on behalf of the victim. Because access is granted at the application level, standard security measures like password resets or MFA do not remove the adversary's access, leading to long-term compromise of account communications and associated cloud data.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize defensive efforts to audit and restrict OAuth applications and monitor for unauthorized token grants.</p>
<ul>
<li>Implement an enterprise OAuth application policy to restrict or require administrative approval for users to grant permissions to new or unverified third-party applications.</li>
<li>Review current OAuth application permissions in SaaS/cloud environments to identify and revoke access for suspicious, unused, or unauthorized applications.</li>
<li>Educate users on the distinction between entering credentials and granting application-level access permissions.</li>
<li>Monitor logs for unusual OAuth grant events, specifically focusing on applications with high-privilege scopes (e.g., Mail.Read, Mail.Send, Files.ReadWrite) granted to non-standard or external publishers.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>phishing</category><category>oauth</category><category>account-takeover</category><category>cloud-security</category><category>identity</category></item><item><title>Russian Threat Clusters UNC6293, UNC7005, and UNC5976 Targeted OAuth and Device Code Phishing Campaigns</title><link>https://feed.craftedsignal.io/briefs/2026-08-russian-oauth-phishing/</link><pubDate>Thu, 20 Aug 2026 20:18:11 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-russian-oauth-phishing/</guid><description>Three suspected Russian threat clusters are actively conducting targeted phishing campaigns using OAuth abuse, device code manipulation, and AitM attacks via compromised Wi-Fi gateways to hijack credentials and deploy infostealers.</description><content:encoded><![CDATA[<p>Three distinct threat clusters - UNC6293, UNC7005, and UNC5976 - attributed to Russian cyber espionage interests are conducting highly targeted, adaptive phishing campaigns. These clusters focus on personnel within academia, aerospace, defense, government, and think tanks in the U.S. and Europe. The groups employ a variety of sophisticated techniques, including OAuth token theft, device code phishing against Microsoft Entra ID, and WhatsApp account linking abuse. Recent operations, such as those coordinated with the 'CaptiveCrunch' campaign, involve compromising Wi-Fi gateways to facilitate adversary-in-the-middle (AitM) attacks. Once access is gained, these actors leverage commodity infostealers like Vidar, Atomic (AMOS), and custom tooling such as the CornFlake RAT and the ChocoShell PowerShell infostealer to exfiltrate session tokens, browser data, and keystrokes. The use of lures often includes diplomatic invitations, conference registration, and file-sharing themes to induce user interaction.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial contact via spearphishing emails containing malicious links or redirection through compromised captive Wi-Fi portals (CaptiveCrunch).</li>
<li>User interacts with fake login pages (OAuth/Device Code phishing) that mimic legitimate services like Google, Microsoft, or WhatsApp.</li>
<li>Victim performs legitimate authentication, which the attacker intercepts to capture session tokens or verification codes.</li>
<li>Attacker-controlled infrastructure (often hosted on illegitimate Google Cloud projects) processes the intercepted tokens.</li>
<li>Deployment of initial-stage payloads, such as the HEADRUSH Excel plugin, HTA files, or &quot;summit companion&quot; applications.</li>
<li>Execution of infostealers (Vidar, Atomic) or modular RATs (CornFlake, ChocoShell) to enumerate the environment and steal session cookies/SSO tokens.</li>
<li>Exfiltration of sensitive data, surveillance recordings, and credentials to a centralized C2 panel branded as 'FruitStone'.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful compromises result in unauthorized account access, theft of session tokens, and long-term espionage through the collection of keystrokes, screenshots, audio, and video recordings. Targets include high-value personnel in the defense industrial base and government sectors. The use of AitM techniques on public Wi-Fi gateways potentially impacts large numbers of users, though the targeted nature of the secondary phishing attempts suggests a focus on specific individuals of interest.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Implement FIDO2/WebAuthn-based phishing-resistant MFA for all Google and Microsoft Entra ID services to mitigate OAuth and device code phishing.</li>
<li>Enforce conditional access policies that restrict logins from suspicious cloud-hosted projects or unrecognized network locations.</li>
<li>Monitor for the use of suspicious Excel plugins and the execution of HTA files or PowerShell scripts associated with the 'ClickFix' lure technique.</li>
<li>Advise users to exercise extreme caution when joining public Wi-Fi networks and to use organizational VPNs that enforce traffic inspection.</li>
<li>Review endpoint logs for the execution of ChocoShell or CornFlake RAT activity patterns on Windows and macOS workstations.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>phishing</category><category>espionage</category><category>oauth-abuse</category><category>aitm</category><category>credential-theft</category></item><item><title>Phishing-as-a-Service Campaign Impersonating RingCentral for M365 Credential Theft</title><link>https://feed.craftedsignal.io/briefs/2026-08-phishing-ringcentral-m365/</link><pubDate>Wed, 05 Aug 2026 09:12:24 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-phishing-ringcentral-m365/</guid><description>Threat actors are leveraging a phishing-as-a-service platform to conduct spearphishing attacks impersonating RingCentral, targeting Microsoft 365 credentials.</description><content:encoded><![CDATA[<p>Security researchers have identified an active phishing-as-a-service campaign that impersonates RingCentral communications to facilitate the theft of Microsoft 365 user credentials. This campaign relies on the delivery of deceptive emails that mimic legitimate RingCentral notifications, redirecting users to malicious phishing pages designed to capture authentication tokens and passwords. By utilizing a phishing-as-a-service model, threat actors are able to scale these campaigns effectively, bypassing traditional email filters by leveraging legitimate brand trust associated with RingCentral. The primary objective is the compromise of enterprise accounts, providing attackers with a foothold for lateral movement, data exfiltration, or further social engineering within the target organization. This threat is significant due to the prevalence of Microsoft 365 in enterprise environments and the difficulty of detecting high-quality brand impersonation via standard email security gateways.</p>
<h2 id="impact">Impact</h2>
<p>The campaign facilitates the unauthorized access to corporate Microsoft 365 accounts. Successful compromise allows attackers to gain access to sensitive internal communications, documents, and corporate data. While specific victim numbers are not disclosed, the use of a phishing-as-a-service platform indicates the threat is widespread and designed for high-volume targeting across various business sectors.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Implement and enforce phishing-resistant Multi-Factor Authentication (MFA), such as FIDO2/WebAuthn, for all Microsoft 365 accounts to mitigate credential harvesting success.</li>
<li>Enable and configure Microsoft 365 Defender for Office 365 &quot;Safe Links&quot; and &quot;Safe Attachments&quot; to detect and block malicious URLs at the time of click.</li>
<li>Review and harden organizational email security policies, ensuring SPF, DKIM, and DMARC are strictly enforced for inbound mail.</li>
<li>Train employees to verify the sender address and hover over links in incoming communications, specifically those referencing urgent &quot;RingCentral&quot; notifications.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category></item><item><title>Monitoring High-Risk Sign-ins in Microsoft Entra ID</title><link>https://feed.craftedsignal.io/briefs/2026-08-entra-high-risk-signin/</link><pubDate>Sat, 01 Aug 2026 01:42:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-entra-high-risk-signin/</guid><description>This brief details the detection of compromised cloud accounts by leveraging Microsoft Identity Protection telemetry to identify high-risk authentication events indicative of credential abuse.</description><content:encoded><![CDATA[<p>Microsoft Entra ID utilizes machine learning and heuristic analysis through Microsoft Identity Protection to evaluate the risk associated with every authentication request. When a sign-in event is flagged with a 'high' risk level, it indicates a strong likelihood of credential compromise or unauthorized access. This detection mechanism is critical for Security Operations centers as it enables the identification of accounts under active attack, even when the threat actor is using valid credentials. Defenders should focus on these high-risk events to catch account takeovers in progress before the attacker can perform lateral movement or data exfiltration within the cloud environment.</p>
<h2 id="impact">Impact</h2>
<p>Successful compromise of cloud accounts through valid credentials can lead to unauthorized access to sensitive corporate data, lateral movement within the cloud ecosystem, and persistent access to enterprise applications. High-risk sign-ins serve as a primary indicator that an account's security posture has been degraded, potentially affecting any sector relying on Microsoft Entra ID for identity and access management.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM to trigger alerts on high-risk sign-in logs originating from Microsoft Entra ID.</li>
<li>Integrate Microsoft Entra ID sign-in logs into your security analytics platform to correlate risk scores with geolocation and device telemetry.</li>
<li>Review and enforce Conditional Access policies that automatically block or require MFA for sign-ins designated as 'high' risk by Microsoft Identity Protection.</li>
<li>Establish a standardized triage workflow for 'high' risk sign-ins, including account suspension and token revocation for confirmed unauthorized access.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>cloud</category><category>identity</category><category>account-compromise</category></item><item><title>UAT-7810 Expands ORB Networks with New Malware; ARToken Phishing-as-a-Service and Device Vulnerabilities Highlighted</title><link>https://feed.craftedsignal.io/briefs/2026-07-uat-7810-orb-networks-and-multi-threats/</link><pubDate>Thu, 09 Jul 2026 18:01:50 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-uat-7810-orb-networks-and-multi-threats/</guid><description>The China-nexus threat actor UAT-7810 is expanding its Operational Relay Box (ORB) networks by exploiting known vulnerabilities in unpatched Ruckus and ASUS routers to deploy custom backdoors like LONGLEASH and DOGLEASH, while other threats include the ARToken Phishing-as-a-Service platform targeting Microsoft 365, critical flaws in AirDrop/Quick Share, and a backdoor in Tenda router firmware.</description><content:encoded><![CDATA[<p>Cisco Talos reports that the China-nexus threat actor UAT-7810 is actively expanding its Operational Relay Box (ORB) networks, which began around 2026, by exploiting known vulnerabilities in unpatched Ruckus and ASUS routers. This campaign involves the deployment of new custom malware, specifically the upgraded &quot;LONGLEASH&quot; and &quot;DOGLEASH&quot; backdoors, to establish covert infrastructure used by other APT groups to mask their origins and launch attacks against high-value targets. This brief also highlights other significant threats: the &quot;ARToken&quot; Phishing-as-a-Service platform targeting Microsoft 365 for credential theft and data exfiltration, critical vulnerabilities in Apple's AirDrop and Google's Quick Share allowing nearby attackers to crash services, and a hidden authentication backdoor discovered in Tenda router firmware granting administrative access. The continuous development of sophisticated, multi-platform tools by UAT-7810 underscores their investment in resilient and evasive infrastructure.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>UAT-7810 identifies and exploits known, unpatched vulnerabilities in internet-facing Ruckus and ASUS routers.</li>
<li>Upon successful exploitation, the threat actor gains unauthorized access and deploys custom malware, including &quot;LONGLEASH&quot; and &quot;DOGLEASH&quot; backdoors, onto the compromised router.</li>
<li>The compromised routers are integrated into UAT-7810's Operational Relay Box (ORB) network, establishing a covert, decentralized proxy infrastructure.</li>
<li>The ORB network is then utilized to mask the true origin of subsequent malicious traffic, significantly enhancing attacker anonymity and evasion.</li>
<li>Malicious traffic from various APT groups is routed through these seemingly innocuous ORB nodes, bypassing traditional perimeter defenses.</li>
<li>UAT-7810 provides this resilient infrastructure to other APT groups, enabling them to launch sophisticated, evasive attacks.</li>
<li>These secondary threat actors leverage the ORB network to target high-value organizations for intelligence gathering, espionage, or other objectives.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The expansion of UAT-7810's ORB networks creates significant blind spots for defenders, allowing other APTs to mask their origins and route malicious traffic through seemingly benign infrastructure. This directly bypasses traditional perimeter defenses, making attribution and mitigation extremely difficult. If successful, organizations face severe consequences including data exfiltration, persistent unauthorized access, and potential further compromise from other APTs leveraging this infrastructure. Additionally, the ARToken Phishing-as-a-Service platform threatens Microsoft 365 users with widespread credential theft, email access, BEC operations, and SharePoint exfiltration, while AirDrop and Quick Share flaws can lead to denial-of-service on user devices, and the Tenda router backdoor grants full administrative control over network edge devices.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Ensure all edge devices, specifically Ruckus and ASUS routers, are fully patched against known vulnerabilities that UAT-7810 exploits.</li>
<li>Monitor network traffic for unusual proxying behavior or unauthorized connections on devices that typically lack complex services, leveraging insights from the Talos blog post on UAT-7810.</li>
<li>Block the provided malware SHA256 hashes (e.g., <code>9f1f11a708d393e0a4109ae189bc64f1f3e312653dcf317a2bd406f18ffcc507</code>) at endpoint security solutions and network gateways.</li>
<li>Implement robust phishing detection and user education against sophisticated campaigns like those facilitated by the ARToken platform, focusing on Microsoft 365 environments.</li>
<li>Apply security updates to Apple and Google devices to mitigate AirDrop and Quick Share vulnerabilities that could lead to crashes.</li>
<li>Verify firmware integrity and update Tenda routers to patched versions or consider alternative devices if no fix is available, given the hidden backdoor allows administrative access.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>China-nexus</category><category>APT</category><category>router-exploitation</category><category>ORB-network</category><category>backdoor</category><category>phishing-as-a-service</category><category>credential-theft</category><category>data-exfiltration</category><category>denial-of-service</category><category>n-day-vulnerability</category><category>active-exploitation</category></item><item><title>Microsoft 365 OAuth Device Code Phishing Exploits Non-Compliant Devices</title><link>https://feed.craftedsignal.io/briefs/2026-06-m365-device-code-phishing/</link><pubDate>Thu, 18 Jun 2026 15:37:29 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-06-m365-device-code-phishing/</guid><description>Attackers are actively exploiting the OAuth device code flow in Microsoft 365 to bypass multi-factor authentication (MFA) and gain initial access, leveraging phishing kits like Kali365 and tradecraft similar to Storm-2372 to harvest MFA-satisfied tokens from non-compliant or attacker-controlled devices, and subsequently establishing persistence through device registration.</description><content:encoded><![CDATA[<p>Threat actors are increasingly utilizing sophisticated phishing techniques, specifically targeting the OAuth device code flow within Microsoft 365, to circumvent multi-factor authentication (MFA). Campaigns observed leveraging tools like Kali365 and tradecraft similar to Storm-2372, dating back at least to early 2025 according to referenced reports, lure victims into authorizing access on attacker-controlled or personal non-compliant devices. This method exploits the legitimate device code authentication mechanism by directing users to genuine Microsoft endpoints to complete their login and MFA, while the attacker's phishing kit polls the token endpoint in the background to harvest an MFA-satisfied access token. This approach bypasses traditional MFA protections by manipulating the authorization process itself, granting attackers persistent access and enabling subsequent malicious activities such as reconnaissance and data exfiltration.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access / Phishing Lure</strong>: Attackers distribute phishing lures (e.g., email, instant message) containing a unique device code and instructions for the victim to visit a legitimate Microsoft verification URL (e.g., microsoft.com/devicelogin).</li>
<li><strong>Device Code Entry</strong>: The victim navigates to the genuine Microsoft verification URL and, as instructed by the lure, enters the attacker-provided device code.</li>
<li><strong>Authentication and MFA</strong>: The victim is prompted to authenticate with their Microsoft 365 credentials and completes multi-factor authentication (MFA) on a legitimate Microsoft login page.</li>
<li><strong>Token Harvesting</strong>: Concurrently, the attacker's phishing kit, having initiated the device code flow, continuously polls the token endpoint. Upon successful authentication and MFA by the victim, the kit intercepts and harvests the resulting MFA-satisfied refresh token and access token. This often occurs from a device not compliant with the organization's security policies.</li>
<li><strong>Unauthorized Access</strong>: The attacker uses the harvested tokens to gain unauthorized access to the victim's Microsoft 365 resources (e.g., Exchange Online, SharePoint Online, Microsoft Teams, OneDrive).</li>
<li><strong>Persistence Establishment</strong>: To maintain access, attackers may register a new device to the compromised user's account, establishing Primary Refresh Token (PRT) persistence that survives password changes.</li>
<li><strong>Reconnaissance and Lateral Movement</strong>: With persistent access, the attacker performs reconnaissance within the victim's environment, enumerating mailboxes, files, and other cloud resources, and potentially moving laterally to other connected applications or services.</li>
<li><strong>Impact and Exfiltration</strong>: Finally, the attacker may exfiltrate sensitive data, initiate further attacks, or manipulate cloud resources based on their objectives.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful device code phishing attacks result in complete bypass of multi-factor authentication, granting attackers MFA-satisfied access tokens that provide persistent and unauthorized entry to critical Microsoft 365 services such as Exchange Online, SharePoint Online, and Teams. This leads to immediate compromise of user accounts, enabling data exfiltration, email account takeover, and access to sensitive documents. Attackers can also establish long-term persistence by registering new devices, making detection and remediation more challenging. While no specific victim counts or industry sectors are provided in the source, the technique is broadly applicable to any organization utilizing Microsoft 365, posing a significant risk of intellectual property theft, financial fraud, and business disruption.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &quot;M365 OAuth Device Code Grant from Non-Compliant Device&quot; to your SIEM to detect anomalous device code authentication originating from unmanaged endpoints.</li>
<li>Monitor <code>o365.audit</code> logs for <code>RequestType: &quot;Cmsi:Cmsi&quot;</code> events, paying close attention to <code>o365.audit.DeviceProperties</code> (especially <code>Value: &quot;False&quot;</code>) and the associated <code>source.ip</code> and <code>source.as.organization.name</code> for unusual origins.</li>
<li>Implement Conditional Access policies in Microsoft Entra ID to restrict device code authentication to only necessary users and applications, and enforce requirements for compliant or hybrid-joined devices.</li>
<li>Deploy the Sigma rule &quot;M365 Suspicious Device Registration by User&quot; to identify attempts by threat actors to establish persistence post-compromise by registering new devices.</li>
<li>Educate users about the risks of device code phishing, emphasizing vigilance against unsolicited requests to enter codes on authentication pages and the importance of verifying the authenticity of login prompts.</li>
<li>For confirmed compromises, immediately revoke all refresh tokens for the affected user, reset their credentials, and review <code>azure.signinlogs</code>, <code>azure.graphactivitylogs</code>, and <code>azure.auditlogs</code> for post-compromise activity and remove any unauthorized device registrations.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cloud</category><category>saas</category><category>identity</category><category>microsoft-365</category><category>initial-access</category><category>phishing</category><category>persistence</category></item><item><title>M365 Exchange Inbox Forwarding Rule Created</title><link>https://feed.craftedsignal.io/briefs/2026-05-m365-exchange-inbox-rule/</link><pubDate>Fri, 29 May 2026 13:29:13 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-m365-exchange-inbox-rule/</guid><description>This rule detects the creation of new inbox forwarding rules in Microsoft 365, which can be abused by attackers to intercept and exfiltrate email data to external addresses.</description><content:encoded><![CDATA[<p>Attackers can abuse Microsoft 365 Exchange inbox rules to intercept and exfiltrate email data without making organization-wide configuration changes or having the corresponding privileges. This involves creating or modifying inbox rules to forward emails to externally controlled accounts. The detection rule focuses on successful events that specify forwarding parameters, thus identifying potential unauthorized email redirection activities. This activity is particularly concerning as it allows attackers to maintain persistence and access sensitive information without direct compromise of user credentials, blending in with legitimate administrative functions. A recent AI-enabled device code phishing campaign in April 2026 further highlights the importance of monitoring Exchange configurations for malicious rule creation.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial Access: An attacker gains initial access to a user's M365 account, possibly through phishing or credential stuffing.</li>
<li>Privilege Escalation (if needed): The attacker may attempt to escalate privileges within the compromised account or lateral movement to an account with appropriate permissions.</li>
<li>Rule Creation/Modification: The attacker uses Exchange PowerShell cmdlets like <code>New-InboxRule</code>, <code>Set-InboxRule</code>, <code>Set-Mailbox</code>, <code>Set-TransportRule</code>, or <code>New-TransportRule</code> to create a new inbox rule or modify an existing one.</li>
<li>Forwarding Configuration: The attacker configures the inbox rule to forward emails based on specific conditions to an external email address they control, using parameters such as <code>ForwardTo</code>, <code>ForwardAsAttachmentTo</code>, or <code>RedirectTo</code>.</li>
<li>Data Collection: Emails that meet the defined conditions are automatically forwarded to the attacker's external email address.</li>
<li>Data Exfiltration: The attacker collects sensitive information from the forwarded emails.</li>
<li>Persistence: The inbox rule remains active, providing ongoing access to email data as it arrives in the user's mailbox.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to the exfiltration of sensitive company information, including confidential documents, financial data, and customer information. This can result in financial loss, reputational damage, and legal liabilities. The number of victims and the extent of the damage depend on the scope of the compromised accounts and the sensitivity of the data being forwarded.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Detect M365 Exchange Inbox Rule Created to External Domain</code> to your SIEM and tune for your environment to identify suspicious forwarding rules.</li>
<li>Review the Microsoft 365 audit logs for events related to <code>New-InboxRule</code>, <code>Set-InboxRule</code>, <code>Set-Mailbox</code>, <code>Set-TransportRule</code>, and <code>New-TransportRule</code> where the forwarding address is external to the organization, as outlined in the rule description.</li>
<li>Implement multi-factor authentication (MFA) for all user accounts to reduce the risk of initial access via compromised credentials.</li>
<li>Regularly review and update email security policies to prevent unauthorized forwarding rules, as mentioned in the references.</li>
<li>Enable Sysmon process-creation logging to improve detection of malicious PowerShell activity, and investigate related detections.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>cloud</category><category>saas</category><category>email</category><category>microsoft_365</category><category>configuration_audit</category><category>email_collection</category></item><item><title>M365 Exchange Inbox Rule with Obfuscated Name</title><link>https://feed.craftedsignal.io/briefs/2026-05-m365-exchange-inbox-rule-obfuscated-name/</link><pubDate>Fri, 29 May 2026 10:26:54 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-m365-exchange-inbox-rule-obfuscated-name/</guid><description>This rule detects when a Microsoft Exchange inbox rule is created or modified with a name composed only of special characters, which adversaries may use to evade detection and hide malicious forwarding or deletion rules.</description><content:encoded><![CDATA[<p>This detection rule identifies when a Microsoft Exchange inbox rule is created or modified with a name consisting solely of special characters. The rule focuses on <code>New-InboxRule</code> and <code>Set-InboxRule</code> events, analyzing the <code>o365.audit.ObjectId</code> field, which encodes the mailbox identity and rule name. Attackers obfuscate rule names to evade detection, hide malicious forwarding or deletion rules, and blend in with benign audit noise. This activity can be indicative of a compromised account being used to exfiltrate data or redirect sensitive information. Defenders should investigate flagged events to determine the actor involved and any malicious actions associated with the obfuscated inbox rule, particularly checking forwarding and redirect parameters for external destinations. The activity was observed in April 2026 and leverages a combination of AI and device code phishing.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to a user's Microsoft 365 account, potentially through phishing.</li>
<li>The attacker authenticates to Exchange Online using the compromised credentials.</li>
<li>The attacker executes either the <code>New-InboxRule</code> or <code>Set-InboxRule</code> cmdlet via PowerShell or the Exchange Management Shell.</li>
<li>The attacker crafts an inbox rule with a name consisting only of special characters (e.g., &quot;!@#$%^&quot;).</li>
<li>The <code>o365.audit.ObjectId</code> field in the audit logs records the obfuscated inbox rule name.</li>
<li>The inbox rule is configured to forward emails to an external address, delete emails containing specific keywords, or move emails to a hidden folder.</li>
<li>The rule activates and begins to process incoming emails according to the attacker's configuration.</li>
<li>The attacker achieves their objective, such as exfiltrating sensitive information or covering their tracks by deleting evidence.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack can lead to data exfiltration, where sensitive emails are forwarded to an attacker-controlled address. It can also lead to data loss if emails are deleted or moved to inaccessible folders. Organizations may face compliance violations, financial losses, and reputational damage as a result of compromised email accounts. The impact depends on the sensitivity of the information handled by the compromised account.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM to detect the creation or modification of Exchange inbox rules with obfuscated names, focusing on the <code>o365.audit.ObjectId</code> field.</li>
<li>Review forwarding and redirect parameters (<code>ForwardTo</code>, <code>ForwardAsAttachmentTo</code>, <code>ForwardingAddress</code>, <code>RedirectTo</code>, <code>RedirectToRecipients</code>) for external destinations when a suspicious inbox rule is detected.</li>
<li>Monitor Entra ID sign-in logs for unusual login activity associated with users who created or modified suspicious inbox rules, correlating <code>o365.audit.UserId</code> with <code>source.ip</code>.</li>
<li>Inspect the <code>o365.audit.Parameters</code> for suspicious actions such as <code>DeleteMessage</code>, <code>MoveToFolder</code>, or <code>SubjectContainsWords</code> in flagged events.</li>
<li>Implement multi-factor authentication (MFA) to reduce the risk of account compromise.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>cloud</category><category>saas</category><category>email</category><category>microsoft 365</category><category>exchange</category><category>defense evasion</category><category>persistence</category></item><item><title>Entra ID Kali365 User-Agent Detected</title><link>https://feed.craftedsignal.io/briefs/2026-05-entra-id-kali365/</link><pubDate>Wed, 27 May 2026 12:38:39 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-entra-id-kali365/</guid><description>This brief detects the use of the Kali365 user agent, a phishing-as-a-service platform, within Entra ID or Microsoft 365 logs, indicating potential account compromise through stolen tokens.</description><content:encoded><![CDATA[<p>The Kali365 (Kali365 Live) platform is a phishing-as-a-service (PhaaS) tool distributed via Telegram that automates OAuth 2.0 device code phishing and adversary-in-the-middle (AiTM) session capture against Microsoft 365 and Microsoft Entra ID. This platform provides affiliates with AI-generated lures, automated device code phishing campaigns, and OAuth token capture. The Kali365 Electron desktop client identifies itself with the user agent <code>kali365-live/1.0.0</code> when polling for and replaying captured OAuth tokens. Detection of this user agent in Entra ID sign-in logs, Entra ID audit logs, or the Microsoft 365 unified audit log indicates that an attacker-controlled Kali365 client is interacting with the tenant using stolen tokens. Given its nature as a criminal service with no legitimate enterprise use, this user agent serves as a high-fidelity indicator of active account compromise.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains initial access through phishing, sending a lure with a Microsoft device code.</li>
<li>The victim enters the device code on a legitimate Microsoft verification page.</li>
<li>The victim unknowingly authorizes the attacker's Kali365 application.</li>
<li>Kali365 captures the resulting OAuth access and refresh tokens.</li>
<li>The attacker uses the stolen OAuth tokens to access Microsoft 365 resources.</li>
<li>The attacker uses the access to perform actions such as accessing mailboxes, creating inbox rules, or downloading files from OneDrive/SharePoint.</li>
<li>The attacker maintains persistence via device registration in Entra ID.</li>
<li>The attacker achieves persistent, MFA-free access to Microsoft 365 resources like Outlook, Teams, and OneDrive.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack leveraging Kali365 can result in unauthorized access to sensitive data, compromised accounts, and persistent access to Microsoft 365 resources. The impact includes potential data exfiltration, business email compromise, and lateral movement within the organization. Given the criminal nature of the Kali365 service, affected organizations face significant reputational and financial risks. Successful exploitation allows attackers to bypass MFA and maintain persistent access, making detection and remediation critical.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the &quot;Entra ID Kali365 Default User-Agent Detected&quot; rule to detect the Kali365 user agent in your environment.</li>
<li>Investigate any alerts triggered by the rule, focusing on the user and source IP involved, using the provided triage steps in the rule's note.</li>
<li>Block the Kali365 infrastructure IOCs (216.203.20.95, 162.243.166.119, 199.91.220.111) at your network perimeter.</li>
<li>Review and remove any rogue device registrations created by the user, as identified in the rule's note.</li>
<li>Apply Conditional Access policies to the device code grant to require managed/compliant devices.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cloud</category><category>entra_id</category><category>o365</category><category>initial_access</category><category>credential_access</category></item><item><title>M365 or Entra ID Identity Sign-in from a Suspicious Source</title><link>https://feed.craftedsignal.io/briefs/2026-05-m365-entra-suspicious-source/</link><pubDate>Fri, 22 May 2026 18:36:15 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-m365-entra-suspicious-source/</guid><description>This rule correlates Entra-ID or Microsoft 365 mail successful sign-in events with network security alerts by source address, indicating potential initial access via compromised credentials.</description><content:encoded><![CDATA[<p>This detection rule correlates successful sign-in events in Entra ID (formerly Azure AD) or Microsoft 365 with network security alerts originating from the same source IP address. The rule aims to identify instances where an adversary might trigger network security alerts, such as those related to IP reputation or anomalous network activity, before successfully gaining access to cloud resources. This approach helps detect potentially compromised accounts used to access cloud services from suspicious or malicious sources. The rule leverages data from O365 audit logs, Azure sign-in logs, and generic network security alerts, providing a higher-order correlation for enhanced threat detection.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker compromises user credentials through phishing or other means.</li>
<li>The attacker attempts to access cloud resources (Entra ID or Microsoft 365) from a suspicious IP address.</li>
<li>The suspicious IP triggers a network security alert based on reputation or anomalous activity.</li>
<li>The attacker successfully authenticates to Entra ID or Microsoft 365 using the compromised credentials.</li>
<li>The successful sign-in event is logged in Azure sign-in logs or O365 audit logs.</li>
<li>The rule correlates the network security alert and the successful sign-in event based on the source IP address.</li>
<li>The attacker gains initial access to the cloud environment.</li>
<li>The attacker performs malicious actions within the cloud environment, such as accessing mail items (MailItemsAccessed).</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack can lead to unauthorized access to sensitive data, lateral movement within the cloud environment, and potential data exfiltration.  Compromised accounts could be used to send phishing emails, modify configurations, or deploy malicious applications, leading to significant business disruption and financial loss. The severity is high due to the potential for broad access and control within the targeted cloud environment.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the &quot;M365 or Entra ID Identity Sign-in from a Suspicious Source&quot; rule to your SIEM and tune for your environment.</li>
<li>Investigate all alerts associated with the source IP address identified by the rule to determine the root cause of the network security alert.</li>
<li>Enable multi-factor authentication (MFA) for all users to mitigate the risk of credential compromise, as suggested in the Microsoft security best practices <a href="https://docs.microsoft.com/en-us/azure/security/fundamentals/identity-management-best-practices">outlined</a>.</li>
<li>Review and update logging and audit policies based on incident response data to improve the mean time to detect (MTTD) and the mean time to respond (MTTR).</li>
<li>Use the provided investigation guide within the rule description to triage and analyze detected incidents efficiently.</li>
<li>Enable Azure Fleet integration and Office 365 Logs Fleet integration for proper log collection as per the rule's [Setup] instructions.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>initial-access</category><category>cloud</category><category>entra-id</category><category>m365</category></item><item><title>M365 or Entra ID Identity Sign-in from a Suspicious Source</title><link>https://feed.craftedsignal.io/briefs/2026-05-m365-entra-suspicious-signin/</link><pubDate>Thu, 21 May 2026 20:25:41 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-m365-entra-suspicious-signin/</guid><description>This rule correlates Entra-ID or Microsoft 365 mail successful sign-in events with network security alerts by source address, indicating potential initial access by adversaries triggering network security alerts before accessing cloud resources.</description><content:encoded><![CDATA[<p>This detection rule identifies instances where successful sign-in events in Microsoft 365 (M365) or Entra ID are associated with suspicious network activity. The rule correlates sign-in logs with network security alerts based on the source IP address. Attackers might trigger network security alerts, such as those related to IP reputation or anomalous behavior, before attempting to access cloud resources. This approach allows defenders to detect potentially compromised accounts based on anomalous network behavior preceding cloud access. The rule is designed to detect initial access attempts and requires Azure Fleet, Office 365 Logs Fleet integration, Filebeat module, or similarly structured data.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker compromises a user's credentials through methods like phishing or credential stuffing.</li>
<li>The attacker attempts to access network resources from a suspicious IP address.</li>
<li>This activity triggers a network security alert based on reputation or other anomalies.</li>
<li>The attacker successfully authenticates to Entra ID or Microsoft 365 from the same suspicious IP address.</li>
<li>The rule correlates the successful sign-in event with the network security alert, flagging the activity.</li>
<li>The attacker accesses mail items within Microsoft 365.</li>
<li>The attacker moves laterally within the cloud environment, accessing other resources.</li>
<li>The attacker achieves their objective, such as data exfiltration or persistence.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack could lead to unauthorized access to sensitive data, compromised accounts, and lateral movement within the cloud environment. The scope of the impact depends on the permissions and roles associated with the compromised account. This can lead to data breaches, financial loss, and reputational damage. Identifying these incidents early can significantly reduce the potential damage and contain the breach.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Entra ID or Microsoft 365 Sign-in with Network Alert</code> to your SIEM to detect correlated sign-in and network alert events.</li>
<li>Investigate alerts generated by the <code>Entra ID or Microsoft 365 Sign-in with Network Alert</code> rule by reviewing associated network alerts and sign-in logs.</li>
<li>Enable and review Azure and Microsoft 365 audit logs to provide the necessary data for the Sigma rule.</li>
<li>Ensure network security alerts are configured to detect suspicious activity such as unusual source IPs as referenced by the logic in the provided ESQL query.</li>
<li>Implement multi-factor authentication to mitigate credential compromise, as referenced in the Microsoft best practices link.</li>
<li>Use the Microsoft recommended best practices for user account monitoring and protection.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cloud</category><category>saas</category><category>azure</category><category>entra_id</category><category>microsoft_365</category><category>initial_access</category></item><item><title>Storm-2949 Abuses SSPR for Cloud-Wide Data Exfiltration</title><link>https://feed.craftedsignal.io/briefs/2026-05-storm-2949-cloud-breach/</link><pubDate>Mon, 18 May 2026 23:34:36 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-storm-2949-cloud-breach/</guid><description>Storm-2949 compromised cloud identities through social engineering and abused the Self-Service Password Reset (SSPR) process to bypass MFA and gain persistent access, enabling lateral movement and data exfiltration from Microsoft 365 and Azure environments.</description><content:encoded><![CDATA[<p>Storm-2949 conducted a multi-layered attack targeting cloud infrastructure by exploiting compromised identities rather than relying on traditional malware. Starting in May 2026, the actor targeted specific users through social engineering, abusing Microsoft's Self-Service Password Reset (SSPR) to bypass MFA and gain persistent access to Microsoft Entra ID. Once inside, they moved laterally through the victim's Microsoft 365 applications, file-hosting services, and Azure-hosted production environments, exfiltrating sensitive data. This campaign highlights the increasing focus of threat actors on cloud identities and control plane access, using legitimate administrative features for malicious purposes. The attack leveraged the Microsoft Graph API for directory discovery, enumerating users and applications within the tenant to identify high-value targets.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access via Social Engineering:</strong> Storm-2949 initiates the SSPR process for targeted users, then uses social engineering (e.g., impersonating IT support) to trick them into approving MFA prompts.</li>
<li><strong>MFA Bypass:</strong> Once the user approves the prompts, the attacker resets the password and removes existing authentication methods (phone numbers, email addresses, Microsoft Authenticator registrations).</li>
<li><strong>Persistence via New MFA Enrollment:</strong> The attacker re-enables MFA and registers a new authentication method on their own device, granting themselves persistent access.</li>
<li><strong>Directory Discovery:</strong> Using compromised credentials, the attacker conducts directory discovery using Microsoft Graph API to enumerate users and applications within the tenant.</li>
<li><strong>Privilege Escalation:</strong> The attacker identifies privileged accounts to target for further compromise.</li>
<li><strong>Lateral Movement:</strong> Leveraging control-plane access, the actor moves laterally across cloud and endpoint environments.</li>
<li><strong>Access Cloud Resources:</strong> The attacker accesses sensitive cloud resources such as Key Vaults and storage accounts.</li>
<li><strong>Data Exfiltration:</strong> The actor exfiltrates sensitive data from Microsoft 365 applications, file-hosting services, and Azure-hosted production environments.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The Storm-2949 campaign resulted in the exfiltration of sensitive data from multiple areas of the victim organization's cloud infrastructure, including Microsoft 365 applications and Azure-hosted environments. The attackers specifically targeted high-value assets, including those within SaaS, PaaS, and IaaS layers. The compromise of IT personnel and senior leadership suggests significant potential for widespread damage. The number of affected users and the total volume of exfiltrated data are not specified in the report.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Implement robust MFA policies and educate users about social engineering tactics targeting SSPR. Deploy the rule <code>Detect SSPR Abuse via Authentication Method Changes</code> to identify potential MFA bypass attempts.</li>
<li>Monitor Microsoft Graph API usage for unusual enumeration activities. Deploy the rule <code>Detect Microsoft Graph API Directory Enumeration</code> to identify suspicious user and application enumeration patterns.</li>
<li>Review and harden Azure role-based access control (RBAC) policies to limit lateral movement.</li>
<li>Implement behavior-based detections across endpoints, cloud environments, and identities, like those provided by Microsoft Defender XDR.</li>
<li>Regularly review and audit user accounts, especially those with elevated privileges, for any unauthorized changes to authentication methods or permissions.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>cloud-security</category><category>credential-access</category><category>data-exfiltration</category><category>social-engineering</category></item><item><title>Microsoft 365 AiTM UserLoggedIn via Office App (Tycoon2FA)</title><link>https://feed.craftedsignal.io/briefs/2026-05-tycoon-aitm-o365/</link><pubDate>Mon, 18 May 2026 09:26:46 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-tycoon-aitm-o365/</guid><description>This rule detects Microsoft 365 audit events indicative of Tycoon 2FA phishing-as-a-service (PhaaS) adversary-in-the-middle (AiTM) activity, identifying UserLoggedIn events where the Microsoft Authentication Broker requests access to Microsoft Graph or Exchange Online, or the Office web client application authenticates to itself, combined with Node.js-style user agents, bypassing MFA by relaying authentication and capturing session material.</description><content:encoded><![CDATA[<p>This detection focuses on identifying adversary-in-the-middle (AiTM) phishing activity targeting Microsoft 365 environments, specifically related to the Tycoon 2FA phishing-as-a-service platform. The attack leverages AiTM techniques to bypass multi-factor authentication (MFA) by relaying authentication requests and capturing session cookies. The detection is based on the observation of specific Microsoft 365 audit events, namely &quot;UserLoggedIn&quot;, combined with anomalous user agent strings indicative of Node.js-based tooling (node, axios, undici). The activity involves the Microsoft Authentication Broker requesting access to Microsoft Graph or Exchange Online, or the Office web client authenticating to itself, which are patterns associated with Tycoon 2FA. Defenders should baseline legitimate automation and developer tooling environments to avoid false positives.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker initiates a phishing campaign targeting Microsoft 365 users to steal credentials and bypass MFA.</li>
<li>The victim receives a phishing email or message containing a link to a malicious proxy site that spoofs a legitimate Microsoft 365 login page.</li>
<li>The victim clicks on the link and enters their credentials into the fake login page.</li>
<li>The attacker's proxy site relays the credentials to the real Microsoft 365 login page.</li>
<li>The real Microsoft 365 login page sends an MFA request to the victim.</li>
<li>The attacker's proxy site relays the MFA request to the victim and captures the MFA code.</li>
<li>The attacker's proxy site relays the MFA code to the real Microsoft 365 login page, completing the authentication process.</li>
<li>The attacker captures the session cookie, allowing them to access the victim's Microsoft 365 account without needing the credentials or MFA code again.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows attackers to gain unauthorized access to Microsoft 365 accounts, potentially leading to data exfiltration, financial fraud, or further lateral movement within the organization. The use of Tycoon 2FA underscores the increasing sophistication of phishing attacks, making it more difficult for users to detect and avoid. Without proper detection and response mechanisms, organizations are vulnerable to significant compromise.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &quot;M365 Potential AiTM UserLoggedIn via Office App (Tycoon2FA)&quot; to your SIEM and tune for your environment to detect suspicious login patterns.</li>
<li>Review <code>o365.audit.UserId</code>, <code>user_agent.original</code>, <code>source.ip</code> or <code>o365.audit.ActorIpAddress</code>, and related Entra ID sign-in logs (<code>azure.signinlogs</code>) for the same session or time window as described in the rule's &quot;Triage and Analysis&quot; section.</li>
<li>Revoke refresh tokens for compromised users, reset credentials per policy, and review conditional access outcomes if malicious activity is confirmed, as outlined in the rule's &quot;Response and Remediation&quot; section.</li>
<li>Block or monitor the source IPs identified in the logs and escalate per incident procedures, as suggested in the rule's &quot;Response and Remediation&quot; section.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cloud</category><category>identity</category><category>saas</category><category>microsoft365</category><category>aitm</category><category>tycoon2fa</category><category>phishing</category></item><item><title>Tycoon2FA AiTM Phishing via Microsoft Entra ID Sign-Ins</title><link>https://feed.craftedsignal.io/briefs/2026-05-tycoon2fa-entra-id/</link><pubDate>Mon, 18 May 2026 09:26:29 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-tycoon2fa-entra-id/</guid><description>Detects Microsoft Entra ID sign-ins consistent with Tycoon2FA phishing-as-a-service (PhaaS) adversary-in-the-middle (AiTM) activity targeting Microsoft 365 and Gmail, where the Microsoft Authentication Broker requests tokens for Microsoft Graph or Exchange Online, or the Office web client application authenticates to itself, combined with Node.js-style user agents (node, axios, undici).</description><content:encoded><![CDATA[<p>This rule detects Microsoft Entra ID sign-ins indicative of Tycoon2FA phishing-as-a-service (PhaaS) adversary-in-the-middle (AiTM) attacks. Tycoon2FA is designed to bypass multi-factor authentication (MFA) by relaying authentication requests and capturing session cookies, primarily targeting Microsoft 365 and Gmail accounts. The activity is characterized by the Microsoft Authentication Broker (app ID <code>29d9ed98-a469-4536-ade2-f981bc1d605e</code>) requesting tokens for Microsoft Graph (<code>00000003-0000-0000-c000-000000000000</code>) or Exchange Online (<code>00000002-0000-0ff1-ce00-000000000000</code>), or the Office web client application (app ID <code>4765445b-32c6-49b0-83e6-1d93765276ca</code>) authenticating to itself, in conjunction with Node.js-style user agents (node, axios, undici). Defenders should baseline legitimate automation and developer tooling using these patterns to minimize false positives.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The victim receives a phishing email or message designed to mimic a legitimate Microsoft 365 login page.</li>
<li>The victim clicks the link and is redirected to a Tycoon2FA-controlled server acting as a proxy.</li>
<li>The victim enters their credentials, which are captured by the Tycoon2FA proxy.</li>
<li>The Tycoon2FA proxy initiates a legitimate sign-in attempt to Microsoft Entra ID using the stolen credentials and relays the MFA request to the victim.</li>
<li>The victim completes MFA, and the Tycoon2FA proxy captures the session cookie.</li>
<li>The attacker uses the stolen session cookie to bypass MFA and gain access to the victim's Microsoft 365 account, impersonating the user.</li>
<li>The attacker leverages this access to perform actions such as reading emails, accessing files, or initiating further attacks.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation leads to account compromise and unauthorized access to sensitive data within Microsoft 365 and Gmail environments. This can result in data breaches, financial loss, and reputational damage. Tycoon2FA is a phishing-as-a-service (PhaaS) platform, enabling even less sophisticated attackers to successfully bypass MFA, potentially affecting a large number of users.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rules in this brief to your SIEM and tune for your environment to detect potential AiTM attacks targeting Microsoft Entra ID.</li>
<li>Monitor Microsoft Entra ID sign-in logs for the specific application IDs (<code>29d9ed98-a469-4536-ade2-f981bc1d605e</code>, <code>4765445b-32c6-49b0-83e6-1d93765276ca</code>) and resource IDs (<code>00000002-0000-0ff1-ce00-000000000000</code>, <code>00000003-0000-0000-c000-000000000000</code>) associated with Tycoon2FA, as described in the overview.</li>
<li>Investigate sign-ins originating from unusual user agents, especially those containing &quot;node&quot;, &quot;axios&quot;, or &quot;undici&quot; when used in conjunction with the Microsoft Authentication Broker or Office web client application.</li>
<li>Review conditional access policies and MFA configurations to ensure they are effectively preventing AiTM attacks.</li>
<li>Educate users about phishing techniques and the importance of verifying login pages and MFA requests.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>tycoon2fa</category><category>aitm</category><category>entra_id</category><category>phishing</category><category>credential_access</category></item><item><title>Tycoon2FA Phishing Kit Targets Microsoft 365 Accounts with Device-Code Phishing</title><link>https://feed.craftedsignal.io/briefs/2026-05-tycoon2fa-device-code-phishing/</link><pubDate>Sun, 17 May 2026 14:44:12 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-tycoon2fa-device-code-phishing/</guid><description>The Tycoon2FA phishing kit now supports device-code phishing attacks targeting Microsoft 365 accounts, abusing Trustifi click-tracking URLs, redirecting victims through Cloudflare Workers to a fake Microsoft CAPTCHA page, tricking them into entering a device code, and granting attackers OAuth tokens and access to their Microsoft 365 accounts.</description><content:encoded><![CDATA[<p>The Tycoon2FA phishing kit has been updated to include device-code phishing capabilities, allowing attackers to compromise Microsoft 365 accounts. Despite a law enforcement disruption in March 2026, the Tycoon2FA platform has been rebuilt and is back to normal activity levels. Observed in a campaign in late April 2026, the kit now leverages OAuth 2.0 device authorization grant flows. This new technique involves tricking users into entering a code on a legitimate Microsoft login page, which in turn authorizes a rogue device controlled by the attacker. The kit also includes extensive anti-analysis measures to evade detection, blocking security vendors, VPNs, sandboxes, and AI crawlers, with its blocklist containing 230 vendor names and constantly being updated.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The victim receives a phishing email containing a Trustifi click-tracking URL, often themed as an invoice.</li>
<li>The victim clicks the Trustifi URL, which redirects through Trustifi's infrastructure.</li>
<li>The traffic is further redirected through Cloudflare Workers.</li>
<li>Multiple layers of obfuscated JavaScript are executed in the victim's browser.</li>
<li>The victim is presented with a fake Microsoft CAPTCHA page.</li>
<li>The phishing page retrieves a Microsoft OAuth device code from the attacker's backend.</li>
<li>The victim is instructed to copy and paste the device code to <code>microsoft.com/devicelogin</code>.</li>
<li>The victim completes multi-factor authentication (MFA) on their end.</li>
<li>Microsoft issues OAuth access and refresh tokens to the attacker-controlled device, granting unauthorized access to the victim's Microsoft 365 account.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful device-code phishing attacks using the Tycoon2FA kit allow attackers to gain unrestricted access to the victim's Microsoft 365 data and services, including email, calendar, and cloud file storage. Push Security reported a 37x increase in device code phishing attacks this year, highlighting the growing threat. The compromised accounts can be used for data exfiltration, business email compromise (BEC), or further lateral movement within the organization.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Disable the OAuth device code flow when not needed, as recommended by eSentire, to prevent this attack vector.</li>
<li>Restrict OAuth consent permissions and require admin approval for third-party apps, as recommended by eSentire, to limit the impact of compromised accounts.</li>
<li>Enable Continuous Access Evaluation (CAE) and enforce compliant device access policies, as recommended by eSentire, to detect and mitigate unauthorized access.</li>
<li>Monitor Entra logs for deviceCode authentication, Microsoft Authentication Broker usage, and Node.js user agents, as recommended by eSentire, to identify potential device-code phishing attacks.</li>
<li>Block access to <code>microsoft.com/devicelogin</code> from untrusted networks or devices, as referenced in the Attack Chain, to prevent users from entering device codes on potentially malicious sites.</li>
<li>Implement detections for redirections originating from Trustifi click-tracking URLs to suspicious Microsoft login pages.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>phishing</category><category>device-code phishing</category><category>microsoft 365</category><category>oauth</category><category>tycoon2fa</category></item><item><title>UNC6671 BlackFile Vishing Extortion Campaign Targeting Microsoft 365 and Okta</title><link>https://feed.craftedsignal.io/briefs/2026-05-blackfile-vishing/</link><pubDate>Fri, 15 May 2026 17:08:04 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-blackfile-vishing/</guid><description>UNC6671, operating under the "BlackFile" brand, conducts a sophisticated extortion campaign targeting organizations through voice phishing (vishing) and single sign-on (SSO) compromise, using adversary-in-the-middle (AiTM) techniques to bypass MFA and exfiltrate sensitive corporate data.</description><content:encoded><![CDATA[<p>UNC6671, known as &quot;BlackFile,&quot; is engaged in an extensive extortion campaign targeting organizations using sophisticated vishing and SSO compromise techniques. Since early 2026, the group has targeted dozens of organizations across North America, Australia, and the UK. The group leverages adversary-in-the-middle (AiTM) attacks to bypass traditional security measures, including multi-factor authentication (MFA), primarily targeting Microsoft 365 and Okta environments. UNC6671 employs Python and PowerShell scripts to programmatically exfiltrate sensitive corporate data from SharePoint and OneDrive, later used for extortion. These attacks do not exploit software vulnerabilities but rely on social engineering, highlighting the need for phishing-resistant MFA.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Vishing:</strong> The attacker initiates a voice phishing (vishing) call to a target employee, often on their personal cellular phone, impersonating IT or help desk personnel.</li>
<li><strong>Credential Harvesting:</strong> The attacker directs the victim to a fake SSO login page (e.g., <code>&lt;organization&gt;.enrollms[.]com</code>) under the guise of a mandatory passkey migration or MFA update, capturing their username and password.</li>
<li><strong>MFA Bypass (AiTM):</strong> As the victim enters their credentials, the attacker relays them to the legitimate SSO provider, intercepting the MFA challenge (Push, SMS, or TOTP). The victim unknowingly provides the MFA code to the attacker.</li>
<li><strong>Device Registration:</strong> With successful authentication, the attacker immediately registers a new, attacker-controlled MFA device to the user's account for persistent access.</li>
<li><strong>Lateral Movement:</strong> Using the compromised SSO credentials, the attacker moves laterally across the victim's SaaS applications, focusing on Microsoft 365 and Okta environments. They access SharePoint, OneDrive, and other connected apps like Zendesk and Salesforce.</li>
<li><strong>Data Discovery:</strong> The attacker queries internal search functions within these applications, looking for sensitive data using keywords such as &quot;confidential&quot; and &quot;SSN.&quot;</li>
<li><strong>Programmatic Exfiltration:</strong> The attacker utilizes Python and PowerShell scripts to automate the exfiltration of high-value data from SharePoint and OneDrive repositories. They use Microsoft Graph API or direct HTTP GET requests, often using stolen session cookies (e.g., FedAuth) to stream file content to attacker-controlled infrastructure.</li>
<li><strong>Extortion:</strong> After successfully exfiltrating sensitive data, UNC6671 threatens to leak the stolen information on their dedicated &quot;BlackFile&quot; data leak site (DLS) unless a ransom is paid.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>UNC6671's campaign has targeted dozens of organizations across North America, Australia, and the UK, resulting in the theft of sensitive corporate data. Successful attacks can lead to significant financial losses, reputational damage, and legal consequences due to the exposure of confidential information and personal data. The group's use of social engineering and AiTM techniques allows them to bypass traditional security controls, making them a formidable threat to organizations relying on cloud-based services.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &quot;Detect Mismatched User-Agent and Application Display Name in SharePoint Online&quot; to identify scripted data exfiltration attempts with spoofed ClientAppId, based on the log example in this brief.</li>
<li>Block the domains <code>enrollms[.]com</code>, <code>passkeyms[.]com</code>, and <code>setupsso[.]com</code> at the DNS resolver to prevent users from accessing credential harvesting sites.</li>
<li>Implement phishing-resistant MFA methods, as highlighted in the overview, to prevent AiTM attacks.</li>
<li>Monitor FileAccessed events in Microsoft 365 Unified Audit Logs for unusual activity, particularly those originating from non-standard infrastructure (VPNs, hosting providers) and associated with scripting engines like python-requests, per the forensic artifacts described.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>vishing</category><category>extortion</category><category>aitm</category><category>credential-theft</category><category>data-exfiltration</category><category>sso</category></item><item><title>EvilTokens PhaaS Platform Leverages AI for Device Code Phishing Attacks</title><link>https://feed.craftedsignal.io/briefs/2026-05-eviltokens-phishing/</link><pubDate>Thu, 14 May 2026 21:01:23 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-eviltokens-phishing/</guid><description>The EvilTokens phishing-as-a-service (PhaaS) platform sold on Telegram is capable of launching device code phishing attacks at scale, leveraging AI to generate convincing and personalized lures, enabling aspiring cybercriminals to bypass traditional security measures, including MFA.</description><content:encoded><![CDATA[<p>The EvilTokens platform represents a shift in the phishing landscape by offering phishing-as-a-service (PhaaS) on Telegram. This platform allows individuals with limited technical skills to conduct sophisticated device code phishing attacks. Sold for $1,500 plus a $500 maintenance fee, EvilTokens provides AI-generated lures, dynamic code generation, and post-compromise automation. The platform was used in a 16-day campaign starting on March 2, 2026, affecting 344 organizations across five countries. EvilTokens exploits a legitimate Microsoft authentication flow, making it difficult to detect with traditional security measures. The platform also leverages Railway, a legitimate Platform-as-a-Service (PaaS).</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker purchases access to the EvilTokens PhaaS platform on Telegram for $1,500 + $500 maintenance.</li>
<li>Attacker uses EvilTokens to initiate a device code authentication process against a target service (e.g., Microsoft 365).</li>
<li>EvilTokens generates a personalized phishing email using AI, mimicking legitimate requests for construction bid proposals, DocuSign documents, or Microsoft Forms.</li>
<li>The phishing email is sent to the victim, containing a link to a legitimate Microsoft page prompting for a device code.</li>
<li>The victim clicks the link and enters the provided code, unwittingly authorizing the attacker's session.</li>
<li>EvilTokens captures the valid session token through its backend infrastructure, relayed through Railway.</li>
<li>The attacker uses the captured session token to gain unauthorized access to the victim's account.</li>
<li>After gaining access, EvilTokens can draft convincing wire fraud emails in the victim's voice.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The EvilTokens campaign impacted 344 organizations across five countries in a 16-day period. Successful attacks result in unauthorized access to accounts, potentially leading to data theft, business email compromise, and financial fraud. The use of AI in generating personalized lures increases the likelihood of successful phishing attempts. Traditional email security solutions such as Cisco, Trend Micro, and Mimecast were unable to detect the attacks, as the emails and URLs appeared legitimate.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Monitor Microsoft 365 login events for unusual activity, such as logins originating from Railway infrastructure IPs, to detect potential EvilTokens attacks.</li>
<li>Implement user awareness training to educate employees about device code phishing and the risks of entering codes from unsolicited emails.</li>
<li>Deploy the Sigma rule &quot;Detect Device Code Phishing via Railway Infrastructure&quot; to identify suspicious login activity associated with the Railway PaaS.</li>
<li>Block access to known EvilTokens infrastructure, if any are identified, at the network level.</li>
<li>Monitor for unusual authentication flows or patterns that deviate from typical user behavior, especially those involving device code authentication.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>phishing</category><category>device code phishing</category><category>AI</category><category>Telegram</category></item><item><title>Device Code Phishing Exploiting OAuth 2.0 Device Authorization Grant Flow</title><link>https://feed.craftedsignal.io/briefs/2026-05-device-code-phishing/</link><pubDate>Thu, 14 May 2026 09:02:04 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-device-code-phishing/</guid><description>Threat actors are increasingly using device code phishing, often via Phishing-as-a-Service platforms, to compromise user accounts by abusing the OAuth 2.0 device authorization grant flow and capturing authentication tokens, enabling account takeover, data theft, and business email compromise.</description><content:encoded><![CDATA[<p>Device code phishing is a growing threat where attackers abuse the OAuth 2.0 device authorization grant flow to compromise user accounts, particularly Microsoft 365. This technique has surged in popularity following the release of criminal device code phishing tools in fall 2025, coupled with the rise of &quot;vibe coding&quot; and Phishing-as-a-Service (PhaaS) platforms like EvilTokens and Tycoon. Campaigns typically begin with an email containing a URL or QR code. When a user clicks the link or scans the code, they are directed to a fake landing page impersonating a legitimate service like Microsoft or DocuSign, prompting them to enter a device code. By entering this code into the legitimate Microsoft device code authentication portal, the user inadvertently grants the attacker access to their account, leading to potential data theft, fraud, and business email compromise. TA4903 is one actor using device code phishing almost exclusively to steal credentials.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial phishing email is sent, containing a URL or QR code. The email may contain a lure such as a salary notification or a document requiring a signature. Some campaigns even use blank email bodies.</li>
<li>The user clicks the URL or scans the QR code, redirecting them to a landing page. This redirect may occur via Cloudflare Workers URLs.</li>
<li>The landing page impersonates a legitimate service, such as Microsoft or DocuSign, and prompts the user to enter a device code. Some kits like ARTokens require the user to enter their email address first.</li>
<li>The user is instructed to go to the legitimate Microsoft device login portal (https[:]//microsoft[.]com/devicelogin) and enter the provided code.</li>
<li>The user enters the device code, unwittingly granting the attacker's malicious application access to their account.</li>
<li>The attacker captures authentication tokens.</li>
<li>The attacker uses the captured tokens to access the user's account, including data and other services the account has access to.</li>
<li>The attacker performs actions such as stealing sensitive information, conducting business email compromise, or moving laterally within the compromised environment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful device code phishing attacks can result in full account takeover, giving attackers access to sensitive information and enabling business email compromise. Attackers can use compromised accounts to send further phishing emails, widening the scope of the attack. Some PhaaS platforms like EvilTokens even offer tools to automate the management of multiple compromised accounts. The ultimate impact can include financial loss, data breaches, and reputational damage for targeted organizations. The technique is observed in multiple languages targeting organizations globally.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Implement policies to educate users about device code phishing and the legitimate Microsoft device login process.</li>
<li>Deploy the Sigma rule &quot;Detect Device Code Phishing Landing Page Redirection via Cloudflare Workers&quot; to identify potential phishing attempts (see rule below).</li>
<li>Monitor network traffic for connections to the legitimate Microsoft device login portal (https[:]//microsoft[.]com/devicelogin) following a redirect from unusual or suspicious domains.</li>
<li>Implement conditional access policies that restrict the use of device codes from untrusted networks or locations.</li>
<li>Block known PhaaS platforms and associated infrastructure used for device code phishing, such as those associated with EvilTokens.</li>
<li>Monitor email traffic for unusual patterns, such as emails with blank bodies containing URLs or QR codes, as observed in some campaigns by TA4903.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>device-code-phishing</category><category>phishing</category><category>credential-theft</category><category>oAuth</category></item><item><title>ClickFix 'BackgroundFix' Campaign Delivers CastleLoader, NetSupport RAT, and CastleStealer</title><link>https://feed.craftedsignal.io/briefs/2026-04-clickfix-backgroundfix/</link><pubDate>Thu, 30 Apr 2026 13:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-04-clickfix-backgroundfix/</guid><description>The 'BackgroundFix' ClickFix campaign uses social engineering to trick victims into downloading malware disguised as a free image-editing tool, leading to the deployment of CastleLoader, NetSupport RAT for remote access, and CastleStealer for credential theft.</description><content:encoded><![CDATA[<p>The BackgroundFix campaign is a social engineering scheme using fake &quot;remove your photo background&quot; services to deliver malware. Victims are lured to malicious sites mimicking legitimate image editing tools. The sites feature fake upload interfaces, progress bars, and download buttons to appear authentic. This campaign delivers a multi-stage payload, starting with CastleLoader. CastleLoader then drops NetSupport RAT, enabling remote access for the attackers, and CastleStealer, a custom .NET stealer designed to exfiltrate browser credentials, wallet extension data, and Telegram session files. This campaign appears to be active, with multiple domains sharing the same template.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Victim searches for an online background removal tool and lands on a malicious BackgroundFix site.</li>
<li>The victim uploads an image to the fake website.</li>
<li>After clicking a checkbox, the site instructs the victim to copy a command to their clipboard.</li>
<li>The copied command executes <code>finger.exe</code> to query <code>cheeshomireciple[.]com</code></li>
<li><code>finger.exe</code> retrieves a batch script from the C2 server.</li>
<li>The batch script executes commands to download and execute further payloads.</li>
<li>CastleLoader is deployed, subsequently dropping NetSupport RAT and CastleStealer.</li>
<li>NetSupport RAT grants the attacker remote access, while CastleStealer exfiltrates sensitive data.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful attacks result in the installation of NetSupport RAT, granting attackers remote control over the compromised system. Additionally, CastleStealer exfiltrates sensitive information such as browser credentials, wallet extension data, and Telegram session files. This stolen data can be used for further malicious activities, including financial fraud, identity theft, and unauthorized access to sensitive accounts. The active nature of the campaign and the use of multiple domains suggest a broad targeting scope.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Monitor process creation events for the execution of <code>finger.exe</code> with command-line arguments pointing to external domains (IOC: <code>cheeshomireciple[.]com</code>).</li>
<li>Deploy the Sigma rule to detect the execution of <code>finger.exe</code> to identify potential initial access attempts.</li>
<li>Block the C2 domain <code>cheeshomireciple[.]com</code> at the DNS resolver to prevent initial payload delivery.</li>
<li>Monitor network connections for NetSupport RAT C2 communications on port 688 to detect compromised systems (IOCs: <code>poronto[.]com:688</code>, <code>giovettiadv[.]com:688</code>).</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>clickfix</category><category>malware</category><category>social-engineering</category><category>rat</category><category>infostealer</category><category>castleloader</category><category>netsupport</category></item><item><title>Entra ID Sign-in Brute Force Attempt Against Microsoft 365</title><link>https://feed.craftedsignal.io/briefs/2024-11-entra-id-brute-force/</link><pubDate>Thu, 21 Nov 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-11-entra-id-brute-force/</guid><description>A high volume of failed Microsoft Entra ID sign-in attempts against Microsoft 365 services within a short time period indicates a potential brute-force attack, which could lead to unauthorized access to Microsoft 365 services.</description><content:encoded><![CDATA[<p>This detection identifies potential brute-force attacks targeting Microsoft 365 user accounts by analyzing failed sign-in patterns in Microsoft Entra ID Sign-In Logs. The detection focuses on a high volume of failed interactive or non-interactive authentication attempts within a short time window, often indicative of password spraying, credential stuffing, or password guessing. The rule specifically monitors sign-in logs for failures against Microsoft 365 resources, excluding specific error codes like 50053, associated with MFA issues, to reduce false positives. This activity is commonly seen in password spraying campaigns, such as those documented targeting M365 users as reported by SecurityScorecard. Successful brute force attempts can give adversaries access to sensitive data and services within the Microsoft 365 environment.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies valid Microsoft 365 usernames through OSINT or enumeration techniques.</li>
<li>The attacker initiates authentication requests against Microsoft 365 services, such as Exchange Online, SharePoint, or Teams, using the identified usernames.</li>
<li>The attacker attempts multiple sign-in attempts with various password combinations, potentially leveraging password lists or common password patterns.</li>
<li>Microsoft Entra ID logs failed sign-in attempts, capturing details such as the user principal name, source IP address, error codes, and application display name.</li>
<li>The detection rule analyzes the Entra ID sign-in logs, grouping failed attempts by time window and identifying patterns indicative of brute-force attacks, such as a high volume of failures, distinct usernames, or common error codes.</li>
<li>If the attacker guesses a valid password, they successfully authenticate and gain access to the targeted Microsoft 365 service.</li>
<li>The attacker uses compromised credentials to access sensitive data, perform unauthorized actions, or move laterally within the Microsoft 365 environment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful brute-force attack can lead to unauthorized access to Microsoft 365 services, including email, file storage, and collaboration platforms. The impact can include data breaches, financial losses, reputational damage, and business disruption. The elastic rule's risk score is 47, and the severity is rated as medium, reflecting the potential for significant harm. Organizations can prevent initial access and lateral movement by using modern authentication methods like MFA.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM and tune the thresholds (e.g., event counts, time windows) to match your environment's baseline activity and risk tolerance.</li>
<li>Investigate alerts generated by the Sigma rules by examining the <code>user_id_list</code>, <code>ip_list</code>, and <code>user_agent.original</code> fields to identify the targeted accounts, source IP addresses, and client applications involved in the brute-force attempts.</li>
<li>Review and enforce multi-factor authentication (MFA) policies across your Microsoft 365 environment to mitigate the risk of credential compromise.</li>
<li>Enable logging for Entra ID sign-in logs to collect the necessary data for the detection rule to function.</li>
<li>Implement account lockout policies to automatically disable accounts after a certain number of failed login attempts.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>azure</category><category>entra-id</category><category>microsoft-365</category><category>brute-force</category><category>credential-access</category></item><item><title>M365 Identity Login from Atypical Travel Location</title><link>https://feed.craftedsignal.io/briefs/2024-11-m365-atypical-login/</link><pubDate>Wed, 20 Nov 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-11-m365-atypical-login/</guid><description>This rule detects successful Microsoft 365 portal logins from rare locations, potentially indicating an adversary attempting to access an account from an unusual location or behind a VPN.</description><content:encoded><![CDATA[<p>This detection rule, sourced from Elastic, identifies Microsoft 365 login events originating from locations not commonly associated with a user's account. The rule analyzes Microsoft 365 audit logs for successful logins and compares the login location against a baseline of known user locations. The detection logic is implemented via a <code>new_terms</code> aggregation that flags rare combinations of <code>o365.audit.UserId</code> and <code>source.geo.country_iso_code</code>. The rule is designed to detect initial access attempts by adversaries leveraging valid accounts, possibly masking their true location using VPNs or other anonymization tools. The rule focuses on successful logins and excludes common benign scenarios such as logins from Apple iOS, Android and PKeyAuth devices. This alert helps defenders identify potentially compromised accounts and unusual access patterns within their Microsoft 365 environment.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker obtains valid credentials for a Microsoft 365 account through phishing, credential stuffing, or other means.</li>
<li>The attacker uses the compromised credentials to attempt to log in to the Microsoft 365 portal.</li>
<li>The login attempt originates from a geographic location that is not commonly associated with the user's account.</li>
<li>The Microsoft 365 audit logs record a successful login event with event action <code>UserLoggedIn</code>, provider <code>AzureActiveDirectory</code> and outcome <code>success</code>.</li>
<li>The <code>source.geo.country_iso_code</code> and <code>o365.audit.UserId</code> combination is identified as rare based on historical data.</li>
<li>The detection rule triggers an alert, flagging the unusual login activity.</li>
<li>The attacker gains access to the user's Microsoft 365 account and its associated resources (email, OneDrive, SharePoint, etc.)</li>
<li>The attacker performs malicious actions such as data exfiltration, lateral movement, or business email compromise.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to unauthorized access to sensitive data, business email compromise, and further malicious activities within the organization's Microsoft 365 environment. The potential impact includes data breaches, financial losses, and reputational damage. The number of affected users depends on the scope of the compromised account. The rule helps in detecting anomalies that might bypass traditional security measures like MFA if the attacker has already compromised the MFA device or bypassed it through other means.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM and tune it to your environment, excluding expected VPN exit points or frequent travel locations (<code>o365.audit.UserId</code>, <code>source.geo.country_iso_code</code>).</li>
<li>Investigate any alerts generated by the rule to determine the legitimacy of the login attempt. Review the user's recent activity and contact them to confirm whether they were traveling or using a VPN at the time of the login.</li>
<li>Enforce multi-factor authentication (MFA) for all users to reduce the risk of account compromise.</li>
<li>Monitor for any subsequent login attempts from the same location or IP address to identify potential patterns of malicious activity.</li>
<li>Review and harden conditional access policies in Entra ID to restrict access based on location, device, and other factors.</li>
<li>Enable and monitor Microsoft 365 audit logs to ensure that all login events are being captured.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>cloud</category><category>identity</category><category>o365</category><category>initial-access</category></item><item><title>Microsoft 365 Identity Login from Impossible Travel Location</title><link>https://feed.craftedsignal.io/briefs/2024-11-m365-impossible-travel/</link><pubDate>Fri, 15 Nov 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-11-m365-impossible-travel/</guid><description>Detects successful Microsoft 365 portal logins from impossible travel locations, defined as logins originating from two different countries within a short time frame, potentially indicating account compromise or unauthorized access.</description><content:encoded><![CDATA[<p>This detection rule identifies Microsoft 365 login anomalies indicative of &quot;impossible travel,&quot; where a user account logs in from geographically disparate locations within a short timeframe. This behavior often signifies account compromise, with threat actors leveraging stolen credentials to access cloud resources from different countries. The rule focuses on successful Azure Active Directory logins and excludes specific application IDs and request types known to generate false positives. The premise is that legitimate user travel between distant countries is highly improbable within a brief time window. This detection is crucial for defenders to identify and respond to potential account takeovers promptly.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker obtains valid credentials for a Microsoft 365 account, possibly through phishing, credential stuffing, or purchasing them on the dark web.</li>
<li>The attacker initiates a login to the Microsoft 365 portal from a location different from the legitimate user's typical location.</li>
<li>The user logs in successfully, generating an Azure Active Directory audit event with the &quot;UserLoggedIn&quot; action.</li>
<li>Within a short timeframe (e.g., 15 minutes), the attacker initiates another login from a different country.</li>
<li>The second login is also successful, generating another Azure Active Directory audit event with the &quot;UserLoggedIn&quot; action from a different geographical location.</li>
<li>The detection rule identifies the two login events originating from two different countries for the same user within the configured timeframe.</li>
<li>The attacker gains access to the compromised account and can access sensitive data, send phishing emails, or perform other malicious actions.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack can lead to unauthorized access to sensitive data within Microsoft 365, potentially resulting in data breaches, financial loss, and reputational damage. The number of affected users and the scale of the impact depends on the level of access granted to the compromised account. This attack targets any organization using Microsoft 365 for email, file storage, and other services.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &quot;M365 Identity Login from Impossible Travel Location&quot; to your SIEM to detect suspicious login activity.</li>
<li>Tune the timeframe in the Sigma rule to match your organization's risk tolerance and user travel patterns.</li>
<li>Investigate any alerts generated by the Sigma rule by reviewing the user's login history, geographic locations, and other relevant factors as noted in the rule's documentation.</li>
<li>Consider implementing multi-factor authentication (MFA) for all users to mitigate the risk of account compromise, referenced in the provided documentation.</li>
<li>Regularly review and update the list of excluded Application IDs in the Sigma rule to prevent false positives, based on your specific environment.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>cloud</category><category>identity</category><category>microsoft 365</category><category>azure active directory</category><category>initial access</category></item><item><title>M365 Identity Login from Atypical Region</title><link>https://feed.craftedsignal.io/briefs/2024-10-m365-atypical-login/</link><pubDate>Sat, 26 Oct 2024 14:22:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-10-m365-atypical-login/</guid><description>Detects successful Microsoft 365 portal logins from a country and region the user has not previously authenticated from in a specific time window, potentially indicating unauthorized access attempts by analyzing login events and user location patterns.</description><content:encoded><![CDATA[<p>This detection rule identifies successful Microsoft 365 portal logins from a country and region that a user has not previously authenticated from within a specific time window. This behavior can be indicative of an adversary attempting to access the account from an unusual location, potentially using a VPN to mask their origin. The rule analyzes login events and user location patterns at the country and region level to identify these atypical login attempts. The rule focuses on successful logins, attempting to filter out common false positives such as mobile devices, specific Microsoft application IDs, and certain request types to reduce noise. The time window for atypical behavior is set to 7 days.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker obtains valid credentials for a Microsoft 365 user account.</li>
<li>The attacker initiates a login attempt to the Microsoft 365 portal.</li>
<li>The login attempt originates from a country and region that is not in the user's historical login location data.</li>
<li>The login attempt is successful, bypassing any multi-factor authentication (MFA) or other security controls (not explicitly covered in this rule, but a common scenario).</li>
<li>The attacker gains access to the user's Microsoft 365 account.</li>
<li>The attacker may then proceed to access sensitive data, such as emails, files, or SharePoint sites.</li>
<li>The attacker might escalate privileges or move laterally within the Microsoft 365 environment if the compromised account has sufficient permissions.</li>
<li>The attacker could establish persistence by creating new accounts or modifying existing ones.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack can lead to unauthorized access to sensitive data, intellectual property theft, financial fraud, and reputational damage. Depending on the compromised user's role and access levels, the impact can range from minor data leakage to a full-scale breach of the organization's Microsoft 365 environment. This can affect organizations of any size and across any sector that relies on Microsoft 365 for its operations.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>M365 Identity Login from Atypical Region</code> to your SIEM and tune the <code>history_window_start</code> parameter for your environment.</li>
<li>Investigate any alerts generated by the Sigma rule by reviewing the user's recent login activity, geographic locations, ISP information, and client application used as described in the rule's note.</li>
<li>Implement multi-factor authentication (MFA) for all users, especially for those with privileged access, to mitigate the risk of unauthorized login attempts from atypical locations.</li>
<li>Consider adding exceptions to the Sigma rule for specific users or source application IDs if the login attempts are determined to be legitimate and not a security concern, as mentioned in the rule's note.</li>
<li>Enable Microsoft 365 audit logging to ensure the required data is available for the Sigma rule to function correctly.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>cloud</category><category>identity</category><category>microsoft365</category></item><item><title>M365 Identity Login from Impossible Travel Location</title><link>https://feed.craftedsignal.io/briefs/2024-09-m365-impossible-travel/</link><pubDate>Wed, 04 Sep 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-09-m365-impossible-travel/</guid><description>Detects successful Microsoft 365 portal logins from impossible travel locations, defined as logins originating from two different countries within a short timeframe, potentially indicating account compromise or unauthorized access.</description><content:encoded><![CDATA[<p>This detection rule identifies suspicious Microsoft 365 login activity indicative of &quot;impossible travel,&quot; where a user successfully logs in from two geographically distant locations (different countries) within a short timeframe (e.g., 15 minutes). This behavior is often associated with account compromise, where an attacker gains unauthorized access to a legitimate user's credentials and attempts to access resources from a different location. The rule focuses on Azure Active Directory (Entra ID) logins and filters out specific application IDs and request types known to cause false positives. This detection is crucial for identifying and responding to potential breaches of M365 accounts, which can lead to data exfiltration, business email compromise (BEC), or other malicious activities. This behavior can be easily missed without automated detection because legitimate users should not be able to log in from geographically distant locations within a short time.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Credential Compromise:</strong> The attacker obtains valid credentials for a Microsoft 365 account, possibly through phishing, credential stuffing, or malware.</li>
<li><strong>Initial Login (Location A):</strong> The attacker uses the compromised credentials to successfully log into the Microsoft 365 portal from Country A. This generates a UserLoggedIn event with outcome:success in the Azure Active Directory audit logs.</li>
<li><strong>Privilege Escalation (Conditional):</strong> If the compromised account has elevated privileges, the attacker may attempt to escalate their privileges within the Microsoft 365 environment. This activity is not directly covered by this rule, but it can happen after the initial access.</li>
<li><strong>Lateral Movement (Conditional):</strong> After gaining initial access, the attacker may attempt to move laterally within the Microsoft 365 environment, accessing other user accounts or resources. This activity is not directly covered by this rule, but it can happen after the initial access.</li>
<li><strong>Login from New Location (Location B):</strong> Within a short timeframe (e.g., 15 minutes), the attacker initiates a new login attempt from Country B, which is geographically distant from Country A. This generates another UserLoggedIn event with outcome:success.</li>
<li><strong>Data Exfiltration or Malicious Activity:</strong> Having gained access, the attacker performs malicious activities such as exfiltrating sensitive data, sending phishing emails, or modifying critical configurations within the Microsoft 365 environment.</li>
<li><strong>Persistence:</strong> The attacker may attempt to establish persistence within the compromised account, such as creating new mailbox rules or modifying authentication settings to maintain access even if the password is changed. This activity is not directly covered by this rule, but it can happen after the initial access.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful &quot;impossible travel&quot; attack can lead to significant consequences, including unauthorized access to sensitive data, business email compromise (BEC), financial loss, and reputational damage. The number of affected users and the severity of the impact depend on the privileges associated with the compromised account and the attacker's objectives. Organizations across all sectors are vulnerable to this type of attack, particularly those relying heavily on Microsoft 365 for communication, collaboration, and data storage. A successful breach can result in regulatory fines, legal liabilities, and a loss of customer trust.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &quot;M365 Identity Login from Impossible Travel Location&quot; to your SIEM to detect suspicious login patterns indicative of impossible travel.</li>
<li>Tune the threshold settings in the Sigma rule &quot;M365 Identity Login from Impossible Travel Location&quot; to minimize false positives based on your organization's travel patterns and VPN usage.</li>
<li>Review and enhance multi-factor authentication (MFA) policies for all users, especially those with privileged accounts, to mitigate the risk of credential compromise.</li>
<li>Investigate and remediate any identified &quot;impossible travel&quot; events promptly, following the triage and analysis steps outlined in the rule's documentation.</li>
<li>Monitor user activity for signs of lateral movement, privilege escalation, and data exfiltration following any detected &quot;impossible travel&quot; events.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>cloud</category><category>identity</category><category>microsoft 365</category><category>initial access</category></item><item><title>Entra ID OAuth Phishing via Auth Broker to DRS</title><link>https://feed.craftedsignal.io/briefs/2024-05-entra-oauth-phishing/</link><pubDate>Fri, 03 May 2024 14:30:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-05-entra-oauth-phishing/</guid><description>Detection of OAuth phishing in Microsoft Entra ID through Microsoft Authentication Broker (MAB) and Device Registration Service (DRS) indicated by the same user principal and session ID originating from multiple IP addresses within a short timeframe, indicative of unauthorized token acquisition.</description><content:encoded><![CDATA[<p>This threat involves attackers conducting OAuth phishing campaigns targeting Microsoft Entra ID users. The attackers craft legitimate Microsoft login URLs to trick users into authenticating, thereby obtaining authorization codes. These codes are then exchanged for access and refresh tokens, allowing the attackers to gain unauthorized access to the user's resources. The Microsoft Authentication Broker (MAB) is used as the client application, and the Device Registration Service (DRS) is the target resource. The activity is characterized by the same user principal and session ID being observed across multiple IP addresses within a 5-minute window. This activity was observed starting in early 2025. The scope of this threat includes any organization utilizing Microsoft Entra ID and the MAB for device registration.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker crafts a phishing email containing a malicious link that leads to a fake Microsoft login page.</li>
<li>The victim clicks the link and is prompted to enter their credentials, unknowingly providing them to the attacker.</li>
<li>The attacker uses the stolen credentials to initiate an OAuth authorization flow via the Microsoft Authentication Broker (MAB) with the Device Registration Service (DRS) as the target.</li>
<li>The legitimate Microsoft login page redirects the user and returns an authorization code to the attacker-controlled application.</li>
<li>The attacker exchanges the authorization code for access and refresh tokens, gaining unauthorized access to the user's Entra ID resources.</li>
<li>The attacker uses the access token to enumerate devices registered to the user via Microsoft Graph.</li>
<li>The attacker uses the refresh token to maintain persistent access to the user's resources, even after the initial session expires.</li>
<li>The attacker leverages access to DRS to potentially manipulate device registrations and further compromise the environment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful OAuth phishing can lead to unauthorized access to sensitive data and resources within the targeted organization. An attacker with valid access and refresh tokens can impersonate the user, potentially leading to data exfiltration, privilege escalation, and lateral movement within the network. Organizations utilizing Microsoft Entra ID are susceptible, with observed campaigns targeting Microsoft 365 OAuth workflows as reported by Volexity in April 2025.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable and configure the Microsoft Entra ID Sign-In Logs integration to collect sign-in logs, as the detection rule relies on this data source (rule configuration).</li>
<li>Deploy the provided Sigma rule to your SIEM to detect suspicious OAuth flows involving MAB and DRS based on multiple IP addresses (rule: &quot;Entra ID OAuth Flow from Multiple IPs&quot;).</li>
<li>Review Conditional Access policies for the Microsoft Authentication Broker (app ID: <code>29d9ed98-a469-4536-ade2-f981bc1d605e</code>) to enforce MFA and device trust (reference: note section in rule definition).</li>
<li>Monitor network connections for anomalous traffic originating from IPs associated with suspicious OAuth flows (rule: &quot;Entra ID OAuth Flow from Multiple IPs - Network Connection&quot;).</li>
<li>Block access to known phishing domains and URLs used in OAuth phishing campaigns to prevent initial access (IOC: <code>https://www.volexity.com/blog/2025/04/22/phishing-for-codes-russian-threat-actors-target-microsoft-365-oauth-workflows/</code>).</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>entra-id</category><category>oauth-phishing</category><category>initial-access</category></item><item><title>Entra ID Concurrent Sign-in with Suspicious Properties</title><link>https://feed.craftedsignal.io/briefs/2024-01-30-entra-id-concurrent-signin/</link><pubDate>Tue, 30 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-30-entra-id-concurrent-signin/</guid><description>This rule identifies concurrent Azure sign-in events for the same user from multiple sources, where at least one authentication event exhibits suspicious properties associated with DeviceCode and OAuth phishing, potentially indicating refresh token theft.</description><content:encoded><![CDATA[<p>This detection identifies suspicious concurrent sign-in activity within an Azure Entra ID environment. Specifically, it focuses on scenarios where the same user account initiates sign-in events from multiple source IP addresses within a short timeframe (60 minutes). The rule further refines this detection by flagging instances where at least one of these concurrent sign-in attempts exhibits characteristics associated with Device Code authentication or access to Microsoft Graph via Visual Studio Code, both of which can be exploited in OAuth phishing attacks to steal refresh tokens. This technique allows attackers to bypass multi-factor authentication (MFA) and gain unauthorized access to Azure resources. The rule leverages Azure sign-in logs and requires the Azure logs integration to be enabled and configured to collect all logs, including sign-in logs from Entra.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access:</strong> The attacker initiates a phishing campaign targeting users with access to Azure resources (T1566.002). The phishing email contains a link that directs the user to a malicious OAuth application consent page.</li>
<li><strong>Credential Access:</strong> The user, believing the consent page is legitimate, grants the malicious application access to their account (T1528). The attacker obtains a refresh token upon successful consent.</li>
<li><strong>Defense Evasion:</strong> The attacker uses the stolen refresh token to authenticate to Azure services, bypassing MFA if the token has not been revoked (T1550.001).</li>
<li><strong>Valid Accounts:</strong> The attacker leverages the valid user account and stolen refresh token to access cloud resources (T1078.004).</li>
<li><strong>Use Alternate Authentication Material:</strong> The attacker uses the refresh token to request access tokens for various Azure services without needing to re-authenticate or trigger MFA (T1550.001).</li>
<li><strong>Persistence:</strong> The attacker maintains persistent access to the Azure environment as long as the refresh token remains valid and is not revoked by the legitimate user or Azure administrator.</li>
<li><strong>Privilege Escalation (Potential):</strong> Depending on the permissions associated with the compromised account, the attacker may attempt to escalate privileges within the Azure environment.</li>
<li><strong>Impact:</strong> The attacker gains unauthorized access to sensitive data, applications, or infrastructure within the Azure environment, potentially leading to data exfiltration, service disruption, or financial loss.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to unauthorized access to sensitive cloud resources, potentially affecting any organization leveraging Azure Entra ID for identity and access management. The number of victims depends on the scope of the phishing campaign and the level of access granted to compromised accounts. This attack can result in data breaches, financial losses, and reputational damage. The primary targets are organizations that rely heavily on Azure services and have not implemented adequate security measures to prevent OAuth phishing attacks or detect refresh token theft.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule <code>Entra ID Concurrent Sign-in with Suspicious Properties</code> to your SIEM to detect potential refresh token theft attempts (see <code>rules</code> section).</li>
<li>Review and harden Conditional Access policies to restrict access to trusted locations or devices only, mitigating the risk of future PRT abuse, as mentioned in the references and triage notes.</li>
<li>Configure alerts for unusual sign-in patterns or device code authentication attempts from unexpected locations or devices, improving early detection of similar threats, referencing the triage notes.</li>
<li>Ensure the Azure logs integration is enabled and configured to collect all logs, including sign-in logs from Entra, as outlined in the <code>setup</code> section.</li>
<li>Investigate any alerts generated by the Sigma rule by reviewing the sign-in logs, assessing the context and reputation of the source.ip address, and checking for any recent changes or anomalies in the user's account settings or permissions.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>azure</category><category>entra-id</category><category>credential-access</category><category>phishing</category></item><item><title>SharePoint Malware Upload for Lateral Movement</title><link>https://feed.craftedsignal.io/briefs/2024-01-sharepoint-malware-upload/</link><pubDate>Mon, 29 Jan 2024 10:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-sharepoint-malware-upload/</guid><description>Attackers can upload malware to SharePoint, leveraging the platform's file-sharing capabilities to propagate threats laterally within an organization and compromise additional systems.</description><content:encoded><![CDATA[<p>This detection identifies instances of malware being uploaded to SharePoint, which can be exploited by attackers to move laterally within an organization. The attackers can abuse the File Sharing and Organization Repositories to spread malware within the company and amplify their access. Unsuspecting users may share these files without recognizing their malicious nature, thereby creating opportunities for adversaries to gain initial access to other endpoints in the environment. This detection rule is based on Microsoft 365 audit logs and specifically targets events where SharePoint's file scanning engine has flagged a file upload as malicious. The rule is designed to help security teams quickly identify and respond to potential lateral movement attempts within their Microsoft 365 environment.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to a user account through phishing or credential compromise.</li>
<li>The attacker logs into the compromised account and accesses SharePoint.</li>
<li>The attacker uploads a malicious file (e.g., a document with a macro or an executable) to a SharePoint library.</li>
<li>The SharePoint file scanning engine detects the uploaded file as malware (event code: SharePointFileOperation and event action: FileMalwareDetected).</li>
<li>Other users within the organization access or download the malicious file from SharePoint.</li>
<li>The malware executes on the user's endpoint, leading to system compromise.</li>
<li>The attacker leverages the compromised system to further move laterally within the network, potentially gaining access to sensitive data or critical systems.</li>
<li>The attacker achieves their final objective, such as data exfiltration, ransomware deployment, or long-term persistence within the environment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful malware upload to SharePoint can lead to widespread compromise within an organization. Lateral movement can affect multiple users and systems, potentially leading to data breaches, financial losses, and reputational damage. The impact depends on the type of malware uploaded and the access privileges of the compromised accounts. Organizations can experience significant disruption to business operations, with remediation efforts requiring extensive time and resources.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable the Office 365 Logs Fleet integration or Filebeat module to collect Microsoft 365 audit logs, which are necessary to activate the rules below.</li>
<li>Deploy the Sigma rule <code>M365 SharePoint Malware File Detected</code> to your SIEM to detect malware uploads to SharePoint.</li>
<li>Review the investigation guide in the rule's <code>note</code> section to improve triage and incident response capabilities.</li>
<li>Implement enhanced monitoring and logging for SharePoint and related services to detect any future attempts to upload or share malicious files.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>lateral-movement</category><category>sharepoint</category><category>malware</category><category>o365</category></item><item><title>Entra ID OAuth Device Code Flow Phishing</title><link>https://feed.craftedsignal.io/briefs/2024-01-entra-device-code-phishing/</link><pubDate>Wed, 24 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-entra-device-code-phishing/</guid><description>Attackers are leveraging device code phishing to steal application access tokens from users of Entra ID OAuth applications, by tricking users into entering codes into attacker-controlled polling clients, leading to unauthorized access to cloud resources.</description><content:encoded><![CDATA[<p>Attackers are targeting Microsoft Entra ID OAuth workflows using device code phishing techniques. This involves tricking users into entering a device code into a malicious application or website controlled by the attacker. The attacker then uses this code to authenticate and gain unauthorized access to the user's account and associated cloud resources. This attack relies on the user's trust in the Microsoft login process and their unawareness of the attacker's involvement. Successful exploitation allows the attacker to bypass multi-factor authentication (MFA) and gain persistent access through stolen application access tokens. Volexity reported on Russian threat actors targeting Microsoft 365 OAuth workflows using device code phishing in April 2025. Defenders should monitor for unusual combinations of user agents and IP addresses in Entra ID sign-in logs.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker sets up a malicious application or website that mimics a legitimate Microsoft login page.</li>
<li>The attacker sends a phishing email or message to the victim, enticing them to visit the malicious application or website.</li>
<li>The victim enters their credentials and is prompted to enter a device code.</li>
<li>Unbeknownst to the victim, the attacker uses the stolen credentials and device code within a polling client (e.g., a Python script) to initiate an OAuth flow.</li>
<li>The attacker's polling client receives an access token upon successful authentication.</li>
<li>The attacker uses the access token to access the victim's account and resources within the Entra ID environment.</li>
<li>The attacker may then perform various malicious activities such as reading emails, accessing files, or launching further attacks.</li>
<li>The attacker maintains persistence by using the stolen access token for as long as it remains valid.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful device code phishing attacks can lead to significant data breaches and financial losses. An attacker can gain complete control over a user's account, allowing them to access sensitive information, steal data, or perform other malicious activities. Stolen access tokens can be used to bypass MFA, providing attackers with persistent access to the victim's resources. The number of victims can vary, but large-scale phishing campaigns can impact hundreds or thousands of users. Targeted sectors include organizations that heavily rely on Microsoft 365 and Azure services.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable and configure the Azure logs integration to collect all sign-in logs from Entra ID as required by the rule <code>Entra ID OAuth Device Code Flow with Concurrent Sign-ins</code>.</li>
<li>Deploy the Sigma rule <code>Entra ID OAuth Device Code Flow with Concurrent Sign-ins</code> to detect device code authentication flows with multiple user agents within the same session.</li>
<li>Investigate sign-in logs for unusual combinations of user agents (e.g., browser and Python Requests) and IP addresses associated with device code authentication flows to identify potential phishing attempts, as mentioned in the rule description.</li>
<li>Implement Conditional Access policies that require device compliance checks and restrict access to trusted locations or devices only, to mitigate the risk of Primary Refresh Token abuse, as recommended in the rule's remediation steps.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>entra-id</category><category>oauth</category><category>device-code-phishing</category><category>credential-access</category></item><item><title>M365 OneDrive Malware File Upload</title><link>https://feed.craftedsignal.io/briefs/2024-01-m365-onedrive-malware-upload/</link><pubDate>Tue, 16 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-m365-onedrive-malware-upload/</guid><description>This rule detects files uploaded to OneDrive that are identified as malware by the file scanning engine, potentially leading to lateral movement and further compromise.</description><content:encoded><![CDATA[<p>This detection rule identifies instances where files uploaded to Microsoft 365 OneDrive are flagged as malware by the built-in file scanning engine. Attackers may exploit OneDrive's file-sharing capabilities to spread malicious files laterally within an organization. Users can inadvertently share these files without being aware of their malicious nature, providing attackers with an opportunity to gain initial access or expand their foothold within the environment. This rule leverages logs from the Office 365 audit logs and Filebeat to detect these malicious file uploads. This detection is designed to identify files detected as malware after upload; it does not cover files that are already present in OneDrive. The rule has been actively maintained and updated, with the latest update occurring on February 25, 2026.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to a user's account, possibly through phishing or credential stuffing.</li>
<li>The attacker uploads a malicious file (e.g., a weaponized Office document or executable) to the compromised user's OneDrive.</li>
<li>OneDrive's built-in malware detection engine scans the uploaded file.</li>
<li>The file is flagged as malware by the scanning engine, triggering the <code>FileMalwareDetected</code> event.</li>
<li>The compromised user or other users with access to the file may inadvertently share it with other users within the organization.</li>
<li>Other users access the shared malicious file, potentially triggering malware execution on their endpoints.</li>
<li>The malware executes and establishes persistence or attempts to move laterally within the network.</li>
<li>The attacker achieves their objective, such as data exfiltration, ransomware deployment, or further compromise of the environment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack exploiting malicious OneDrive file uploads can lead to widespread malware infection within an organization. This can result in data loss, system downtime, and financial losses. Lateral movement initiated through shared malicious files can significantly expand the scope of the breach and increase the cost of remediation. The severity is rated high, and a risk score of 73 is assigned due to the potential for lateral movement.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable the Office 365 Logs Fleet integration or Filebeat module to collect the necessary audit logs, as mentioned in the rule's <strong>Setup</strong> section.</li>
<li>Deploy the provided Sigma rule to your SIEM to detect <code>FileMalwareDetected</code> events in OneDrive logs.</li>
<li>Investigate alerts generated by the Sigma rule, focusing on the user account associated with the upload and the file's sharing settings, as outlined in the <strong>Triage and analysis</strong> section.</li>
<li>Configure alerts to trigger when the <code>event.code</code> is <code>SharePointFileOperation</code> and the <code>event.action</code> is <code>FileMalwareDetected</code> as specified in the rule's query.</li>
<li>Review and tune the Sigma rule based on your environment's baseline activity to minimize false positives, referencing the suggested <strong>False positive analysis</strong> steps.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cloud</category><category>lateral-movement</category><category>onedrive</category></item><item><title>Microsoft Graph API Email Access by Unusual Client and User</title><link>https://feed.craftedsignal.io/briefs/2024-01-09-graph-email-access/</link><pubDate>Tue, 09 Jan 2024 18:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-09-graph-email-access/</guid><description>Detects anomalous access to email resources via Microsoft Graph API, potentially indicating a compromised OAuth refresh token or Primary Refresh Token (PRT) being used by an attacker.</description><content:encoded><![CDATA[<p>This rule identifies access to email resources via Microsoft Graph API using a first-party application on behalf of a user principal, which may indicate an adversary using a phished OAuth refresh token or a Primary Refresh Token (PRT) to access email resources. This behavior can lead to unauthorized email access, data exfiltration, and business email compromise. The detection focuses on requests to Microsoft Graph API endpoints related to email, such as <code>/me/mailFolders/inbox/messages</code> or <code>/users/{user_id}/messages</code>, using a public client application ID and a user principal object ID. The rule uses a new_terms aggregation, only signaling if the application ID and user principal object ID combination have not been seen doing this activity in the last 14 days, reducing false positives from common or expected application usage. The detection logic incorporates activity from Microsoft Graph Activity Logs to identify anomalous email access patterns.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access:</strong> The attacker gains access to a user's credentials, either through phishing, credential stuffing, or by compromising a Primary Refresh Token (PRT). (T1566, T1110)</li>
<li><strong>Token Exploitation:</strong> The attacker uses the compromised OAuth refresh token or PRT to authenticate to the Microsoft Graph API.</li>
<li><strong>Application Registration (Optional):</strong> The attacker might register a malicious application within Azure AD to facilitate access. (Not explicitly covered but a possibility.)</li>
<li><strong>Graph API Interaction:</strong> The attacker makes requests to the Microsoft Graph API, specifically targeting email resources using email-related scopes such as <code>Mail.Read</code>, <code>Mail.ReadWrite</code>, or <code>Mail.Send</code>.</li>
<li><strong>Email Access:</strong> The attacker accesses sensitive email data, potentially reading inbox contents, sending emails, or enumerating mail folders via the <code>/me/mailFolders/inbox/messages</code> or <code>/users/{user_id}/messages</code> endpoints. (T1114)</li>
<li><strong>Data Exfiltration/Manipulation:</strong> The attacker exfiltrates sensitive information or manipulates email content for malicious purposes.</li>
<li><strong>Persistence:</strong> The attacker maintains access by continuously using the compromised token or by establishing new persistence mechanisms.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack can lead to significant data breaches, financial losses, and reputational damage. Attackers can gain unauthorized access to sensitive email communications, intellectual property, and customer data. Business email compromise (BEC) is a likely outcome, enabling attackers to conduct fraudulent activities. The number of potential victims is vast, encompassing any organization using Microsoft 365 and relying on Azure Active Directory (Entra ID) for authentication.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Unusual Graph API Email Access by Client and User</code> to your SIEM to detect anomalous access patterns. Tune the rule by allowlisting known good <code>app_id</code> and <code>user_principal_object_id</code> combinations to reduce false positives.</li>
<li>Investigate any alerts generated by the Sigma rule by examining the <code>azure.graphactivitylogs.properties.app_id</code>, <code>user.id</code>, <code>source.ip</code>, and <code>azure.graphactivitylogs.properties.scopes</code> fields in the logs.</li>
<li>Implement Conditional Access policies to restrict OAuth consent and risky sign-ins, mitigating the initial access vector. Refer to the references for guidance.</li>
<li>Regularly audit and review application permissions within Azure AD to identify and remove any suspicious or overly permissive applications.</li>
<li>Monitor <code>azure.auditlogs</code> and <code>azure.signinlogs</code> for recent application grants and risky sign-ins occurring before or after email access.</li>
<li>Block known malicious applications by <code>azure.graphactivitylogs.properties.app_id</code> in your Azure AD tenant based on threat intelligence feeds.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>azure</category><category>graphapi</category><category>email</category><category>oauth</category><category>credentialtheft</category></item><item><title>Entra ID OAuth PRT Issuance to Non-Managed Device Detected</title><link>https://feed.craftedsignal.io/briefs/2024-01-entra-id-oauth-prt-issuance/</link><pubDate>Tue, 09 Jan 2024 18:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-entra-id-oauth-prt-issuance/</guid><description>Detection of Entra ID OAuth Primary Refresh Token (PRT) issuance to a non-managed device following a refresh token sign-in via Microsoft Authentication Broker (MAB), potentially indicating device registration abuse (ROADtx) for persistent access.</description><content:encoded><![CDATA[<p>This detection identifies a sequence of events that suggests an attacker has successfully registered a device using tools like ROADtx to gain persistent access to an Entra ID environment. The attack involves leveraging OAuth access tokens and Primary Refresh Tokens (PRTs) to bypass typical security controls. The initial access uses a refresh token, likely obtained through phishing or other credential compromise. Following this, a PRT is issued to a non-managed device. This allows the attacker to maintain access to Microsoft 365 resources, such as Outlook and SharePoint, without the device being subject to organizational policies or managed by Intune. This behavior is often associated with bypassing multi-factor authentication (MFA) and device compliance requirements. The detection focuses on identifying this transition from refresh token-based access to PRT-based access on unmanaged devices within a short timeframe (1 hour).</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker compromises user credentials through phishing or other means, obtaining a refresh token.</li>
<li>The attacker uses the refresh token to authenticate via the Microsoft Authentication Broker (MAB) client from an unmanaged device, generating a sign-in log with <code>incoming_token_type: refreshToken</code>.</li>
<li>The device registers with Azure AD, potentially using ROADtx or similar device registration tools, but remains unmanaged, indicating it is not compliant with organizational policies.</li>
<li>A Primary Refresh Token (PRT) is issued to the attacker-controlled, unmanaged device.</li>
<li>The attacker uses the PRT to authenticate to Microsoft 365 resources (excluding the Device Registration Service), generating a sign-in log with <code>incoming_token_type: primaryRefreshToken</code>.</li>
<li>The attacker gains persistent access to Microsoft 365 applications such as Outlook or SharePoint, potentially exfiltrating data or performing other malicious activities.</li>
<li>Conditional access policies are bypassed due to the valid PRT, even though the device is unmanaged, allowing the attacker to bypass MFA requirements.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows attackers to establish persistent access to Microsoft 365 resources, bypassing multi-factor authentication and device compliance policies. This can lead to data exfiltration, business email compromise (BEC), and other malicious activities. The impact is significant because it allows attackers to operate with the privileges of a legitimate user from a device that is not subject to organizational security controls. Affected sectors would include any organization using Microsoft 365 and Azure AD.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM to detect the described sequence of events based on <code>azure.signinlogs</code> data.</li>
<li>Investigate any alerts generated by the Sigma rule, focusing on unmanaged devices and unusual authentication patterns.</li>
<li>Review Conditional Access policies to ensure they effectively block access from non-compliant devices, referencing affected device IDs from <code>azure.signinlogs.properties.device_detail.device_id</code>.</li>
<li>Revoke PRT sessions for compromised user accounts to prevent further unauthorized access via Microsoft Entra ID or Conditional Access.</li>
<li>Audit device registration processes to identify and remove any unauthorized or suspicious device registrations as seen in <code>azure.signinlogs.properties.device_detail.trust_type</code>.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>cloud</category><category>entra_id</category><category>persistence</category><category>initial_access</category><category>credential_access</category><category>defense_evasion</category></item><item><title>BloodHound Suite User-Agent Detected in Entra ID Sign-ins</title><link>https://feed.craftedsignal.io/briefs/2024-01-bloodhound-azuread-discovery/</link><pubDate>Tue, 09 Jan 2024 18:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-bloodhound-azuread-discovery/</guid><description>Detection of BloodHound tools like AzureHound and SharpHound being used to enumerate Microsoft Entra ID and Microsoft 365 environments, potentially indicating reconnaissance activity by red teams or malicious actors.</description><content:encoded><![CDATA[<p>This threat brief focuses on the detection of reconnaissance activities within Microsoft Azure and Microsoft 365 environments through the use of BloodHound tools. Specifically, it addresses the use of AzureHound, SharpHound, and BloodHound by adversaries or red teams to map out users, groups, roles, applications, and access relationships within Microsoft Entra ID (Azure AD). The Elastic detection rule published on 2026-04-10 identifies activity based on the presence of suspicious user agent strings (e.g., <code>azurehound/</code>, <code>sharphound/</code>, <code>bloodhound/</code>) in various Azure and M365 logs. This technique allows attackers to gain a comprehensive understanding of the target environment's structure and potential vulnerabilities, often as a precursor to further exploitation. The scope of the detection includes Azure Graph API Activity Logs, Microsoft 365 Audit Logs, Entra ID Sign-in Logs, Entra ID Audit Logs, and Azure Activity Logs.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access:</strong> The attacker gains initial access to a compromised account or obtains valid credentials.</li>
<li><strong>Tool Deployment:</strong> The attacker deploys a BloodHound tool (AzureHound, SharpHound) on a compromised system or uses a cloud-based instance.</li>
<li><strong>Authentication:</strong> The tool authenticates to Azure AD using the compromised credentials or a service principal.</li>
<li><strong>Enumeration:</strong> The BloodHound tool begins enumerating users, groups, roles, applications, and access relationships using the Microsoft Graph API. This involves sending numerous API requests.</li>
<li><strong>Data Collection:</strong> The tool collects data about the Azure AD environment, including user details, group memberships, role assignments, and application permissions. API endpoints such as <code>/v1.0/users</code>, <code>/v1.0/groups</code>, and <code>/v1.0/organization</code> are accessed.</li>
<li><strong>Data Analysis:</strong> The collected data is analyzed to identify potential attack paths, such as privileged accounts, weak access controls, and lateral movement opportunities.</li>
<li><strong>Privilege Escalation (Potential):</strong> Based on the identified attack paths, the attacker attempts to escalate privileges or gain access to sensitive resources.</li>
<li><strong>Lateral Movement (Potential):</strong> Using compromised credentials or service principals, the attacker moves laterally within the Azure AD environment to access additional resources and data.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful enumeration using BloodHound tools can expose the entire structure of an Azure AD environment, leading to significant security risks. This includes the potential for privilege escalation, lateral movement, and data exfiltration. Attackers can leverage the gathered information to identify critical assets, high-value accounts, and vulnerable configurations, enabling them to launch targeted attacks. The impact could affect organizations of any size relying on Azure AD and Microsoft 365 for identity management and cloud services. If exploited, attackers can pivot to critical infrastructure and cause severe business disruptions.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &quot;Entra ID Sign-in BloodHound Suite User-Agent Detected&quot; to your SIEM and tune for your environment to detect enumeration attempts.</li>
<li>Enable verbose audit logging on Azure AD and Microsoft 365 services to capture detailed information about API requests, sign-in attempts, and user activity.</li>
<li>Review the false positives outlined in the overview section of the rule and implement appropriate allowlist conditions based on <code>app_id</code>, user context or source address.</li>
<li>Implement Conditional Access policies in Azure AD to enforce multi-factor authentication (MFA) for all users, especially for privileged accounts and API access.</li>
<li>Regularly review and reduce excessive privileges assigned to users and service principals to minimize the impact of potential breaches.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>azuread</category><category>bloodhound</category><category>enumeration</category><category>discovery</category></item><item><title>Defense Evasion via Exchange DLP Policy Removal</title><link>https://feed.craftedsignal.io/briefs/2024-01-09-o365-defense-evasion/</link><pubDate>Tue, 09 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-09-o365-defense-evasion/</guid><description>Attackers may remove or modify Exchange Data Loss Prevention (DLP) policies in Microsoft 365 to evade detection and exfiltrate sensitive data without triggering alerts.</description><content:encoded><![CDATA[<p>Attackers with sufficient privileges within a Microsoft 365 environment may target Exchange Data Loss Prevention (DLP) policies to facilitate data exfiltration or other malicious activities. By removing or modifying these policies, attackers can disable controls that would otherwise prevent sensitive information from leaving the organization. This tactic allows adversaries to operate with less risk of detection, potentially leading to significant data breaches. The scope of this attack depends on the extent of the attacker's access and the breadth of the compromised policies.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access:</strong> The attacker gains initial access to a Microsoft 365 account with administrative privileges, potentially through phishing, credential stuffing, or other methods.</li>
<li><strong>Privilege Escalation:</strong> If the initial account lacks sufficient privileges, the attacker attempts to escalate privileges within the Microsoft 365 environment.</li>
<li><strong>Discovery:</strong> The attacker uses PowerShell cmdlets like <code>Get-DlpPolicy</code> to identify existing DLP policies within the Exchange environment.</li>
<li><strong>Defense Evasion:</strong> The attacker uses PowerShell cmdlets like <code>Remove-DlpPolicy</code> or <code>Set-DlpPolicy</code> to remove or modify existing DLP policies. For example, they might disable a policy that prevents the transmission of sensitive financial data.</li>
<li><strong>Data Exfiltration:</strong> With DLP policies disabled or weakened, the attacker exfiltrates sensitive data via email, file sharing, or other allowed channels.</li>
<li><strong>Cover Tracks:</strong> The attacker may attempt to delete audit logs or modify other settings to conceal their activity. This might involve disabling auditing for specific mailboxes or DLP policies.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful removal or modification of DLP policies can lead to significant data breaches. Sensitive information, such as financial records, customer data, or intellectual property, can be exfiltrated without detection. The number of affected individuals and the financial impact can vary greatly depending on the scope of the attack and the type of data compromised. Organizations in highly regulated sectors, such as finance and healthcare, may face significant fines and reputational damage.</p>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>o365</category><category>dlp</category><category>defense_evasion</category><category>data_exfiltration</category></item><item><title>Entra ID OAuth Phishing via First-Party Microsoft Application</title><link>https://feed.craftedsignal.io/briefs/2024-01-09-entra-id-oauth-phishing/</link><pubDate>Tue, 09 Jan 2024 10:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-09-entra-id-oauth-phishing/</guid><description>Attackers are leveraging first-party Microsoft applications in Entra ID to conduct OAuth phishing attacks, bypassing traditional consent prompts and accessing sensitive resources like Microsoft Graph and legacy Azure AD.</description><content:encoded><![CDATA[<p>Attackers are exploiting the trust associated with first-party Microsoft applications within Entra ID to perform OAuth phishing campaigns, such as ConsentFix. These applications, belonging to the Family of Client IDs (FOCI), are pre-consented and cannot be blocked, making them ideal for bypassing consent prompts and gaining unauthorized access. The attackers phish users into granting these applications access to sensitive resources like Microsoft Graph or the deprecated Windows Azure Active Directory API. This access is then used to steal authorization codes and exchange them for tokens from attacker infrastructure. This activity was observed starting in early 2025 with ongoing campaigns in 2026.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker crafts a phishing email targeting a user, enticing them to click a malicious link.</li>
<li>The link redirects the user to a legitimate Microsoft login page, pre-populated with a first-party Microsoft application (e.g., Azure CLI, Visual Studio Code, Azure PowerShell).</li>
<li>The user is prompted to grant the application permissions to access resources like Microsoft Graph or Windows Azure Active Directory.</li>
<li>The user grants consent, unknowingly providing the attacker with an authorization code.</li>
<li>The attacker intercepts the authorization code and exchanges it for an access token using their own infrastructure.</li>
<li>The attacker uses the stolen access token to access the user's data and resources via Microsoft Graph or Windows Azure Active Directory.</li>
<li>The attacker may exfiltrate sensitive data, such as emails, files, or Teams messages.</li>
<li>The attacker may also register devices or create new accounts for persistence.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful OAuth phishing attacks can lead to unauthorized access to sensitive data, including emails, files, and other resources stored within Microsoft 365. Organizations may experience data breaches, financial losses, and reputational damage. The widespread nature of Microsoft 365 means that any organization relying on these services is potentially vulnerable. While the specific number of victims is not detailed, the references suggest widespread campaigns.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Entra ID OAuth Phishing via First-Party Microsoft Application - Developer Tools</code> to detect suspicious sign-in activity involving developer tools accessing Microsoft Graph or legacy Azure AD (rule provided below).</li>
<li>Deploy the Sigma rule <code>Entra ID OAuth Phishing via First-Party Microsoft Application - Legacy AAD</code> to detect any FOCI application accessing the deprecated Windows Azure Active Directory resource (rule provided below).</li>
<li>Review <code>azure.signinlogs.properties.user_principal_name</code> and <code>source.ip</code> for geographic anomalies as detailed in the &quot;Triage and analysis&quot; section of the rule description.</li>
<li>Implement Conditional Access policies to restrict OAuth flows for these applications to compliant devices only.</li>
<li>Educate users about OAuth phishing and the risks of pasting authorization codes into websites.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>entra_id</category><category>oauth</category><category>phishing</category><category>initial_access</category></item><item><title>Detection of Command and Control Activity via Commonly Abused Web Services</title><link>https://feed.craftedsignal.io/briefs/2024-01-04-c2-web-services/</link><pubDate>Thu, 04 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-04-c2-web-services/</guid><description>This rule detects command and control activity using common web services by identifying Windows hosts making DNS requests to a list of commonly abused web services from processes outside of known program locations, potentially indicating adversaries attempting to blend malicious traffic with legitimate network activity.</description><content:encoded><![CDATA[<p>Adversaries may implement command and control (C2) communications that use common web services to hide their activity. This attack technique is typically targeted at an organization and uses web services common to the victim network, which allows the adversary to blend into legitimate traffic activity. These popular services are typically targeted since they have most likely been used before compromise, which helps malicious traffic blend in. This detection focuses on identifying connections from Windows hosts to a predefined list of commonly abused web services from processes running outside of typical program installation directories, indicating a potential C2 channel leveraging legitimate services. The rule aims to detect this behavior by monitoring network connections and DNS requests originating from unusual locations.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial access is achieved via an unknown method (e.g., phishing, exploit).</li>
<li>Malware is installed on the victim's system, likely outside typical program directories.</li>
<li>The malware establishes a DNS connection to a commonly abused web service (e.g., pastebin.com, raw.githubusercontent.com) to obscure C2 traffic.</li>
<li>The malware sends encrypted or encoded commands to the web service.</li>
<li>The web service acts as an intermediary, relaying the commands to the attacker's C2 server.</li>
<li>The C2 server responds with instructions, which are then relayed back to the compromised host through the same web service.</li>
<li>The malware executes the received commands, potentially leading to data exfiltration, lateral movement, or other malicious activities.</li>
<li>The attacker maintains persistent access and control over the compromised system using the web service as a hidden C2 channel.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to data theft, system compromise, and further propagation within the network. Since commonly used web services are utilized, the malicious activity can blend in with legitimate network traffic, making it difficult to detect. The impact can range from minor data breaches to complete network compromise, depending on the attacker's objectives and the level of access gained.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Detect Commonly Abused Web Services via DNS</code> to your SIEM to identify suspicious DNS queries to known C2 web services originating from anomalous processes.</li>
<li>Enable DNS query logging on Windows endpoints to provide the data source required for the Sigma rule.</li>
<li>Review network connection logs for processes outside standard installation directories communicating with domains listed in the <code>query</code> section of the Sigma rule to identify potential C2 activity.</li>
<li>Implement network segmentation to limit the potential impact of compromised hosts.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>command-and-control</category><category>windows</category><category>threat-detection</category></item><item><title>M365 or Entra ID Identity Sign-in from a Suspicious Source</title><link>https://feed.craftedsignal.io/briefs/2024-01-03-m365-entra-id-suspicious-login/</link><pubDate>Wed, 03 Jan 2024 18:22:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-03-m365-entra-id-suspicious-login/</guid><description>Correlates successful Entra ID or Microsoft 365 sign-in events with network security alerts based on the source IP address, indicating potential initial access from suspicious sources.</description><content:encoded><![CDATA[<p>This threat brief addresses the risk of compromised credentials being used to access Microsoft 365 (M365) or Entra ID environments from suspicious network locations. The Elastic detection rule &quot;M365 or Entra ID Identity Sign-in from a Suspicious Source,&quot; published on 2026-04-10, correlates successful sign-in events with network security alerts triggered by the same source IP address. This correlation helps identify instances where an adversary might trigger a network alert (e.g., reputation-based or anomaly detection) before successfully authenticating to cloud resources. The rule focuses on identifying initial access attempts and is designed to detect activity that deviates from normal user behavior. Identifying suspicious sign-ins allows for prompt incident response and prevents further unauthorized access.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Compromise:</strong> An attacker compromises user credentials through phishing, malware, or credential stuffing attacks.</li>
<li><strong>Network Probing:</strong> The attacker uses the compromised credentials to attempt access to the target network, potentially triggering network security alerts due to unusual or malicious activity.</li>
<li><strong>Successful Authentication:</strong> Despite triggering network alerts, the attacker successfully authenticates to Microsoft 365 or Entra ID using the compromised credentials.</li>
<li><strong>Mail Access (Optional):</strong> Once authenticated, the attacker accesses the victim's email, potentially searching for sensitive information or using the account for further phishing attacks.</li>
<li><strong>Lateral Movement:</strong> The attacker attempts to move laterally within the M365 or Entra ID environment, potentially accessing other resources or user accounts.</li>
<li><strong>Privilege Escalation (Optional):</strong> The attacker attempts to escalate privileges within the environment to gain broader access and control.</li>
<li><strong>Data Exfiltration/Manipulation:</strong> The attacker exfiltrates sensitive data from the compromised environment or manipulates data to achieve their objectives.</li>
<li><strong>Persistence:</strong> The attacker establishes persistence mechanisms to maintain access to the environment, such as creating new user accounts or modifying existing configurations.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack can lead to unauthorized access to sensitive data, financial fraud, and reputational damage. Depending on the scope of access, attackers can gain access to confidential emails, documents, and other sensitive information stored within the Microsoft 365 or Entra ID environment. If attackers successfully maintain access, they can cause long-term damage and disruption to the organization's operations. The number of potential victims varies depending on the size and complexity of the targeted organization.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rules to your SIEM to detect correlated suspicious network activity and M365/Entra ID logins, tuning the rules for your specific environment.</li>
<li>Investigate alerts generated by the Sigma rules, focusing on the source IP address and associated network alerts, as outlined in the Elastic rule's triage and analysis section.</li>
<li>Review and harden your organization's multi-factor authentication (MFA) policies to prevent successful logins from compromised accounts, referencing Microsoft's security best practices (<a href="https://docs.microsoft.com/en-us/azure/security/fundamentals/identity-management-best-practices">https://docs.microsoft.com/en-us/azure/security/fundamentals/identity-management-best-practices</a>).</li>
<li>Implement network segmentation and access controls to limit the potential impact of compromised credentials, referencing the excluded IP ranges in the original rule's query to identify potentially internal or trusted networks.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cloud</category><category>azure</category><category>m365</category><category>entra-id</category><category>initial-access</category></item><item><title>Entra ID OAuth User Impersonation to Microsoft Graph</title><link>https://feed.craftedsignal.io/briefs/2024-01-entra-oauth-impersonation/</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-entra-oauth-impersonation/</guid><description>Detects potential session hijacking or token replay in Microsoft Entra ID, where a user signs in and subsequently accesses Microsoft Graph from a different IP address using the same session ID, indicating a successful OAuth phishing attack, session hijacking, or token replay attack.</description><content:encoded><![CDATA[<p>This detection identifies potential session hijacking or token replay attacks targeting Microsoft Entra ID and Microsoft Graph. The rule focuses on scenarios where a user authenticates to Entra ID, and shortly after, Microsoft Graph is accessed using the same session ID but originating from a different IP address. This behavior can signify a successful OAuth phishing attack, session hijacking, or token replay attack where an attacker steals session cookies or refresh/access tokens to impersonate a legitimate user. The targeted resources are typically Microsoft 365 applications and data accessed via the Graph API. The rule leverages Microsoft Entra ID Sign-In Logs and Microsoft Graph Activity Logs to correlate sign-in events with Graph API access, excluding known benign application IDs to reduce false positives. It is based on research and observed techniques detailed in threat intelligence reports regarding OAuth phishing campaigns.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker sends a phishing email to a target user, enticing them to click a malicious link.</li>
<li>The user is redirected to a fake OAuth consent page, controlled by the attacker, prompting them to grant permissions to a malicious application.</li>
<li>The user unknowingly provides consent, granting the attacker access to their Entra ID resources.</li>
<li>The attacker exchanges the authorization code for an access or refresh token.</li>
<li>The attacker uses the stolen access token to make API calls to Microsoft Graph from a different IP address than the original sign-in.</li>
<li>The attacker accesses sensitive data, such as emails, files, or contacts, via the Microsoft Graph API.</li>
<li>The attacker may use ROADtools to enumerate permissions and access further resources.</li>
<li>The attacker maintains persistence by using the refresh token to obtain new access tokens, even after the initial session expires.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to unauthorized access to sensitive data within Microsoft 365, including emails, files, contacts, and other resources accessible via the Microsoft Graph API. Attackers can use this access to perform data exfiltration, business email compromise (BEC), or further lateral movement within the organization. While the rule is designed to minimize false positives, legitimate scenarios like device switching and network roaming may trigger alerts, requiring careful investigation. If malicious activity is confirmed, affected user accounts must be immediately investigated and remediated to prevent further damage.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable and configure the Microsoft Entra ID Sign-In Logs and Microsoft Graph Activity Logs integration to collect audit and activity logs via Azure Event Hub, as outlined in the rule setup instructions.</li>
<li>Deploy the provided Sigma rule <code>Entra ID OAuth User Impersonation to Microsoft Graph</code> to your SIEM and tune it for your environment, paying close attention to false positives related to device switching and network roaming.</li>
<li>Review and enforce conditional access policies, including multi-factor authentication and location-based access controls, to mitigate OAuth phishing attacks as mentioned in the triage section.</li>
<li>Revoke all refresh/access tokens for any user accounts flagged by this rule and reset their credentials, if malicious activity is confirmed.</li>
<li>Monitor network connections for the IPs detected by the Sigma rule and block them on the perimeter.</li>
<li>Review session control policies and conditional access enforcement as described in the investigation steps to prevent future token replay attacks.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>azure</category><category>entra_id</category><category>oauth</category><category>graph_api</category><category>token_replay</category><category>session_hijacking</category><category>initial_access</category><category>defense_evasion</category></item><item><title>Unusual Volume of File Deletion in Microsoft 365</title><link>https://feed.craftedsignal.io/briefs/2024-01-unusual-file-deletion/</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-unusual-file-deletion/</guid><description>An attacker may delete an unusual volume of files in Microsoft 365 to cause disruption or hide malicious activity.</description><content:encoded><![CDATA[<p>This activity focuses on the potential impact of an attacker deleting a significant number of files within a Microsoft 365 environment. While the provided source doesn't explicitly attribute this behavior to a specific threat actor or campaign, it highlights the importance of detecting unusual file deletion patterns, regardless of the cause. Attackers can leverage this technique to disrupt business operations by causing data loss or to cover their tracks after gaining unauthorized access to sensitive information. The scope of this threat is potentially broad, affecting any organization relying on Microsoft 365 for file storage and collaboration.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access:</strong> An attacker gains unauthorized access to a Microsoft 365 account, potentially through phishing or credential compromise.</li>
<li><strong>Privilege Escalation (Optional):</strong> The attacker may attempt to escalate privileges within the Microsoft 365 environment to gain broader access to files and folders.</li>
<li><strong>Discovery:</strong> The attacker identifies valuable data stored within SharePoint, OneDrive, or Teams.</li>
<li><strong>Data Manipulation:</strong> The attacker begins deleting a large number of files and folders within a short period.</li>
<li><strong>Evasion:</strong> The attacker may attempt to disable or tamper with audit logs to prevent detection of their activity.</li>
<li><strong>Impact:</strong> Legitimate users are unable to access critical data, leading to business disruption and potential data loss.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack involving the unusual deletion of files can lead to significant data loss, business disruption, and reputational damage. Depending on the scope of the deletion, organizations may face challenges in recovering lost data, leading to prolonged downtime and financial losses. The sectors most vulnerable are those heavily reliant on Microsoft 365 for daily operations and data storage.</p>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>microsoft365</category><category>file_deletion</category><category>data_loss</category><category>impact</category></item><item><title>TeamFiltration Tool User-Agent Detected in Entra ID Sign-ins</title><link>https://feed.craftedsignal.io/briefs/2024-01-03-teamfiltration-user-agent/</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-03-teamfiltration-user-agent/</guid><description>The TeamFiltration tool, used for Entra ID and Microsoft 365 enumeration and password spraying, is detected via specific user-agent strings in sign-in logs.</description><content:encoded><![CDATA[<p>The TeamFiltration tool is an open-source utility designed for enumeration, password spraying, and exfiltration within Entra ID and Microsoft 365 environments. Active threat actors leverage TeamFiltration to discover users, groups, and roles, and to execute password spraying attacks targeting Microsoft Entra ID and Microsoft 365 accounts. This detection focuses on identifying TeamFiltration usage by monitoring for its specific user-agent strings within Azure and Microsoft 365 sign-in logs. This activity began being tracked in July 2025. TeamFiltration uses a list of FOCI compliant applications to perform enumeration and password spraying. TeamFiltration uses Microsoft Teams client ID <code>1fec8e78-bce4-4aaf-ab1b-5451cc387264</code> for enumeration.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial Access: The attacker gains initial access or leverages existing compromised credentials.</li>
<li>Tool Execution: The attacker executes the TeamFiltration tool on a compromised system or from a cloud-based instance.</li>
<li>Enumeration: TeamFiltration uses the Microsoft Teams client ID <code>1fec8e78-bce4-4aaf-ab1b-5451cc387264</code> to enumerate users, groups, and roles within the target Entra ID/M365 environment using Graph API requests.</li>
<li>Password Spraying: The tool performs password spraying attacks against enumerated user accounts.</li>
<li>Credential Access: If successful, the attacker gains access to user accounts.</li>
<li>Privilege Escalation: The attacker attempts to escalate privileges within the environment leveraging the compromised accounts.</li>
<li>Lateral Movement: Using compromised accounts, the attacker attempts lateral movement to gain access to additional resources.</li>
<li>Data Exfiltration: If successful in gaining access to sensitive data, the attacker exfiltrates the data.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful attacks using TeamFiltration can result in widespread unauthorized access to sensitive data within Microsoft Entra ID and Microsoft 365 environments. This can lead to data breaches, financial loss, and reputational damage. The tool is actively used in account takeover campaigns and can affect organizations of any size that utilize Entra ID and M365 services.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Entra ID Sign-in TeamFiltration User-Agent Detected</code> to your SIEM to detect the use of TeamFiltration based on user-agent strings.</li>
<li>Monitor Azure and Microsoft 365 sign-in logs for user agents matching those used by TeamFiltration, as indicated in the rule above (logsource: <code>azure.signinlogs</code> or <code>o365.audit</code>).</li>
<li>Investigate any sign-in events matching the TeamFiltration user-agent, paying close attention to the source IP addresses and user accounts involved.</li>
<li>Enable Conditional Access policies to require MFA for API and CLI-based access to mitigate password spraying attacks.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>azure</category><category>o365</category><category>teamfiltration</category><category>credential-access</category></item><item><title>SharePoint Sensitive Term Discovery via O365 Logs</title><link>https://feed.craftedsignal.io/briefs/2024-01-sharepoint-sensitive-term-discovery/</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-sharepoint-sensitive-term-discovery/</guid><description>Adversaries may search for sensitive terms within SharePoint to identify valuable data for exfiltration or further compromise, leaving traces in O365 audit logs.</description><content:encoded><![CDATA[<p>While the provided document focuses on a detection rule name within the Elastic detection-rules repository on GitHub, it doesn't directly describe an active threat or campaign. The title &quot;discovery_sharepoint_sensitive_term_search&quot; implies a potential attack vector where malicious actors attempt to locate sensitive information stored within a SharePoint environment. The adversary would likely leverage search functionalities, leaving audit trails within Microsoft 365 (O365) logs. Successful identification of sensitive data could lead to data exfiltration, privilege escalation, or further targeted attacks. Defenders need to monitor for unusual search activity and access patterns within SharePoint to detect potential reconnaissance attempts. This highlights the importance of robust logging and monitoring within cloud-based collaboration platforms like SharePoint.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains initial access to a compromised account or through an insider threat.</li>
<li>The attacker authenticates to the Microsoft 365 environment.</li>
<li>The attacker begins performing searches within SharePoint, targeting potentially sensitive terms (e.g., &quot;password,&quot; &quot;financial,&quot; &quot;confidential&quot;).</li>
<li>SharePoint processes the search queries and returns results based on the attacker's permissions.</li>
<li>Microsoft 365 logs the search activity, including the user, timestamp, and search terms used.</li>
<li>The attacker reviews the search results and identifies documents or sites containing sensitive information.</li>
<li>The attacker accesses and potentially downloads the sensitive documents.</li>
<li>The attacker exfiltrates the data or uses it to further compromise the environment (e.g., privilege escalation).</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful discovery of sensitive terms within SharePoint could expose confidential data, intellectual property, or personally identifiable information (PII). The impact could range from reputational damage and financial losses due to regulatory fines to compromised business operations and competitive disadvantage. The number of victims depends on the scope of the targeted SharePoint environment, but even a single successful breach can have significant consequences.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable and actively monitor Microsoft 365 Unified Audit Logging to capture SharePoint search activities (Attack Chain step 5).</li>
<li>Deploy the Sigma rule provided to detect suspicious searches for sensitive terms within SharePoint audit logs.</li>
<li>Implement multi-factor authentication (MFA) to mitigate the risk of compromised accounts (Attack Chain step 1).</li>
<li>Review and enforce least privilege access principles for SharePoint to limit the potential impact of a successful breach (Attack Chain step 6).</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>sharepoint</category><category>discovery</category><category>sensitive-data</category><category>o365</category></item><item><title>O365 Risk-Based Consent Disabled</title><link>https://feed.craftedsignal.io/briefs/2024-01-o365-risky-consent/</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-o365-risky-consent/</guid><description>The disabling of the 'risk-based step-up consent' security setting in Microsoft 365 allows users to grant consent to potentially malicious applications, increasing the risk of OAuth phishing and unauthorized access to sensitive data.</description><content:encoded><![CDATA[<p>This alert focuses on the disabling of the &quot;risk-based step-up consent&quot; feature within Microsoft 365. When enabled, this feature requires additional authorization steps for users attempting to grant permissions to applications deemed risky by Microsoft. Attackers can exploit user consent to gain access to sensitive data. By disabling this control, adversaries can potentially trick users into granting permissions to malicious applications without triggering additional security checks, effectively bypassing a critical defense mechanism. This can lead to account takeover and data exfiltration. The activity is logged within Azure Active Directory and can be identified by changes to the 'AllowUserConsentForRiskyApps' setting.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to an administrator account, potentially through phishing or credential stuffing.</li>
<li>The attacker authenticates to the Azure Active Directory admin portal.</li>
<li>The attacker navigates to the Enterprise applications settings.</li>
<li>The attacker modifies the authorization policy using the &quot;Update authorization policy&quot; operation.</li>
<li>Specifically, the attacker changes the &quot;AllowUserConsentForRiskyApps&quot; setting from &quot;true&quot; to &quot;false&quot;.</li>
<li>This change disables the risk-based step-up consent feature, lowering the threshold for application consent.</li>
<li>The attacker then uses social engineering or other phishing techniques to trick users into granting consent to a malicious OAuth application.</li>
<li>Upon successful consent, the attacker gains access to user data and other resources authorized by the user, leading to data theft or further compromise.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Disabling risk-based step-up consent can significantly broaden the attack surface within an organization's Microsoft 365 environment. Successful exploitation can lead to widespread data breaches, impacting potentially thousands of users. This can lead to regulatory fines, legal liabilities, and significant reputational damage. The lack of step-up consent increases the likelihood of successful OAuth phishing attacks, which are becoming increasingly prevalent.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable the Sysmon config and ingest O365 management activity events to allow for proper detection coverage.</li>
<li>Deploy the Sigma rule <code>O365 Block User Consent For Risky Apps Disabled</code> in your SIEM to detect instances where the &quot;risk-based step-up consent&quot; setting is disabled.</li>
<li>Investigate any detected instances of this setting being disabled, focusing on the user (<code>user</code> field in the logs) who made the change and the context surrounding the event.</li>
<li>Educate users about the risks associated with granting application consent and how to identify potentially malicious applications.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>o365</category><category>azuread</category><category>oauth</category><category>consent-phishing</category><category>defense-evasion</category></item><item><title>O365 Compliance Content Search Exported</title><link>https://feed.craftedsignal.io/briefs/2024-01-o365-compliance-search-export/</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-o365-compliance-search-export/</guid><description>An adversary exports the results of an Office 365 Security and Compliance Center content search, potentially leading to data exfiltration of sensitive information.</description><content:encoded><![CDATA[<p>The Office 365 Security and Compliance Center provides tools for searching and exporting content across the O365 environment. Attackers can abuse the compliance search functionality to identify and extract sensitive data from mailboxes, SharePoint sites, and other locations. By exporting the results of these searches, adversaries can bypass traditional data loss prevention (DLP) controls and exfiltrate data without triggering typical alerts. This activity is particularly concerning as it can expose sensitive organizational data and violate compliance regulations. The built-in &quot;SearchExported&quot; operation within the SecurityComplianceCenter workload provides defenders with an auditable event to detect this malicious activity within their O365 tenant.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains unauthorized access to an Office 365 account with sufficient permissions to access the Security &amp; Compliance Center. This could be achieved through phishing, credential stuffing, or other methods of account compromise.</li>
<li>The attacker logs into the Office 365 Security &amp; Compliance Center.</li>
<li>The attacker initiates a content search targeting specific keywords, custodians, or data locations. The search criteria are carefully chosen to identify sensitive information of interest.</li>
<li>The attacker reviews the search results to validate the presence of the targeted sensitive data.</li>
<li>The attacker initiates an export of the search results. This involves selecting an export format (e.g., PST, individual messages) and specifying an export location.</li>
<li>The system processes the export request and prepares the data for download.</li>
<li>The attacker downloads the exported data to their local system or an external storage location.</li>
<li>The attacker exfiltrates the downloaded data from the compromised system to an external location under their control. This may involve using cloud storage, encrypted channels, or other methods to avoid detection. The attacker's goal is to steal sensitive data.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows attackers to exfiltrate sensitive organizational data, including confidential emails, financial records, intellectual property, and customer data. This can lead to significant financial losses, reputational damage, legal liabilities, and regulatory fines. The number of affected individuals and the scope of the data breach will depend on the specific targets and search criteria used by the attacker. Organizations in regulated industries, such as finance and healthcare, are particularly vulnerable due to the strict data protection requirements they must adhere to.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Monitor Office 365 management activity logs for &quot;SearchExported&quot; operations in the SecurityComplianceCenter workload to detect suspicious content search exports. Deploy the <code>O365 Compliance Content Search Exported</code> Sigma rule to your SIEM.</li>
<li>Implement multi-factor authentication (MFA) for all user accounts, especially those with administrative privileges to limit initial access (TA0001).</li>
<li>Regularly review and audit user permissions in Office 365 to ensure that users only have access to the data they need to perform their job functions.</li>
<li>Configure alerts for unusual or large-scale data exports from Office 365 to identify potential data exfiltration attempts.</li>
<li>Educate users about the risks of phishing and other social engineering attacks to prevent account compromise.</li>
<li>Investigate any detected &quot;SearchExported&quot; events promptly to determine the legitimacy of the export and identify any potential data breaches.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>o365</category><category>data-exfiltration</category><category>compliance</category></item><item><title>O365 Compliance Content Search Activity Detected</title><link>https://feed.craftedsignal.io/briefs/2024-01-o365-compliance-search/</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-o365-compliance-search/</guid><description>Detection of content search initiation within the Office 365 Security and Compliance Center using the SearchCreated operation, which may signal unauthorized access to sensitive organizational data such as emails and documents, potentially leading to data exfiltration and compliance breaches.</description><content:encoded><![CDATA[<p>This analytic identifies the initiation of content searches within the Office 365 Security and Compliance Center, an activity that can indicate attempts to access sensitive data. The detection focuses on the &quot;SearchCreated&quot; operation within the o365_management_activity logs, specifically from the SecurityComplianceCenter workload. Content searches, while sometimes legitimate, can also be used maliciously to identify and access confidential emails, documents, and other sensitive information. Successful exploitation can lead to unauthorized data access, data exfiltration, and significant compliance violations, potentially impacting a broad range of organizations utilizing Microsoft 365 services. Defenders should monitor these events closely to differentiate between legitimate use and potential malicious activity, particularly when combined with other suspicious behaviors.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains initial access to a compromised or rogue user account within the target Office 365 environment, possibly through phishing or credential stuffing.</li>
<li>The attacker authenticates to the Office 365 environment using the compromised account.</li>
<li>The attacker navigates to the Office 365 Security and Compliance Center.</li>
<li>The attacker initiates a content search using the &quot;SearchCreated&quot; operation, targeting specific mailboxes or SharePoint sites.</li>
<li>The attacker defines search criteria to identify sensitive data, potentially using keywords or specific date ranges.</li>
<li>The system executes the content search and the results are stored.</li>
<li>The attacker accesses the search results, reviewing sensitive emails or documents.</li>
<li>The attacker exfiltrates the sensitive data from the Office 365 environment, potentially through email, cloud storage, or other means.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to unauthorized access and exfiltration of sensitive organizational data, including emails, documents, and other confidential information. This can result in significant financial losses, reputational damage, legal liabilities, and compliance violations. Depending on the scope and nature of the data compromised, the impact could range from individual privacy breaches to large-scale corporate espionage. Organizations in regulated industries such as finance, healthcare, and government are particularly vulnerable due to the sensitive nature of the data they handle.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Ensure proper installation and configuration of the Splunk Microsoft Office 365 Add-on to ingest relevant Office 365 management activity events.</li>
<li>Deploy the Sigma rule <code>O365 Compliance Content Search Started</code> to your SIEM and tune for your environment, paying close attention to known false positives.</li>
<li>Investigate any detected <code>SearchCreated</code> events, focusing on the user initiating the search, the targets of the search, and the search criteria used.</li>
<li>Monitor for unusual network activity or data exfiltration following a detected content search.</li>
<li>Implement multi-factor authentication (MFA) to protect against compromised accounts, reducing the risk of unauthorized access.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>o365</category><category>compliance</category><category>content search</category><category>data exfiltration</category></item><item><title>O365 ApplicationImpersonation Role Assigned</title><link>https://feed.craftedsignal.io/briefs/2024-01-03-o365-app-impersonation/</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-03-o365-app-impersonation/</guid><description>Detection of the ApplicationImpersonation role being assigned in Office 365, potentially leading to unauthorized mailbox access and impersonation.</description><content:encoded><![CDATA[<p>The ApplicationImpersonation role in Office 365 grants extensive privileges, allowing a user or application to impersonate any other user within the organization. Assignment of this role is a sensitive event that requires careful monitoring. This activity is significant because the ApplicationImpersonation role allows impersonation of any user, enabling access to and modification of their mailbox. Attackers, such as the NOBELIUM group, can abuse this role to gain unauthorized access to sensitive information, manipulate mailbox data, and perform actions as a legitimate user. The source detection logic leverages the Office 365 Management Activity API to monitor Azure Active Directory audit logs.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial Access: An attacker gains initial access to an account with sufficient privileges to modify Office 365 roles.</li>
<li>Privilege Escalation: The attacker attempts to assign the ApplicationImpersonation role to a compromised user account or a newly created service principal. This can be achieved via PowerShell or the Azure AD portal.</li>
<li>Role Assignment: The &quot;New-ManagementRoleAssignment&quot; operation is executed within the Office 365 environment, assigning the ApplicationImpersonation role.</li>
<li>Persistence: The attacker leverages the newly assigned ApplicationImpersonation role to maintain persistent access to the target organization's mailboxes.</li>
<li>Data Access: The attacker uses the ApplicationImpersonation role to access and exfiltrate sensitive data from mailboxes.</li>
<li>Lateral Movement: With access to user mailboxes, the attacker gathers information to facilitate lateral movement within the organization.</li>
<li>Covering Tracks: The attacker may attempt to disable logging or remove audit trails to conceal their activities.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to complete compromise of sensitive email data, intellectual property theft, and potential business email compromise (BEC) attacks. An attacker with the ApplicationImpersonation role can read, modify, and delete emails from any user's mailbox, leading to significant data breaches and reputational damage.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>O365 ApplicationImpersonation Role Assigned</code> to your SIEM and tune for your environment.</li>
<li>Review existing ApplicationImpersonation role assignments to identify and revoke any unauthorized or suspicious grants.</li>
<li>Monitor O365 management activity logs for unusual &quot;New-ManagementRoleAssignment&quot; events.</li>
<li>Investigate any alerts triggered by the detection logic, focusing on the <code>target_user</code> and <code>user</code> fields in the logs.</li>
<li>Implement multi-factor authentication (MFA) for all user accounts, especially those with administrative privileges.</li>
<li>Regularly audit Azure AD roles and permissions to ensure least privilege.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">threat</category><category>cloud</category><category>o365</category><category>applicationimpersonation</category><category>persistence</category></item><item><title>O365 Application Available To Other Tenants</title><link>https://feed.craftedsignal.io/briefs/2024-01-o365-app-multi-tenant/</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-o365-app-multi-tenant/</guid><description>An Azure Active Directory Application is configured to allow authentication from external tenants or personal accounts, potentially leading to unauthorized access to data or capabilities.</description><content:encoded><![CDATA[<p>This detection identifies Azure Active Directory Applications configured in a way that allows authentication from external tenants or personal accounts. This configuration can lead to inappropriate or malicious access to any data or capabilities the application is authorized to access. This poses a significant risk, as threat actors can exploit this misconfiguration to gain unauthorized access to sensitive resources within the targeted organization's O365 environment. The detection leverages the O365 Universal Audit Log data source to monitor changes to application settings, specifically the 'AvailableToOtherTenants' property. This analytic is based on a Splunk ES-CU detection and can be adapted to other platforms. The Microsoft guidance released in March 2023 highlights the risks associated with such misconfigurations, emphasizing the importance of detecting and remediating these issues promptly.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker identifies an Azure Active Directory application within the target organization.</li>
<li>The attacker discovers that the application is configured to allow authentication from external tenants ('AvailableToOtherTenants' is set to true).</li>
<li>The attacker registers a malicious application within their own Azure tenant.</li>
<li>The attacker configures their malicious application to request permissions to access resources within the target organization's environment, leveraging the misconfigured application.</li>
<li>A user within the target organization is tricked into granting consent to the attacker's malicious application.</li>
<li>The attacker's application gains access to the target organization's resources, such as data stored in SharePoint or Exchange Online.</li>
<li>The attacker exfiltrates sensitive data or performs other malicious actions, such as creating new accounts or modifying existing configurations.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack can lead to unauthorized access to sensitive data, including confidential documents, financial records, and personal information. The impact can range from data breaches and financial losses to reputational damage and legal liabilities. The number of affected users and the extent of the damage will depend on the permissions granted to the misconfigured application and the resources it has access to. Given the widespread use of Azure Active Directory and the potential for misconfiguration, this threat poses a significant risk to organizations of all sizes and across various sectors.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>O365 Application Available To Other Tenants</code> to your SIEM and tune for your environment to detect when the 'AvailableToOtherTenants' property is enabled for an application.</li>
<li>Review Azure Active Directory application configurations to identify and remediate any applications that are configured to allow authentication from external tenants.</li>
<li>Implement strict consent policies to prevent users from granting access to unauthorized applications.</li>
<li>Monitor the O365 Universal Audit Log data source for suspicious activity related to Azure Active Directory applications.</li>
<li>Investigate any alerts generated by the <code>O365 Application Available To Other Tenants</code> rule and take appropriate remediation actions.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>azuread</category><category>o365</category><category>multitenant</category></item><item><title>O365 Advanced Audit Disabled</title><link>https://feed.craftedsignal.io/briefs/2024-01-03-o365-adv-audit-disable/</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-03-o365-adv-audit-disable/</guid><description>The O365 Advanced Audit feature provides critical logging and insights into user and administrator activities, and this analytic detects instances where it is disabled for a specific user, potentially blinding security teams to malicious actions.</description><content:encoded><![CDATA[<p>The O365 Advanced Audit feature in Microsoft 365 provides detailed logging of user and administrator activities. Disabling this feature can significantly reduce visibility into potentially malicious actions within an organization's Microsoft 365 environment. Attackers may disable advanced auditing to evade detection while performing malicious activities such as unauthorized data access, data exfiltration, or account compromise. This detection focuses on identifying instances where the &quot;M365_ADVANCED_AUDITING&quot; plan is disabled for a user, based on Office 365 management activity events. This activity is tracked via AzureActiveDirectory workloads. Identifying this activity allows defenders to quickly identify gaps in logging coverage.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to a privileged user account within the O365 tenant. This could be achieved through phishing, credential stuffing, or other methods.</li>
<li>The attacker authenticates to the O365 portal with the compromised account.</li>
<li>The attacker navigates to the Azure Active Directory admin center.</li>
<li>The attacker locates the target user account for which they want to disable advanced auditing.</li>
<li>The attacker modifies the user's license, specifically removing the &quot;M365_ADVANCED_AUDITING&quot; plan. This action generates an &quot;Change user license&quot; event in the O365 management activity logs.</li>
<li>The &quot;extendedAuditEventCategory&quot; property in the log indicates an audit license change. The &quot;DisabledPlans&quot; property is checked for the presence of &quot;M365_ADVANCED_AUDITING&quot;.</li>
<li>With advanced auditing disabled, the attacker performs malicious activities within the user's account, such as accessing sensitive data or exfiltrating information, with a reduced risk of detection.</li>
<li>The attacker maintains persistence within the compromised account, leveraging the disabled audit logging to avoid detection over an extended period.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Disabling O365 advanced auditing can lead to a significant reduction in visibility into user and administrator activities. Attackers can exploit this lack of visibility to perform unauthorized actions such as data exfiltration, account compromise, and lateral movement within the O365 environment. If successful, this can lead to data breaches, financial loss, and reputational damage. Without advanced auditing enabled, investigations into security incidents become significantly more challenging and time-consuming.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule provided below to your SIEM to detect instances of O365 advanced audit being disabled (Sigma rule).</li>
<li>Investigate any detected instances of disabled advanced auditing to determine if the change was authorized and legitimate.</li>
<li>Implement multi-factor authentication (MFA) for all user accounts, especially privileged accounts, to reduce the risk of account compromise (TTP:TA0001).</li>
<li>Review and harden O365 security configurations based on Microsoft's best practices and industry standards (Reference: <a href="https://www.mandiant.com/sites/default/files/2022-08/remediation-hardening-strategies-for-m365-defend-against-apt29-white-paper.pdf">https://www.mandiant.com/sites/default/files/2022-08/remediation-hardening-strategies-for-m365-defend-against-apt29-white-paper.pdf</a>).</li>
<li>Monitor O365 management activity logs for other suspicious activities, such as changes to security policies or the creation of new accounts with elevated privileges.</li>
<li>Ensure that all administrators are aware of the importance of advanced auditing and the potential risks associated with disabling it.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>o365</category><category>audit</category><category>defense-evasion</category><category>persistence</category></item><item><title>Microsoft 365 Suspicious Email Delivery</title><link>https://feed.craftedsignal.io/briefs/2024-01-m365-suspicious-email/</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-m365-suspicious-email/</guid><description>This brief outlines a threat where Microsoft Defender for Office 365 identifies an email as malicious or suspicious but still delivers it to a user's inbox or junk folder, potentially bypassing initial security measures.</description><content:encoded><![CDATA[<p>This threat involves malicious or suspicious emails, as identified by Microsoft Defender for Office 365, being delivered to user mailboxes despite the existing security mechanisms. This can occur due to various factors, including misconfigured security policies, sophisticated attacker techniques that evade detection, or delayed signature updates. The delivery of such emails presents a significant risk, as they may contain spearphishing attachments, malicious links, or other harmful content designed to compromise user accounts or systems. Successful exploitation can lead to data theft, malware infection, and further propagation of the attack within the organization. It's crucial to investigate these instances promptly to remediate any potential damage and improve email security posture.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a spearphishing email designed to bypass standard security filters.</li>
<li>The email is sent to a target user within the Microsoft 365 environment.</li>
<li>Microsoft Defender for Office 365 analyzes the email and identifies it as suspicious but fails to block delivery.</li>
<li>The email is delivered to the user's Inbox or Junk folder.</li>
<li>The user opens the email and clicks on a malicious link or opens a malicious attachment (e.g., a macro-enabled document).</li>
<li>The link redirects the user to a credential harvesting site, or the attachment executes malicious code (e.g., via PowerShell).</li>
<li>The attacker gains access to the user's account or system.</li>
<li>The attacker uses the compromised account to further propagate the attack, exfiltrate data, or deploy malware within the organization.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The impact of this threat can be significant. Successful exploitation can lead to the compromise of user accounts, data theft, malware infection, and financial loss. Organizations may experience business disruption, reputational damage, and legal liabilities. The number of affected users and the extent of the damage will depend on the attacker's objectives and the organization's security controls.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule provided to detect suspicious email delivery events within your Microsoft 365 environment and tune for your specific environment.</li>
<li>Investigate any alerts generated by the Sigma rule to determine the root cause of the bypass and remediate any potential damage.</li>
<li>Review and adjust Microsoft Defender for Office 365 settings to improve detection accuracy and blocking capabilities.</li>
<li>Educate users about the risks of phishing emails and encourage them to report suspicious messages.</li>
<li>Monitor the <code>TIMailData</code> operation within the M365 audit logs for further analysis and threat hunting.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>suspicious-email</category><category>phishing</category><category>microsoft365</category></item><item><title>Microsoft 365 SharePoint Site Administrator Added</title><link>https://feed.craftedsignal.io/briefs/2024-01-sharepoint-privilege-escalation/</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-sharepoint-privilege-escalation/</guid><description>Detection of a new SharePoint Site Administrator added in Microsoft 365, which adversaries may leverage after compromising a privileged account to maintain persistent, high-privilege access, as seen in the 0mega ransomware campaign.</description><content:encoded><![CDATA[<p>This rule detects the addition of a new SharePoint Site Administrator within Microsoft 365 environments. Site Administrators possess extensive control over SharePoint sites, including managing permissions, accessing content, and modifying settings. Attackers who have compromised a privileged account might add themselves or a controlled account as a Site Administrator. This allows them to maintain persistent, elevated access to sensitive data within SharePoint. This activity was observed during the 0mega ransomware campaign where threat actors escalated privileges to facilitate data exfiltration and deploy ransom notes across SharePoint sites. Detecting this activity is crucial to identify and prevent unauthorized access and potential data breaches within Microsoft 365 environments.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker compromises a privileged user account within the Microsoft 365 environment.</li>
<li>The attacker authenticates to the Microsoft 365 environment using the compromised credentials.</li>
<li>The attacker navigates to the SharePoint admin center.</li>
<li>The attacker identifies a target SharePoint site to escalate privileges on.</li>
<li>The attacker adds a new user (themselves or a controlled account) as a Site Collection Administrator for the target SharePoint site. This generates a <code>SiteCollectionAdminAdded</code> audit event.</li>
<li>The attacker leverages the newly acquired Site Administrator privileges to access sensitive data stored on the SharePoint site.</li>
<li>The attacker may modify site settings to further entrench their persistence.</li>
<li>The attacker exfiltrates sensitive data or deploys ransomware across the SharePoint site.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to unauthorized access to sensitive data stored within SharePoint sites, potential data breaches, and the deployment of ransomware. The 0mega ransomware campaign demonstrated the potential for significant disruption and financial losses stemming from this type of privilege escalation. Depending on the sensitivity of the data stored within the affected SharePoint sites, organizations may face regulatory fines, reputational damage, and legal liabilities.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM to detect <code>SiteCollectionAdminAdded</code> events in your Microsoft 365 audit logs.</li>
<li>Review the <code>user.id</code>, <code>o365.audit.ModifiedProperties.SiteAdmin.NewValue</code>, and <code>o365.audit.SiteUrl</code> fields in the logs to identify the actor, the added admin, and the affected site as outlined in the rule's &quot;Triage and Analysis&quot; section.</li>
<li>Implement Privileged Access Management (PAM) or Privileged Identity Management (PIM) to require just-in-time elevation for SharePoint admin roles.</li>
<li>Enable multi-factor authentication (MFA) for all accounts with SharePoint administrative privileges as described in the &quot;Response and Remediation&quot; section.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>privilege-escalation</category><category>persistence</category><category>cloud</category></item><item><title>Microsoft 365 Risk-Based Step-Up Consent Disabled</title><link>https://feed.craftedsignal.io/briefs/2024-01-03-o365-risky-app-consent-disabled/</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-03-o365-risky-app-consent-disabled/</guid><description>The Microsoft 365 'risk-based step-up consent' security setting is disabled by an adversary to allow users to grant consent to malicious applications, potentially leading to unauthorized access and data breaches.</description><content:encoded><![CDATA[<p>The disabling of the &quot;risk-based step-up consent&quot; feature in Microsoft 365 is a significant security concern. This feature, when enabled, adds an extra layer of security by requiring administrator approval or additional authentication steps when users attempt to grant permissions to applications deemed risky by Microsoft. When disabled, users can grant consent to potentially malicious OAuth applications without any additional checks, increasing the risk of OAuth phishing attacks. An attacker might disable this feature to facilitate easier access to sensitive user data through malicious applications, bypassing security controls implemented to protect the organization. This could be part of a broader attack to compromise user accounts and exfiltrate data.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to an account with sufficient privileges to modify Azure Active Directory authorization policies.</li>
<li>The attacker navigates to the Azure Active Directory settings.</li>
<li>The attacker identifies the &quot;risk-based step-up consent&quot; setting.</li>
<li>The attacker disables the &quot;AllowUserConsentForRiskyApps&quot; setting by modifying the authorization policy.</li>
<li>Users are now able to grant consent to risky OAuth applications without triggering additional security checks.</li>
<li>The attacker deploys or promotes a malicious OAuth application, tricking users into granting it permissions.</li>
<li>The malicious application gains access to user data and other resources based on the granted permissions.</li>
<li>The attacker exfiltrates sensitive data or performs other malicious actions using the compromised application.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Disabling the risk-based step-up consent feature can significantly increase the attack surface of a Microsoft 365 environment. If successful, attackers can compromise user accounts and exfiltrate sensitive data. This can lead to financial loss, reputational damage, and legal liabilities. Organizations that fail to monitor and protect this setting are at higher risk of OAuth phishing attacks and subsequent data breaches.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable the &quot;risk-based step-up consent&quot; security setting in Microsoft 365 to prevent users from granting consent to risky applications without proper authorization.</li>
<li>Deploy the Sigma rule <code>O365 Block User Consent For Risky Apps Disabled</code> to your SIEM to detect when this setting is modified.</li>
<li>Review Azure Active Directory audit logs for unexpected changes to authorization policies related to application consent.</li>
<li>Monitor user activity for OAuth application consent grants, especially to applications from untrusted or unknown publishers.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>azuread</category><category>o365</category><category>oauth</category><category>risk-based consent</category><category>defense-evasion</category></item><item><title>M365 SharePoint/OneDrive File Access via PowerShell</title><link>https://feed.craftedsignal.io/briefs/2024-01-o365-sharepoint-powershell-file-access/</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-o365-sharepoint-powershell-file-access/</guid><description>Detects file downloads and access from OneDrive or SharePoint using PowerShell-based user agents, which adversaries leverage with compromised OAuth tokens to exfiltrate data.</description><content:encoded><![CDATA[<p>This detection identifies suspicious file downloads or access from OneDrive or SharePoint using PowerShell-based user agents. Attackers often compromise OAuth tokens via device code phishing (as seen in Volexity's reporting on Russian threat actors in February 2025) or other credential theft techniques and then use native PowerShell cmdlets (like <code>Invoke-WebRequest</code> or <code>Invoke-RestMethod</code>) with the Microsoft Graph API to exfiltrate data. This activity stands out because typical users access SharePoint/OneDrive via browsers or sync clients. The rule also detects PnP PowerShell module usage for file operations, commonly used by administrators, and includes <code>FileAccessed</code> events to uncover adversaries reading file content via API (specifically the <code>/content</code> endpoint) and saving it locally, circumventing traditional download methods.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker compromises a user's credentials or obtains an OAuth token, possibly through device code phishing.</li>
<li>The attacker authenticates to Microsoft 365 using the compromised credentials or OAuth token.</li>
<li>The attacker uses PowerShell with a user agent containing terms like <code>PowerShell</code>, <code>PnPPS</code>, <code>PnPCoreSDK</code>, or <code>SharePointPnP</code>.</li>
<li>The attacker uses PowerShell cmdlets (e.g., <code>Invoke-WebRequest</code>, <code>Invoke-RestMethod</code>) to interact with the Microsoft Graph API.</li>
<li>The attacker enumerates files and directories within SharePoint or OneDrive.</li>
<li>The attacker accesses or downloads files using the Graph API's <code>/content</code> endpoint or standard file download methods.</li>
<li>The <code>FileAccessed</code> or <code>FileDownloaded</code> event is logged in the M365 audit logs.</li>
<li>The attacker exfiltrates the downloaded content.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack can lead to the exfiltration of sensitive data from SharePoint and OneDrive. The risk score is rated as 47/100. Depending on the compromised user's access, this could include confidential documents, financial records, or intellectual property. The impact includes potential financial loss, reputational damage, and regulatory fines. The &quot;ShinyHunters&quot; group (mentioned in the Google blog) has used similar techniques for SaaS data theft.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>M365 SharePoint/OneDrive File Access via PowerShell</code> to your SIEM and tune for your environment to detect suspicious file access patterns (rules).</li>
<li>Investigate any alerts generated by the Sigma rule by examining the user agent, source IP, accessed files, and authentication method (rules).</li>
<li>Implement conditional access policies to restrict device code authentication flows to mitigate OAuth token compromise (references).</li>
<li>Review OAuth application permissions in your tenant and revoke unnecessary or suspicious permissions (references).</li>
<li>Monitor M365 audit logs, specifically <code>FileDownloaded</code> and <code>FileAccessed</code> events from SharePoint and OneDrive, for unusual PowerShell-based activity (logsource).</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>cloud</category><category>saas</category><category>microsoft365</category><category>sharepoint</category><category>onedrive</category><category>powershell</category></item><item><title>M365 Identity OAuth Illicit Consent Grant by Rare Client and User</title><link>https://feed.craftedsignal.io/briefs/2024-01-m365-oauth-consent/</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-m365-oauth-consent/</guid><description>Adversaries may register a malicious application in Microsoft Entra ID and trick users into granting excessive permissions via OAuth consent, allowing the malicious application to access resources in Microsoft 365 on behalf of the user, potentially leading to data exfiltration.</description><content:encoded><![CDATA[<p>This threat brief focuses on the detection of illicit consent grant attacks within Microsoft 365 environments. These attacks involve adversaries creating and registering malicious applications within Azure Active Directory (Azure AD), now known as Microsoft Entra ID. The attackers then trick users into granting consent to these applications, thereby granting the application permissions to access resources within Microsoft 365, such as mail, profiles, and files. This is typically accomplished through spearphishing campaigns that direct users to a pre-crafted OAuth consent URL. The Elastic detection rule &quot;M365 Identity OAuth Illicit Consent Grant by Rare Client and User&quot; is designed to identify such consent grants by focusing on newly observed combinations of users and client IDs, thus highlighting potentially malicious activity. This activity started being tracked around 2025/03/24, defenders should prioritize detection and remediation of these attacks due to the potential for data exfiltration and account compromise.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Application Registration:</strong> The attacker registers a malicious application within Azure AD (Entra ID). This involves creating an application object and defining the permissions it requires.</li>
<li><strong>Crafting the Phishing URL:</strong> The attacker crafts a spearphishing email containing a malicious OAuth consent URL. This URL is designed to appear legitimate and entice the user to grant consent.</li>
<li><strong>Spearphishing Campaign:</strong> The attacker sends the spearphishing email to targeted users within the organization.</li>
<li><strong>User Grants Consent:</strong> The user, believing the request is legitimate, clicks the link and grants consent to the application. This establishes an OAuth grant.</li>
<li><strong>Application Accesses Resources:</strong> The malicious application leverages the granted consent to access resources within Microsoft 365 on behalf of the user, such as mail, files, and profiles.</li>
<li><strong>Data Exfiltration:</strong> The application exfiltrates sensitive data from the compromised accounts. This data can be used for further attacks or sold on the black market.</li>
<li><strong>Maintaining Persistence:</strong> The attacker may use the compromised accounts to maintain persistence within the environment.</li>
<li><strong>Lateral Movement:</strong> Using the initial foothold, the attacker moves laterally to other systems or accounts within the organization to gain broader access.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful illicit consent grant attack can lead to widespread data exfiltration, impacting potentially thousands of users depending on the scope of the granted permissions. Targeted sectors include organizations that rely heavily on Microsoft 365 for daily operations, such as financial institutions, healthcare providers, and government agencies. The consequences can range from loss of sensitive data and intellectual property to regulatory fines and reputational damage. The Elastic rule assigns a risk score of 47 to this type of activity.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Detect New M365 OAuth Consent Grant</code> to identify suspicious consent activity based on the &quot;Consent to application.&quot; event action and successful outcome, tuning the threshold as needed to reduce false positives.</li>
<li>Review the Microsoft 365 audit logs as described in the rule description by searching for <code>event.dataset: &quot;o365.audit&quot;</code> and <code>event.action: &quot;Consent to application.&quot;</code> to validate potential attacker controlled applications.</li>
<li>Enable the Admin consent workflow as outlined in the references to restrict user-granted consent and require administrator approval for high-risk application permissions.</li>
<li>Regularly audit existing applications in your environment and revoke consent for any suspicious or unnecessary applications, referencing the investigation steps included in the rule notes.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>o365</category><category>oauth</category><category>consent-grant</category><category>phishing</category><category>initial-access</category></item><item><title>M365 Exchange Inbox Forwarding Rule Creation</title><link>https://feed.craftedsignal.io/briefs/2024-01-m365-exchange-inbox-rule/</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-m365-exchange-inbox-rule/</guid><description>Detection of new Microsoft 365 Exchange inbox forwarding rules indicating potential unauthorized email interception and exfiltration by attackers.</description><content:encoded><![CDATA[<p>Attackers can exploit Microsoft 365 Exchange inbox rules to intercept and exfiltrate email data. The abuse involves creating forwarding rules that redirect emails to external, attacker-controlled addresses without proper authorization. This technique allows attackers to gain access to sensitive information without making organization-wide configuration changes or needing elevated privileges. The detection focuses on successful creation or modification events of inbox rules where forwarding parameters are set to external domains, as specified in the <code>o365.audit.Parameters</code> field. The scope includes any Microsoft 365 environment utilizing Exchange Online, providing a mechanism to detect and respond to potential business email compromise (BEC) attempts.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access:</strong> An attacker gains access to a legitimate user's Microsoft 365 account, potentially through phishing or credential compromise.</li>
<li><strong>Rule Creation/Modification:</strong> The attacker creates or modifies an inbox rule within the user's Exchange Online mailbox using <code>New-InboxRule</code> or <code>Set-InboxRule</code>.</li>
<li><strong>Forwarding Configuration:</strong> The rule is configured to forward emails based on specific criteria (e.g., all emails, emails from specific senders) to an external email address via <code>ForwardTo</code>, <code>ForwardAsAttachmentTo</code>, <code>ForwardingAddress</code>, <code>ForwardingSmtpAddress</code>, or <code>RedirectTo</code>.</li>
<li><strong>Persistence:</strong> The inbox rule remains active, automatically forwarding emails that meet the defined criteria to the attacker's address.</li>
<li><strong>Data Exfiltration:</strong> Sensitive information is continuously exfiltrated as emails are forwarded to the external address.</li>
<li><strong>Covert Operation:</strong> The attacker may delete or hide the rule to avoid detection, although this detection focuses on the initial creation.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to significant data breaches, loss of sensitive information, and financial losses due to business email compromise. The impact can range from individual data leaks to compromise of intellectual property and confidential business communications. Without detection, attackers can maintain persistent access to sensitive email data, potentially impacting hundreds or thousands of mailboxes.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &quot;M365 Exchange Inbox Forwarding Rule Created&quot; to your SIEM and tune for your environment to detect the creation of suspicious inbox rules.</li>
<li>Investigate any alerts generated by the Sigma rule by reviewing the <code>o365.audit.Parameters</code> in the logs, focusing on the forwarding email addresses.</li>
<li>Review and update email security policies to restrict and monitor the creation of forwarding rules, as mentioned in the references.</li>
<li>Enable multi-factor authentication (MFA) for all users to prevent unauthorized account access, reducing the risk of inbox rule manipulation.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>o365</category><category>exchange</category><category>inbox-rule</category><category>email-forwarding</category><category>data-exfiltration</category></item><item><title>Entra ID Protection - Sign-in Risk Detection</title><link>https://feed.craftedsignal.io/briefs/2024-01-03-entra-id-risk-detection/</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-03-entra-id-risk-detection/</guid><description>This brief covers detection of sign-in risk events identified by Microsoft Entra ID Protection, including anonymized IP addresses, unlikely travel, and password spray attacks, which can indicate compromised accounts or malicious activity.</description><content:encoded><![CDATA[<p>Microsoft Entra ID Protection is a service that detects anomalies and risks associated with user sign-ins. This includes detecting sign-ins from anonymized IP addresses (VPN, Tor), identifying unlikely travel patterns, and detecting password spray attacks. This analysis is based on the &quot;Entra ID Protection - Risk Detection - Sign-in Risk&quot; rule from Elastic. The rule leverages Microsoft Entra ID Protection logs to identify potentially malicious or compromised accounts, allowing security teams to quickly triage and respond to these threats. The detections are designed to cover a wide array of initial access techniques targeting cloud environments. The references highlight real-world campaigns targeting Microsoft 365 and Entra ID environments, showing the importance of monitoring these risks.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access:</strong> An attacker attempts to gain initial access using techniques like password spraying (T1110.003) or exploiting valid accounts (T1078).</li>
<li><strong>Password Spraying:</strong> The attacker uses a list of common passwords against multiple accounts (T1110.003). Entra ID Protection detects the unusual pattern of failed login attempts across multiple accounts.</li>
<li><strong>Anonymized IP Address:</strong> The attacker uses VPNs or Tor to mask their location (T1071). Entra ID Protection flags the sign-in due to the use of an anonymizing proxy.</li>
<li><strong>Unlikely Travel:</strong> The attacker logs in from a location drastically different from the user's typical locations within a short timeframe. This is flagged by Entra ID Protection as unlikely travel (T1071).</li>
<li><strong>Risk Detection:</strong> Entra ID Protection detects the sign-in risk event and generates a &quot;User Risk Detection&quot; log.</li>
<li><strong>Account Compromise:</strong> If successful, the attacker gains access to the target account.</li>
<li><strong>Lateral Movement/Privilege Escalation (Potential):</strong> The attacker may attempt to move laterally within the cloud environment or escalate privileges to gain further access.</li>
<li><strong>Data Exfiltration/Impact (Potential):</strong> The attacker may attempt to exfiltrate sensitive data or cause damage to the organization's resources.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack following these steps can lead to account compromise, data breaches, and unauthorized access to sensitive resources. Organizations may face financial losses, reputational damage, and legal consequences. The risk detections indicate a potential compromise that requires immediate investigation. By identifying and responding to these sign-in risks, organizations can prevent further damage.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rules to your SIEM to detect Entra ID Protection sign-in risk events and tune them for your environment.</li>
<li>Enable Microsoft Entra ID Protection logs and stream them into your security information and event management (SIEM) system, as required by the rule setup.</li>
<li>Implement sign-in risk policies in Entra ID Protection to automatically respond to risk events, such as requiring multi-factor authentication or blocking sign-ins from risky locations, as suggested in the rule's &quot;Response and Remediation&quot; section.</li>
<li>Review authentication material such as primary refresh tokens (PRTs) or OAuth tokens to ensure they have not been compromised as mentioned in the rule's &quot;Response and Remediation&quot; section.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>azure</category><category>entra-id</category><category>identity-protection</category><category>sign-in-risk</category><category>initial-access</category></item><item><title>Entra ID OAuth Authorization Code Grant for Unusual User, App, and Resource</title><link>https://feed.craftedsignal.io/briefs/2024-01-entra-id-oauth-unusual-auth/</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-entra-id-oauth-unusual-auth/</guid><description>Detects the first-time use of an OAuth 2.0 authorization code grant flow for a specific combination of user, application, and resource in Microsoft Entra ID, potentially indicating OAuth phishing attacks like ConsentFix, where attackers steal authorization codes.</description><content:encoded><![CDATA[<p>This detection identifies unusual OAuth 2.0 authorization code grant flows in Microsoft Entra ID, specifically focusing on first-time combinations of user, client application, and target resource. It aims to detect potential OAuth phishing attacks, such as ConsentFix, where attackers steal authorization codes and exchange them for tokens from attacker-controlled infrastructure. The detection highlights scenarios where developer tools like Azure CLI, Visual Studio Code, and Azure PowerShell are used by a user to access Microsoft Graph or legacy Azure AD for the first time. It also flags cases where FOCI (Family of Client IDs) applications access the deprecated Windows Azure Active Directory. The rule covers activity starting from 9 months prior to the update on April 10th, 2026. This is critical for defenders because successful exploitation can lead to unauthorized access to sensitive resources and data exfiltration.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker sends a phishing email containing a malicious link or attachment to the victim.</li>
<li>The victim clicks the link and is redirected to a legitimate-looking Microsoft login page or is tricked into opening the attachment.</li>
<li>The attacker crafts a malicious OAuth application and tricks the user into granting consent.</li>
<li>The victim is prompted to authorize the malicious application to access their resources.</li>
<li>If the victim grants consent, the attacker steals the authorization code.</li>
<li>The attacker exchanges the stolen authorization code for an access token using attacker-controlled infrastructure.</li>
<li>The attacker uses the stolen access token to access protected resources within the victim's Entra ID environment.</li>
<li>The attacker performs actions such as reading emails, accessing files, or exfiltrating data, masquerading as the legitimate user.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful OAuth phishing attack can compromise user accounts, lead to data breaches, and provide attackers with persistent access to sensitive resources. The number of victims is dependent on the scope of the phishing campaign. Targeted sectors include any organization using Microsoft Entra ID and OAuth applications. Failure to detect and remediate these attacks can result in significant financial losses, reputational damage, and legal liabilities. The pushsecurity.com blog highlights the ConsentFix attack, demonstrating the real-world impact of OAuth phishing.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM to detect unusual OAuth authorization code grant flows in Entra ID based on the <code>azure.signinlogs</code> dataset.</li>
<li>Investigate alerts generated by the Sigma rule by examining the <code>azure.signinlogs.properties.user_principal_name</code>, <code>azure.signinlogs.properties.app_display_name</code>, and <code>azure.signinlogs.properties.resource_id</code> to identify potentially compromised accounts and applications.</li>
<li>Implement Conditional Access policies in Entra ID to restrict OAuth flows for high-risk applications and users, as suggested in the remediation steps of the referenced Elastic rule.</li>
<li>Monitor <code>azure.signinlogs.properties.session_id</code> for correlations with suspicious activity.</li>
<li>Revoke refresh tokens immediately for any user identified as compromised through this activity to prevent further unauthorized access as outlined in the triage and analysis notes.</li>
<li>Use a combination of source IPs and geolocation to block known malicious or suspicious login points by monitoring <code>source.ip</code> and <code>source.geo.*</code> values.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>entra-id</category><category>oauth</category><category>phishing</category><category>initial-access</category></item><item><title>Detection of Privileged Azure AD Role Assignment</title><link>https://feed.craftedsignal.io/briefs/2024-01-azure-ad-role-assignment/</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-azure-ad-role-assignment/</guid><description>Detection of privileged Azure AD role assignments to users, which can indicate persistence and privilege escalation by threat actors.</description><content:encoded><![CDATA[<p>This brief addresses the threat of unauthorized or malicious assignment of privileged roles in Azure Active Directory (Azure AD). Threat actors may compromise user accounts and subsequently assign them privileged roles to maintain persistence, escalate privileges, and gain long-term control over the Azure AD environment. The technique involves manipulating user roles to gain administrative access, potentially leading to data breaches, service disruption, or further lateral movement within the cloud environment. This activity can be detected by monitoring Azure AD audit logs for &quot;Add member to role&quot; operations. Successful exploitation can enable the adversary to establish backdoors, exfiltrate sensitive data, or disrupt critical business processes.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to a low-privilege user account through credential theft or phishing.</li>
<li>The attacker attempts to assign a privileged role, such as Global Administrator or Security Administrator, to the compromised account. This is done by calling the Azure AD API or using the Azure portal.</li>
<li>The &quot;Add member to role&quot; operation is logged in the Azure AD audit logs.</li>
<li>The system checks if the user attempting the role assignment has the necessary permissions to perform this action. If not, the attempt fails (detection opportunity).</li>
<li>If the attacker has sufficient permissions (e.g., they compromised an account that can assign roles), the privileged role is successfully assigned to the compromised account.</li>
<li>The attacker leverages the newly assigned privileged role to access sensitive data, modify configurations, or create new administrative accounts.</li>
<li>The attacker establishes persistence by creating backdoors, such as adding new service principals with elevated permissions.</li>
<li>The attacker exfiltrates sensitive data or performs other malicious activities using the compromised account with the newly acquired privileges.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful assignment of privileged roles in Azure AD can have severe consequences. Attackers can gain complete control over the Azure AD tenant, potentially impacting thousands of users and applications. Data breaches, service disruptions, and financial losses are all possible outcomes. The compromised account can be used to create new administrative accounts, further solidifying the attacker's foothold. The impact extends to all services integrated with Azure AD, including Microsoft 365, Azure resources, and other cloud applications.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Azure AD Privileged Role Assigned</code> to your SIEM to detect unauthorized role assignments based on the <code>azure:monitor:aad</code> sourcetype.</li>
<li>Investigate any detected instances of privileged role assignments, focusing on the <code>user</code> and <code>initiatedBy</code> fields to identify potentially compromised accounts.</li>
<li>Review and harden Azure AD role assignment policies to minimize the risk of unauthorized privilege escalation, referencing the Microsoft documentation links in the references section.</li>
<li>Enable multi-factor authentication (MFA) for all users, especially those with administrative privileges, to mitigate the risk of credential theft.</li>
<li>Regularly audit Azure AD role assignments to identify and remove any unnecessary privileges, referencing the MITRE ATT&amp;CK technique T1098.003.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>azuread</category><category>privilege-escalation</category><category>persistence</category><category>cloud</category></item><item><title>Azure AD Custom Domain Addition for Persistence</title><link>https://feed.craftedsignal.io/briefs/2024-01-03-azuread-domain-add/</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-03-azuread-domain-add/</guid><description>Detection of a new custom domain addition in Azure AD audit logs, potentially indicating an attacker establishing persistence via identity federation backdoors for unauthorized access and privilege escalation.</description><content:encoded><![CDATA[<p>The addition of a new custom domain in Azure Active Directory (AD) can be a critical indicator of malicious activity. Attackers may add unverified domains to establish persistence through identity federation backdoors. This allows them to impersonate legitimate users, bypass multi-factor authentication, and maintain a foothold within the Azure AD environment. This technique is particularly relevant in scenarios where an attacker has already gained initial access and is looking to deepen their presence and control within the organization's cloud infrastructure. The activity is detected by monitoring Azure AD AuditLogs for successful &quot;Add unverified domain&quot; operations. Defenders should be aware of this technique to quickly identify and remediate unauthorized domain additions that could lead to significant security breaches. The references highlight APT29 as a potential actor abusing this technique.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Compromise:</strong> The attacker gains initial access to an Azure AD account through credential phishing, brute-force attacks, or exploiting a vulnerability.</li>
<li><strong>Privilege Escalation:</strong> The attacker escalates privileges within the compromised Azure AD account, potentially using techniques like exploiting misconfigured roles or permissions.</li>
<li><strong>Domain Discovery:</strong> The attacker enumerates existing domains within the Azure AD tenant to understand the current configuration.</li>
<li><strong>Add Unverified Domain:</strong> The attacker adds a new, unverified custom domain to the Azure AD tenant using the &quot;Add unverified domain&quot; operation.</li>
<li><strong>Identity Federation Setup:</strong> The attacker configures identity federation between the newly added domain and the Azure AD tenant to establish a backdoor.</li>
<li><strong>Account Impersonation:</strong> The attacker impersonates legitimate users within the Azure AD environment, leveraging the newly established federation.</li>
<li><strong>Data Access and Exfiltration:</strong> The attacker gains unauthorized access to sensitive data and exfiltrates it from the Azure AD environment.</li>
<li><strong>Persistence:</strong> The attacker maintains long-term access to the environment through the federated domain, even if initial access is revoked.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful addition of a malicious custom domain can have severe consequences, including unauthorized access to sensitive data, privilege escalation, and long-term persistence within the Azure AD environment. This can lead to significant data breaches, financial losses, and reputational damage. Organizations in various sectors, including government, finance, and healthcare, are potential targets. If left undetected, attackers can maintain access for extended periods, potentially exfiltrating large volumes of sensitive data. Mandiant has documented real-world cases of APT29 using this technique.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Azure AD New Custom Domain Added</code> to your SIEM and tune for your environment to detect unauthorized domain additions using <code>operationName=&quot;Add unverified domain&quot;</code> and <code>properties.result=success</code>.</li>
<li>Enable and monitor Azure AD AuditLogs for all domain-related activities, focusing on &quot;Add unverified domain&quot; operations as described in the <code>data_source</code> field.</li>
<li>Review and restrict Azure AD roles and permissions to minimize the attack surface for privilege escalation, preventing attackers from adding new domains.</li>
<li>Investigate any alerts triggered by the Sigma rule by reviewing the <code>dest</code>, <code>user</code>, <code>src</code>, <code>vendor_account</code>, <code>vendor_product</code>, <code>user_agent</code>, <code>domain</code>, and <code>signature</code> fields in the logs.</li>
<li>Regularly review and validate all configured custom domains in Azure AD to identify and remove any unauthorized or suspicious domains as referenced in <a href="https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/domains-manage">https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/domains-manage</a>.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>azuread</category><category>persistence</category><category>cloud</category></item><item><title>Unusual Microsoft Graph Email Access via OAuth Application</title><link>https://feed.craftedsignal.io/briefs/2024-01-graph-email-access/</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-graph-email-access/</guid><description>An adversary might use a phished OAuth refresh token or Primary Refresh Token (PRT) with a first-party application to access email resources via Microsoft Graph API, particularly focusing on unusual application and user combinations.</description><content:encoded><![CDATA[<p>This detection identifies potentially malicious access to email resources through the Microsoft Graph API. Attackers may leverage compromised OAuth refresh tokens or Primary Refresh Tokens (PRTs) to access sensitive email data. The activity is characterized by requests to Microsoft Graph API endpoints such as <code>/me/mailFolders/inbox/messages</code> or <code>/users/{user_id}/messages</code>, using a public client application ID on behalf of a user. The rule focuses on identifying novel combinations of application ID and user principal object ID accessing email resources within a 14-day timeframe, as this may indicate a compromised or newly deployed malicious application. This behavior could be related to campaigns similar to those observed by Volexity targeting Microsoft 365 OAuth workflows.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker compromises a user's credentials or obtains a valid OAuth refresh token or PRT through phishing or other means (T1566).</li>
<li>The attacker uses the compromised token to authenticate to the Microsoft Graph API via a custom or existing application.</li>
<li>The application requests access to email-related scopes such as <code>Mail.Read</code>, <code>Mail.ReadWrite</code>, or <code>Mail.Send</code> (T1550.001).</li>
<li>The application makes API calls to enumerate mail folders, read messages, or send emails on behalf of the compromised user (T1114.002).</li>
<li>The attacker may exfiltrate sensitive email content or use the compromised account to send phishing emails to other users (TA0009).</li>
<li>The unusual combination of application ID and user principal triggers a detection due to the novel access pattern.</li>
<li>The attacker persists by continuing to use the stolen token for ongoing access to email resources.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to unauthorized access to sensitive email data, potentially resulting in data breaches, financial loss, and reputational damage. The compromise of user accounts can also enable attackers to send phishing emails or conduct further malicious activities within the organization. If undetected, the attacker can maintain persistent access to email resources.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Microsoft Graph Unusual App Email Access</code> to detect novel app/user combinations accessing email data via Graph API, using <code>logs-azure.graphactivitylogs-*</code> as the index.</li>
<li>Investigate applications flagged by the rule by pivoting to Azure Portal -&gt; Enterprise Applications and searching by the <code>azure.graphactivitylogs.properties.app_id</code> to determine app details, publisher, and consent status.</li>
<li>Review and restrict risky OAuth permissions in Conditional Access and App Governance policies, as mentioned in the triage steps within the rule's description.</li>
<li>Monitor for suspicious automation tools in the <code>user_agent.original</code> field within the <code>logs-azure.graphactivitylogs-*</code> index to identify potential scripted access.</li>
<li>Revoke the application's consent in Azure AD and revoke user refresh tokens via Microsoft Entra or PowerShell if unauthorized access is suspected.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>azure</category><category>graphapi</category><category>oauth</category><category>email</category></item><item><title>O365 Cross-Tenant Access Policy Changes</title><link>https://feed.craftedsignal.io/briefs/2024-01-02-o365-cross-tenant-access-change/</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-o365-cross-tenant-access-change/</guid><description>Adversaries modify Azure Active Directory cross-tenant access policies for lateral movement or persistence within compromised Microsoft 365 environments.</description><content:encoded><![CDATA[<p>Attackers are increasingly targeting Microsoft 365 environments, including Azure Active Directory, to establish persistence and facilitate lateral movement. A key technique involves manipulating cross-tenant access policies. These policies govern how an organization trusts and interacts with external Azure Active Directory tenants. By modifying these policies, attackers can grant themselves unauthorized access to resources, synchronize user accounts for long-term access, and bypass multi-factor authentication (MFA) controls. This activity can be difficult to detect due to the legitimate use of cross-tenant access for business collaboration. This type of attack was observed in August 2023, and impacts any organization using Azure AD cross-tenant access features.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains initial access to a privileged account within the target Azure Active Directory tenant, possibly via credential phishing or password spraying.</li>
<li>The attacker authenticates to the Azure portal or uses PowerShell modules to interact with Azure Active Directory.</li>
<li>The attacker identifies existing cross-tenant access policies configured within the target tenant.</li>
<li>The attacker modifies an existing cross-tenant access policy or creates a new one to establish a trust relationship with an attacker-controlled Azure Active Directory tenant.</li>
<li>The attacker configures the cross-tenant access policy to allow specific actions, such as user synchronization or application access, from the attacker-controlled tenant.</li>
<li>The attacker synchronizes user accounts from the attacker-controlled tenant into the target tenant, granting themselves persistent access.</li>
<li>The attacker uses the synchronized accounts to access sensitive resources and perform lateral movement within the target environment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful manipulation of cross-tenant access policies can lead to significant damage. Attackers can gain persistent, unauthorized access to sensitive data, applications, and infrastructure within the victim's Microsoft 365 environment. This may lead to data exfiltration, financial fraud, or disruption of business operations. The CrowdStrike blog post referenced in the source material highlights real-world instances of these attacks, and it should be considered a critical threat to organizations relying on cross-tenant access configurations.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule <code>O365 Cross-Tenant Access Policy Change Detected</code> to your SIEM to detect unauthorized changes to cross-tenant access policies using Office 365 management activity logs.</li>
<li>Review existing cross-tenant access policies for unexpected or overly permissive configurations.</li>
<li>Implement multi-factor authentication (MFA) for all user accounts, including privileged accounts, to reduce the risk of initial compromise.</li>
<li>Monitor Azure Active Directory audit logs for suspicious activity related to cross-tenant access policy management.</li>
<li>Regularly audit and review permissions associated with synchronized accounts to identify and remediate any excessive privileges.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>azuread</category><category>office365</category><category>cross-tenant</category><category>persistence</category></item><item><title>Microsoft Graph API Request User Impersonation by Unusual Client</title><link>https://feed.craftedsignal.io/briefs/2024-01-graph-api-user-impersonation/</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-graph-api-user-impersonation/</guid><description>Detection of the first-time use of a Microsoft Graph API request by a specific client application ID, user principal object ID, and tenant ID, potentially indicating unauthorized access via phishing, token theft, or OAuth abuse.</description><content:encoded><![CDATA[<p>This detection identifies the initial use of a Microsoft Graph API request originating from a specific client application ID (<code>azure.graphactivitylogs.properties.app_id</code>) tied to a user principal object ID (<code>azure.graphactivitylogs.properties.user_principal_object_id</code>) and a tenant ID (<code>azure.tenant_id</code>). This activity may signify unauthorized access achieved through methods like phishing, stolen tokens, or exploitation of OAuth workflows. Threat actors may leverage legitimate Microsoft or third-party application IDs to evade suspicion while performing actions on behalf of compromised users. The rule focuses on identifying unusual combinations of these three identifiers within a defined timeframe to highlight potentially malicious activity that bypasses standard authentication alerts.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker compromises user credentials through phishing or other means (T1566).</li>
<li>The attacker obtains or steals a legitimate application access token (T1528).</li>
<li>The attacker uses the stolen access token to make authenticated requests to the Microsoft Graph API, impersonating the compromised user.</li>
<li>The attacker queries the Graph API for sensitive information such as user details, email, or files.</li>
<li>The attacker accesses and potentially downloads sensitive data through the Graph API.</li>
<li>The attacker leverages the compromised account to perform actions such as sending emails or creating resources.</li>
<li>The attacker maintains persistence by creating new OAuth applications or modifying existing ones.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to unauthorized access to sensitive data, including emails, files, and user information, within a Microsoft 365 environment. Attackers can leverage compromised accounts to perform malicious actions, such as sending phishing emails or creating new resources. The scope of impact depends on the permissions granted to the compromised application and the data accessible through the Graph API. Detecting the initial unusual use of a client ID helps in early identification before significant damage occurs.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &quot;Microsoft Graph Request User Impersonation by Unusual Client&quot; to your SIEM and tune the <code>history_window_start</code> parameter to your environment needs.</li>
<li>Review <code>azure.graphactivitylogs.properties.user_principal_object_id</code> and correlate with recent sign-in logs for the associated user as mentioned in the rule's note section.</li>
<li>Inspect <code>azure.graphactivitylogs.properties.scopes</code> to understand the level of access being requested by the app, as suggested in the rule's note section.</li>
<li>Implement Conditional Access policies to restrict Graph API access based on app type, IP address, or device state as described in the rule's note section.</li>
<li>Monitor usage of new or uncommon <code>app_id</code> values across your tenant.</li>
</ul>
]]></content:encoded><category domain="severity">low</category><category domain="type">advisory</category><category>cloud</category><category>azure</category><category>graphapi</category><category>initial_access</category></item></channel></rss>