A sideloaded AppX package abuses WWAHost.exe and WinRT WebAuthenticationBroker to present a real Microsoft login dialog and steal OAuth tokens that survive MFA. The attack requires Developer Mode or an enterprise sideloading policy. A standard user registers a minimal AppX package whose manifest grants remote JavaScript full WinRT access via WindowsRuntimeAccess="all". The JavaScript calls WebAuthenticationBroker with Microsoft Office's client ID, presenting a legitimate login.microsoftonline.com dialog. Captured refresh tokens persist across networks until revoked.
WWAHost.exe
1 post
Stealing OAuth Tokens Through Microsoft's Front Door