MFA is essential, but it cannot stop every form of token and session theft. Learn how Primary Refresh Tokens, trusted endpoints, Token Protection, Conditional Access, and Microsoft security controls work together to reduce the risk.

What Is A Primary Refresh Token
A PRT is an authentication artifact issued by Microsoft Entra ID to a supported token broker on a device. On Windows, the Cloud Authentication Provider and Web Account Manager use it to provide single sign-on.
The PRT is not the access token that Outlook presents to Exchange Online or Teams presents to its services. It sits earlier in the process. The broker uses it to request access and refresh tokens for applications. It also carries user and device claims so Conditional Access can evaluate requirements such as registration, compliance, and multifactor authentication.
A person can sign in to a trusted device once and use approved applications without repeatedly entering a password. A PRT is normally valid for 90 days, is renewed while the device remains active, and can contain an MFA claim. An attacker who controls it is using a context Microsoft Entra ID already trusts.
What Is Primary Refresh Token Theft?
Primary Refresh Token theft occurs when an attacker gains access to authentication context Microsoft Entra ID already trusts. Depending on how the session is protected, the attacker may be able to request additional tokens or operate from the compromised device without forcing the user through another sign-in or MFA challenge.
What CISA’s 2026 Red Team Assessment Revealed
CISA’s August 2026 advisory, A Tale of Two SOCs, provides a useful example because the red team did not stop after compromising the on-premises environment.
How The Red Team Reached Microsoft 365
At ‘Organization A’ it identified an Entra application with Mail.ReadWrite permissions, found the application’s owner, moved laterally to that person’s computer, and obtained the user’s PRT.
The red team used the PRT to request access and refresh tokens as the application owner. It then added a client secret to the over-permissioned application and used Microsoft Graph to read email, including messages belonging to the security team. This let the red team check whether defenders had noticed the intrusion.
Why Detection & Response Broke Down
The organization generated alerts, but thousands of false positives obscured useful signals. Multiple SOCs and endpoint platforms lacked shared visibility, and one genuine alert was closed after analysts could not identify the system owner. Endpoint compromise, excessive application permissions, and weak SOC coordination combined into cloud access.
Organization B detected the payloads and isolated affected workstations within minutes. CISA had to provide an assumed-breach foothold to continue the exercise.



PRT Theft Is Only Part Of The Session Theft Problem
Security teams sometimes describe any stolen Microsoft 365 session as PRT theft. The distinction matters.
Why Device Binding Matters
On a properly configured Windows device, a registered-device PRT is cryptographically bound to that device. Microsoft Entra ID issues an encrypted session key with the PRT. When supported, the private transport key and session key are protected by the Trusted Platform Module. Requests must include proof generated with the protected key, so copying a PRT from a TPM-backed device and replaying it elsewhere should fail.
What Device Binding Does Not Prevent
That protection does not remove the wider session theft problem. An attacker may steal a browser cookie, obtain an unbound application refresh token, or operate from a compromised endpoint where the trusted session already exists. Malware may also access PRT-related artifacts or invoke the local broker rather than replaying a raw PRT elsewhere.
The threat model must therefore include the PRT, refresh tokens, browser cookies, application sessions, and the endpoint itself. Device binding helps with off-device replay. It does much less when the attacker controls the original device.
PRT Theft & Session Theft Are Not the Same Thing
A stolen Microsoft 365 session does not always mean a Primary Refresh Token was stolen. Attackers may instead abuse browser cookies, application refresh tokens, existing application sessions, or the trusted endpoint itself. Device-bound PRTs help prevent off-device replay, but they do not eliminate the risk of endpoint compromise.
What An Attacker Can Do With A Trusted Session
Access Data & Cloud Services
A usable session may access Exchange Online, SharePoint Online, Teams, Microsoft Graph, or another connected application. A successful MFA event may already be represented in the token, so another prompt is not guaranteed.
Attackers can search mail and files, establish forwarding rules, collect SharePoint data, or use Microsoft Graph within the user’s permissions. They may also register an authentication method, grant application consent, or abuse an existing OAuth application. An over-permissioned application, as CISA found, can provide access to much broader data.
Maintain Access After The Initial Compromise
A password change alone may not end the activity. Active sessions must be revoked and persistence removed.



