A password reset leaves most of what an infostealer took working: session cookies, refresh tokens, OAuth grants, cloud keys and Git tokens all outlive it. Treat the infection as theft of everything the device's browsers and profile held, across every identity on it. In the first hour the SOC isolates the device and fixes the window, and the identity admin revokes sessions and the device object, not only the password.
CISA's guidance on stolen tokens is generic: its eviction countermeasure CM0080 says to revoke the tokens, force a password reset and consider disabling the account, without saying what each platform's reset leaves alive. The advisory on LummaC2 (AA25-141B, May 21, 2025) lists what the malware takes, but its mitigations are prevention, monitoring and routine account hygiene. The order below is our analysis, built from each platform's own documentation.
What the thief holds
Microsoft's February 2026 research on current stealers lists login credentials, session cookies, authentication tokens and wallet data, and on developer machines SSH keys, Kubernetes configs and AWS credentials. FBI and CISA list browser extensions and MFA details too. A stolen session is dangerous because the thief replays a token that already passed MFA, so the second factor never comes up.
Inventory everything on the device that holds a sign-in or a secret: browser profiles (work and personal), desktop clients, CLI credential files, SSH keys, .env files, and any VPN certificate or saved profile, which we would revoke like any other secret. Whether the vault of a password manager was unlocked at infection time matters too, and so does every Chrome profile signed in to a Google account, which is the hardest part (see the personal-device section).
Who revokes what in the first 24 hours
- Within 30 minutes, the SOC analyst isolates the device in the EDR and exports the process tree, the installer or lure, and the browser profile list. Microsoft's token theft playbook notes that collecting attacker details can matter more than an immediate response; this is the only evidence you can still collect cheaply. Window start is the earliest execution of the stealer's process chain; window end is isolation. Check: both timestamps are in the record.
- Within the first hour, the identity admin works from a clean machine, never the infected one. Revoke all refresh tokens, disable the user's device objects, then reset the password. Entra, Google and Okta each need a different action; the table gives them. Check: the sign-in logs show no sign-in activity for that user after the revocation plus the access-token tail.
- At the same time, not afterward, the developer's team lead rotates or cuts the source of cloud, Git and CI credentials the device held. Revoking issued sessions does not block a fresh login with a surviving key (see the developer section). Check: each key shows a deactivation time.
- Within four hours, each SaaS app owner ends the user's sessions in apps the IdP cannot sign out, and the SaaS admin removes OAuth grants and app passwords. Check: each app's own sessions page is empty for that user.
- Within 24 hours, the user rotates the saved passwords from a clean device, and the security team removes MFA methods and devices the attacker may have added. Check: the registered-methods list matches what the employee confirms.
- Within 24 hours, the SOC runs the hunt below, and IT reimages the device if the company owns it. A personal device follows the personal-device section.
Do the reset and the admin revocation in the same hour. Microsoft's own containment list starts with a password change; we put the revocation first because, in Microsoft's refresh-token table, the admin revocation is what kills the tokens a user's own password change leaves alive.
Revocation table: what a reset leaves alive
What the thief holds | After a password reset | After IdP session revocation | How to kill it, and who |
|---|---|---|---|
Entra cookies and refresh tokens | A user's own password change leaves non-password-based cookies and tokens alive | An admin revoking all refresh tokens revokes every class. Access tokens already issued keep working until they expire | Identity admin: revoke sessions (the Graph call is revokeSignInSessions); it also clears Entra browser cookies; allow a few minutes |
Entra device and primary refresh token (PRT) | If the PRT was obtained with the password, Entra invalidates it when the user changes the password | Not on Microsoft's list of what invalidates a PRT (user, device, password change, TPM failure); do not rely on it | Identity admin: disable or delete the device object; Microsoft's emergency procedure includes disabling the user's devices |
Google sessions | A password change revokes OAuth tokens for some products only (see the OAuth row); end sessions with the sign-out actions, not the reset | Resetting sign-in cookies does not sign the user out of apps such as Gmail and Google Drive for desktop, and a third-party SSO session can still let the user back in | Google admin: end the SSO session first, then suspend the user (it resets cookies) or reset cookies; Gmail sessions can take up to an hour to end |
SaaS sessions the IdP does not own | No effect | Entra cannot revoke a session token an application issued; an app may never send the user back to the IdP | App owner: the app's own admin sign-out. Slack's admin session reset works only on Enterprise plans. Okta Universal Logout works only with supported apps (a generic SAML or OIDC app must support Global Token Revocation), and for Slack only on Enterprise |
OAuth grants | Google revokes some tokens on a password change, but not Apps Script apps, and not the Android account-sync token when the change starts on that device; FBI says a consent grant can be revoked only by invalidating the token in the app, not by a password change | Survive | SaaS admin or user: remove the grant. In Google, removing data access is undone when the user signs in again; block the app. Procedure: reviewing OAuth app grants |
Google app passwords | Revoked: Google says it revokes app passwords when the account password changes | Google's sign-out and cookie-reset pages do not cover app passwords; do not count on them | Google admin or user: check the user's app-password list after the reset and revoke anything left |
Saved browser passwords for other sites | Only the one password changes | Not touched | User and app owners: rotate every saved password for sites that do not sign in through SSO, corporate first |
Cloud CLI keys | Survive | Survive | See the developer section |
Git tokens and SSH keys | Survive | Survive, even SSO de-authorization | See the developer section |
Password-manager vault | Unaffected | Unaffected | 1Password's own security post says no password manager can guard secrets on a fully compromised device and that secrets can be taken while the app is open and unlocked. If the vault was unlocked at infection, we would rotate its high-value items |
Browser extensions | Unaffected | Unaffected | FBI and CISA list browser extensions among what LummaC2 takes. Audit the extension list and remove unknown ones after the reimage; a synced profile brings them back |
MFA methods the attacker registered | Survive | Survive | Identity admin: Microsoft's playbook says to review audit logs for newly registered devices and added MFA options, and to delete credentials and devices the attacker added |
Microsoft's emergency access revocation page is the starting point for Entra, and its refresh-token table shows which action kills which class.
For the mailbox itself (forwarding rules, delegates, what survives a reset in a mailbox), use the BEC response guide; this guide does not repeat it.
The access-token tail and the apps that outlive the IdP
After an admin revokes sessions, access tokens already issued keep working until they expire. Entra access tokens last 1 hour by default, but Microsoft's token-lifetime page describes a random 60-90 minutes. Plan for the top of that range. Continuous access evaluation cuts the tail inside Exchange Online, SharePoint Online and Teams on supported clients, and Microsoft says not every client and resource combination is supported. Everything else waits for expiry.
Apps with their own session cookie are a different problem. Microsoft says Entra cannot directly revoke a session token an application issued, and the app may never send the user back to Entra while its token is valid. The OpenID CAEP profile, final since August 2025, defines a "session revoked" signal, but documented app support is thin: do not count on it. List the apps the user was signed in to (browser history and the IdP's app log help) and end each session by hand.
Developer secrets run beside the IdP step
AWS role-session revocation denies only credentials issued before the revoke time; AWS says a user who assumes the role afterward is not caught by the deny policy. If the thief holds a long-lived access key, deactivate that key first, then revoke the role sessions. With IAM Identity Center, revoking a user's session leaves existing AWS account sessions alive for up to 12 hours, depending on session duration. For Azure and GCP CLI credentials, take the same approach from the provider's own documentation: find what the CLI stores on the device, cut the source, then check how long issued tokens live.
GitHub is the larger trap. Revoking SSO authorizations removes the authorization but does not delete the credentials; personal-scope and non-SSO organization permissions remain active. Only Enterprise Managed Users enterprises can delete tokens and SSH keys centrally. Otherwise the developer or an org owner deletes each personal access token and SSH key. GitLab revokes a token immediately and revokes an enterprise user's personal access tokens when the account is blocked or deleted.
For stolen CI and cloud secrets in practice, read our news on a CI secret stealer in GitHub accounts. Check for use: pull the cloud provider's audit log for the key's identity across the window, and look for calls from outside the developer's usual network.
An AI agent can help here with enrichment: given the device inventory, it can list candidate key IDs, query the audit log per key and summarize first-use anomalies. A human decides what to deactivate, because a wrong deactivation breaks production.
Personal and unmanaged devices
Scope the response to the person, not the laptop. In Okta's November 3, 2023 root-cause post, an employee had signed in to a personal Google profile in Chrome on an Okta-managed laptop, a service-account password was saved in that personal account, and Okta called compromise of the personal Google account or personal device the most likely avenue. Okta does not say an infostealer was involved. Its fix was a Chrome Enterprise setting that blocks personal Google profiles on managed laptops.
Mandiant's June 10, 2024 report on UNC5537 is the infostealer case: the credentials behind the Snowflake customer breaches came mainly from infostealer campaigns on non-Snowflake systems, some on contractor machines also used for gaming and pirated downloads. The stolen items were passwords, not sessions: the accounts had no MFA, and credentials stolen in some cases years before had never been rotated. That is why the saved-passwords row reaches beyond SSO apps. Read Mandiant's report for that chain and Okta's post for the personal-profile finding.
The rule that follows is ours: if the employee signed in to anything corporate on the infected device, run the full table for that person, whoever owns the hardware. You cannot see a personal device. You can ask the employee to list every account signed in there and to rotate the saved passwords from a clean device. Anything beyond that request on an employee's own PC, such as inspecting, imaging, wiping or installing tools on it, is for HR and legal counsel to decide before anyone raises it with the employee. To stop the next one: require a compliant device for corporate sign-in, keep work in a separate browser profile, and block personal Google profiles on managed Chrome.
Proving the thief did not use it
An empty hunt proves little, and the limits matter more than the queries. In the Entra sign-in logs for the window, look for sessions that appear from a new IP address, ASN, device ID or location without a fresh interactive sign-in, new MFA registrations and device registrations in the audit log, and first use of an app. Microsoft's anomalous-token detection and token-theft playbook cover this. In Google, search the admin log for "User signed out due to suspicious session cookie"; Google terminates the session and any related suspicious sessions on that device.
Two limits. Microsoft says some anomalous-token alerts have no row in the sign-in logs, so a clean sign-in search is not proof. And free Entra tenants keep audit logs for seven days and sign-in logs for seven days. On P1 and P2 the figures are 30 days for audit logs and 30 days for sign-in logs. A retention change is not retroactive: if the window started earlier, say so in the record as unknown.
Escalate to a declared incident under your IR plan if the hunt finds data access, mailbox rules, a new MFA method or a replayed session. If regulated data was accessed, see breach notification for the clocks.
Reimage, then clean the synced profile
We would reimage a company-owned device by default, because after a stealer ran, cleaning cannot show what else was installed. Capture the evidence first. Then sign in to Chrome only after the profile is cleaned: Chrome sync restores passwords, extensions and web apps on every device signed in to that profile, so a reimage alone gives back any malicious extension and the saved passwords. Before the first sign-in on the rebuilt device, the employee, working from a clean device, removes the synced passwords that were rotated, audits the extension list and removes unknown ones, and signs out of other devices. Check: the extension list on the new device matches the audited list.
Prevention that changes the next incident
Binding a session to a device would have narrowed this. Google's Device Bound Session Credentials are on by default for Workspace accounts in Chrome 146 or later on Windows with a TPM. Google said in April 2026 that macOS would follow in an upcoming Chrome release; its Workspace admin page, updated December 3, 2026, still lists only Windows. DBSC protects only new sessions, and Google's guidance says malware present at registration may extract the key. It is prevention, not response. Moving saved passwords from the browser to a password manager narrows the saved-passwords row but not the vault row: an unlocked vault on an infected device is exposed too. Entra Token Protection binds tokens on supported native apps and CAE shortens revocation: they are different controls. Compliant-device and token-binding rules are in our phishing-resistant MFA guide.
First-day record
Infostealer first-day record
Fill in as you go. Rows you leave empty stay blank in the document.
Saved only in this browser. Nothing is sent to us.Times from the EDR timeline, with the time zone.
0 of 7 filled


