Reference · Accounts and sessions
Infostealer triage: browser passwords, session cookies and why a new password is not enough
What information-stealing malware copies from Chrome, Edge and Brave profiles (Login Data, Network\Cookies, Local Extension Settings), why changing a password alone can leave a stolen session working, and how to end every session from a clean device.
| Target artifact | The browser profile folder: saved passwords in Login Data, signed-in sessions in the Cookies database (in the profile's Network folder on Windows), autofill in Web Data, and extension data, including crypto wallets, in Local Extension Settings. |
|---|---|
| Default behaviour | A session cookie or token is proof that someone already signed in, password and second factor included. Malware that copies it can use the account without either until the session ends or is revoked, so a new password alone may not lock the attacker out. |
| Safe state | The infected computer cleaned or reinstalled; every important account's password changed and every session ended from a clean device; API keys and wallets that were on the computer replaced. |
| Check on Windows | Get-ChildItem "$env:LOCALAPPDATA\Google\Chrome\User Data\*\Login Data", "$env:LOCALAPPDATA\Google\Chrome\User Data\*\Network\Cookies" | Select-Object FullName, LastWriteTime |
| Check on macOS | ls -l ~/Library/Application\ Support/Google/Chrome/*/Login\ Data ~/Library/Application\ Support/Google/Chrome/*/Cookies |
| Check on Linux | ls -l ~/.config/google-chrome/*/Login\ Data ~/.config/google-chrome/*/Cookies |
| Fix in Microsoft 365 | Revoke-MgUserSignInSession -UserId user@example.com, after disabling the account or resetting its password |
| Fix for personal accounts | from a clean device, change the password, then end every session: Sign out everywhere for a Microsoft account, Your devices for a Google account |
What the check shows
Each line is one browser profile that holds saved passwords or cookies. If information-stealing malware ran on the computer, treat every one of them as copied. The commands cover Chrome; for other browsers, change the folder:
| Browser | Profile folder |
|---|---|
| Chrome on Windows | %LOCALAPPDATA%\Google\Chrome\User Data |
| Chrome on macOS | ~/Library/Application Support/Google/Chrome |
| Chrome on Linux | ~/.config/google-chrome |
| Edge on Windows | %LOCALAPPDATA%\Microsoft\Edge\User Data |
| Any Chromium browser | Open chrome://version (edge://version in Edge, brave://version in Brave) and read Profile Path |
Inside the folder, each profile is a subfolder such as Default or Profile 1. The file names in the table at the top were checked in a new Chrome 153 profile on Linux on 9 November 2026; the Windows Network\Cookies location comes from CyberArk's research.
Why a new password is not enough
A browser stays signed in by sending a session cookie or token, which the service issued after the password and second factor were checked. Microsoft's security team describes attackers replaying stolen tokens that had already completed multifactor authentication, which satisfies the check, and notes that common credential-stealing malware has built-in functions to extract and send out browser cookies.
How far a password change reaches depends on the service:
- Google account: changing the password signs you out everywhere except devices you use to verify it is you, some devices with third-party apps you gave access, and home devices you gave access. Check Your devices afterwards.
- Microsoft account: after changing the password, use Sign out everywhere in the security settings. Microsoft says it can take up to 24 hours to apply everywhere, and Xbox consoles are signed out separately.
- Microsoft 365:
Revoke-MgUserSignInSessioninvalidates refresh tokens and browser session cookies, but access tokens already issued stay valid until they expire, about an hour by default, unless the app supports Continuous Access Evaluation.
Triage in order
- Stop using the infected computer. Disconnect it from the network. Anything you sign in to from it can be stolen again.
- From a clean device, start with email. Change the password and end every session for the mailbox first, because it can reset every other account. See Account compromise triage.
- Then every account saved in the browser, in order of harm: banking, password manager, cloud and domain registrar, work accounts, social media.
- Check what the attacker set up while signed in, such as forwarding rules, new sign-in methods and connected apps. See hidden forwarding rules.
- Replace keys and tokens that were on the computer: API keys in AI tool configurations, cloud credentials, SSH keys. See the MCP configuration audit.
- Treat browser crypto wallets as exposed. Create a new wallet on a clean device and move the funds to it.
- Clean the computer. Reinstalling Windows or macOS is the reliable way; then install the browser fresh and sign in again.
Administrators: Microsoft 365 and Google Workspace
Connect-MgGraph -Scopes 'User.ReadWrite.All', 'User.RevokeSessions.All'
Update-MgUser -UserId user@example.com -AccountEnabled:$false
Revoke-MgUserSignInSession -UserId user@example.comDisabling the account first stops new tokens from being issued while the old ones run out; once the password is reset and the checks are done, enable it again with Update-MgUser -UserId user@example.com -AccountEnabled:$true. In Google Workspace, open the Admin console, then Directory, Users, the user, Security, and Sign-in cookies, then Reset. Google notes that this does not sign the user out of apps such as Gmail and Google Drive for desktop, so check those separately.
What browsers now protect, and what they do not
- Chrome on Windows encrypts cookies with App-Bound Encryption since version 127, which makes them harder for other programs to read.
- Device Bound Session Credentials tie Google sign-in sessions to the device in Chrome on Windows; Google made it generally available for Google Workspace in May 2026.
- Since Chrome 136, the
--remote-debugging-portswitch is ignored for the default profile, because information-stealing malware abused it. - In August 2026, researchers showed that malware already running on the computer can turn on debugging inside a running Chrome and get around these protections. They raise the cost of theft; they do not make an infected computer safe to use.
Related guides and lookups
Sources
- Chromium: user data directory
- CyberArk: the current state of browser cookies
- Microsoft: token tactics and cloud token theft, November 2022
- FBI and CISA: LummaC2 malware advisory AA25-141B, May 2025
- Google Account Help: change or reset your password
- Google Account Help: see devices with account access
- Microsoft Support: sign out everywhere for a Microsoft account
- Microsoft Learn: Revoke-MgUserSignInSession
- Microsoft Learn: revoke user access in Microsoft Entra ID
- Google Workspace: sign a user out of a managed Google account
- Google Security Blog: App-Bound Encryption, July 2024
- Google Workspace Updates: Device Bound Session Credentials, May 2026
- Chrome for Developers: changes to remote debugging switches
- Cloud Security Alliance: Chrome DevTools session hijacking research note, August 2026