<?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>Oauth-Theft - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/oauth-theft/</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>Wed, 23 Sep 2026 14:04:11 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/oauth-theft/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>OAuth Token Theft via Sideloaded AppX and WWAHost.exe</title><link>https://feed.craftedsignal.io/briefs/2026-09-oauth-token-theft/</link><pubDate>Wed, 23 Sep 2026 14:04:11 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-oauth-token-theft/</guid><description>Attackers can abuse sideloaded AppX packages and the legitimate WWAHost.exe binary to trigger a genuine Microsoft OAuth login flow, capturing valid authentication tokens without traditional phishing indicators.</description><content:encoded><![CDATA[<p>This threat involves the exploitation of the Windows Web App Host (WWAHost.exe) to facilitate OAuth token theft. By sideloading a maliciously crafted, unsigned AppX package onto a Windows machine with 'Developer Mode' or enterprise sideloading policies enabled, an attacker can manipulate WWAHost.exe to render remote JavaScript that interacts with the WebAuthenticationBroker API. Because the process is a signed Microsoft binary and the authentication dialog is served directly from login.microsoftonline.com, the flow is entirely authentic. The victim completes a legitimate MFA process, providing the attacker with valid access and refresh tokens that bypass typical phishing defenses. This technique is highly effective as it avoids malicious domains, spoofed UIs, and certificate warnings, relying instead on the trust established by Microsoft's own signed binaries.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker ensures the target host has 'Developer Mode' enabled via registry modification (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock) or system settings.</li>
<li>Attacker deploys a malicious, unsigned AppX package to the target endpoint using <code>Add-AppxPackage -Register</code>.</li>
<li>AppX package is configured with a manifest declaring <code>WindowsRuntimeAccess=&quot;all&quot;</code> to gain access to the Windows Runtime API.</li>
<li>WWAHost.exe executes the package, rendering remote content provided by the attacker's infrastructure.</li>
<li>The rendered content invokes the <code>WebAuthenticationBroker</code> API, passing a legitimate client ID (e.g., for Microsoft Office).</li>
<li>WWAHost.exe launches a genuine Microsoft login dialog, authenticating the user against Microsoft servers without browser artifacts.</li>
<li>Upon successful MFA, the attacker's listener captures the issued access and refresh tokens for subsequent unauthorized M365 data access.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in the exfiltration of durable refresh tokens, granting persistent access to the victim's Microsoft 365 environment. The scope of impact scales with the privileges assigned to the compromised user, potentially allowing for business email compromise, data exfiltration, or further lateral movement within the cloud identity environment.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize the identification and restriction of developer settings on endpoint devices.</p>
<ul>
<li>Audit the 'Developer Mode' setting across the enterprise fleet and disable it on all workstations where it is not strictly required for development workflows.</li>
<li>Monitor for the registration of new, unsigned AppX packages via event logs (e.g., AppxPackaging/Operational logs).</li>
<li>Implement network monitoring to detect the 'MSAppHost/3.0' user agent when it initiates connections to non-Microsoft domains or suspicious external infrastructure.</li>
<li>Configure SIEM alerts for the modification of the AppModelUnlock registry key, which is a prerequisite for this attack chain.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>oauth-theft</category><category>living-off-the-land</category><category>windows</category><category>sideloading</category></item></channel></rss>