Skip to content

Taking a Dump in the Cloud: Extracting Secrets from Office Integration

Melvin Langvik

Melvin Langvik reverses Microsoft Office desktop cloud integration, demonstrating how attackers extract cached OAuth tokens, PRTs, and cloud credentials from memory.

Summary

The Convergence of Desktop Applications and Cloud Services

Modern Microsoft Office desktop applications maintain continuous, seamless authenticated sessions with Azure AD, SharePoint, and OneDrive.

Reverse Engineering Office Authentication Internals

Melvin Langvik investigates the undocumented IPC mechanisms and memory structures used by desktop Office binaries to interact with the Web Account Manager (WAM).

Harvesting Primary Refresh Tokens and OAuth Secrets

Langvik demonstrates dumping unencrypted cloud access tokens, refresh tokens, and session credentials directly from unprivileged user processes.

Threat Hunting and Token Protection Mitigations

The author provides defensive teams with behavioral detection patterns and discusses hardware-backed token binding implementations to stop token replay attacks.

Related talks