Where To Strengthen Your Microsoft 365 Defenses
Harden The Endpoint
Identity controls cannot compensate for an unhealthy endpoint holding a trusted session. Windows devices should use TPM 2.0, Secure Boot, current updates, and Microsoft Defender for Endpoint or an equivalent platform. Limit local administrator rights and apply Credential Guard, attack surface reduction rules, and tamper protection where appropriate.
Enforce Device Compliance
Intune compliance gives Conditional Access a current signal about encryption, operating system health, threat level, and other settings. Requiring a compliant device for Microsoft 365 prevents many unmanaged systems from receiving the same access as a corporate endpoint. Compliance must be enforced. Reporting noncompliance without restricting access does not stop an attacker.
Use Phishing-Resistant Authentication
Authentication should resist phishing. Windows Hello for Business, FIDO2 security keys, passkeys, and certificate-based authentication are harder to proxy than push notifications or one-time codes. Administrators should use hardened devices and keep privileged accounts separate from routine email and browsing.
Review Application Permissions and Ownership
Application permissions also require regular review. Owners of applications with broad Microsoft Graph permissions should be treated as high-value users. Unused applications, stale owners, unnecessary permissions, and long-lived credentials create paths that Conditional Access policies for users may not address.
Four Layers Of Token Theft Defense
Reducing token theft risk requires controls across four areas: secure the endpoint, enforce trusted device and identity conditions, protect supported sessions from replay, and monitor cloud activity for signs of compromised access. No single Microsoft 365 control addresses the entire attack path.
Where Microsoft Entra Token Protection Fits
How Token Protection Binds a Session to a Device
Microsoft Entra Token Protection requires supported applications to use sign-in session tokens cryptographically bound to the device. If a bound token is copied elsewhere, Microsoft Entra ID cannot validate the required proof and rejects it.
Where Token Protection Is Supported
Microsoft’s current documentation lists Token Protection as generally available for native applications on Windows, iOS, iPadOS, and macOS. Supported Microsoft 365 resources include Exchange Online, SharePoint Online, and Teams. Windows also supports Azure Virtual Desktop and Windows 365.
Browser support remains much narrower. It is currently in preview for selected web applications that access Azure Resource Manager. Enabling Token Protection does not provide blanket coverage for Microsoft 365 browser sessions.
Validate Coverage Before Enforcement
Start in report-only mode and review interactive and non-interactive sign-ins before enforcement. The `TokenProtectionStatusDetails` field in Entra sign-in logs shows whether a session was bound. Global Secure Access can also add a compliant network condition where tighter restrictions are needed.



What Token Theft Looks Like in Your Security Data
No single event proves a PRT was stolen. Detection needs to connect activity on the endpoint, the identity sign-in, and what the session did afterward.
Start With Endpoint Activity
Defender for Endpoint can identify suspicious attempts to access a PRT and related artifacts. Analysts should correlate this with unusual processes, browser extensions, outbound connections, credential access, and command-and-control activity.
Correlate Identity Risk Signals
Microsoft Entra ID Protection can detect anomalous token characteristics or use from an unfamiliar location. Related signals include adversary-in-the-middle activity, atypical travel, suspicious IP addresses, and unusual non-interactive sign-ins.
Review The Sign-In & Session Context
Sign-in analysis should include the application, network and device details, compliance state, Conditional Access result, risk, session identifier, and token protection status. An unbound token is not automatically malicious because some applications do not support binding. It becomes more useful when binding should work and another risk signal is present.
Look For Activity After Authentication
Analysts should then look for mailbox rules, authentication changes, new devices, OAuth consent, new application secrets, unusual Graph activity, mass downloads, and administrative changes. Defender XDR and Microsoft Sentinel can bring these events into the same incident instead of leaving analysts to reconstruct it across portals.
What To Do When Token Theft Is Suspected
Contain The Account & Endpoint
The response must address the identity, device, and persistence. The security team should isolate the endpoint, block the account when business impact permits, revoke active sessions, confirm the user as compromised, and reset credentials from a known-good device.
Remove Persistence & Determine Scope
Review authentication methods, registered devices, application consent and secrets, mailbox rules, external sharing, and administrative changes. Determine what data was accessed and whether other users or devices were affected.
Account For Continuous Access Evaluation
Continuous Access Evaluation helps supported Microsoft 365 services respond to revocation, account disablement, elevated risk, and policy changes before the token’s normal expiration. Support varies, so responders should not assume every session ends at the same moment.
A Password Reset Is Not Enough
When token theft is suspected, response should include the identity, active sessions, endpoint, and persistence mechanisms. Revoke sessions, isolate the affected device, reset credentials from a known-good system, and review authentication methods, application access, mailbox rules, and other changes that could preserve access.


Turning Token Theft Controls Into An Operational Program
Most organizations already own several controls needed to reduce this risk. The common gap is that endpoint, identity, application governance, and monitoring controls were deployed by different teams without testing how they work together.
Test Whether The Controls Work Together
A practical review should confirm that TPM protection is healthy, endpoint security is reporting, Intune compliance is enforced, phishing-resistant authentication is required for high-value users, application permissions are governed, and Token Protection is enabled wherever supported. It should also confirm that identity risk reaches the SOC and responders can connect an endpoint alert to Microsoft 365 activity, revoke sessions, isolate the device, identify affected data, and remove persistence.
eGroup helps organizations assess these controls across Microsoft Entra, Intune, Defender XDR, Microsoft Sentinel, and Global Secure Access, then turn the findings into an operational plan. If you want to test how well your Microsoft 365 environment would prevent, detect, and contain token theft, contact eGroup to start the conversation.
Find The Gaps Before An Attacker Does
Token theft can expose weaknesses across identity, endpoints, applications, and security operations. Our Cybersecurity Health Check helps establish your current security baseline, identify gaps, and prioritize practical improvements across your environment.

Sources
CISA, A Tale of Two SOCs Insights From Two Red Team Assessments | Microsoft Learn, Understanding Primary Refresh Token PRT | Microsoft Learn, Token Protection in Microsoft Entra Conditional Access | Microsoft Learn, Token theft playbook | Microsoft Learn, Continuous access evaluation in Microsoft Entra | Microsoft Learn, Investigate risk with Microsoft Entra ID Protection | Microsoft Learn, SigninLogs table reference