Thomas Naunheim • 9/16/2026

Cached Token Theft: Extracting Azure and Microsoft Graph Refresh Tokens from the macOS Keychain via PowerShell

Read Original

TL;DR: While native macOS apps like Teams and Outlook benefit from Platform SSO and hardware-bound tokens, PowerShell modules like Azure PowerShell and Microsoft Graph PowerShell still fall back to standard Authorization Code flow. This leaves token artifacts with sensitive privileges cached in your Keychain. Since the PowerShell Core process (pwsh) attempts by default to use the refresh token to

0 comments
Cached Token Theft: Extracting Azure and Microsoft Graph Refresh Tokens from the macOS Keychain via PowerShell

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet