Safety notice. This is a defensive, educational guide for authorized use on your own computer. Every command is read-only. Nothing here claims your device is or is not compromised. If this device belongs to a company or to someone else, involve their IT or security team first.
Jump to a section
Defensive guide - for your own device
Infostealer triage
A calm, step-by-step incident response handbook for Windows users who think their computer may have been exposed to an infostealer. Work through it in order, take your time, and do not delete anything until you have documented it.
01
Contain and stay safe
Your first job is to stop the damage and keep evidence intact. Do not rush to delete or reinstall anything.
Stop using the device for anything sensitive
Do not log into banking, email, work, or shopping accounts from this computer. Do not enter passwords or credit card numbers on it.Disconnect it from the network
Turn off Wi-Fi and Ethernet so the device cannot send or receive anything. The fastest way: open Settings > Network & internet and turn off Wi-Fi, or switch the device to Airplane mode. For a wired connection, unplug the cable.
You can also use the Wi-Fi icon in the taskbar and choose Disconnect.
Know that disconnecting does not erase evidence
Turning off the network does not delete anything. Logs, installed programs, and files stay on the disk. Evidence is preserved by leaving the device alone, not by keeping it online.Switch to a clean device for recovery
Use a phone or another computer you trust for the account and financial steps later in this guide. Do not reuse the possibly affected device for those.Do not run random cleanup tools yet
Hold off on scan-and-delete "cleaners" and on reinstalling Windows. First document what is there (sections 2 through 6), then decide. Deleting too early destroys the evidence you need.
02
Browser extension triage
Infostealers often arrive as browser extensions. Review every extension, record the details, and only remove or disable after documenting.
Open the extension manager for the browser you use:
Chrome
chrome://extensions
Turn on Developer mode (top right) to see each extension's ID.
Edge
edge://extensions
Turn on Developer mode to see each extension's ID.
Firefox
about:addons
Open the Extensions panel to see the full list.
List every extension
Go through the list and pick out anything you do not remember installing, anything you did not choose, or anything you have not used.Record the details before changing anything
For each unfamiliar extension, write down:- the extension name and its ID (the long code)
- the version number and publisher
- the permissions it asks for
- when it was added, if the browser shows it
Watch for permission red flags
These permissions are a strong reason to be suspicious:- "Read and change all your data on all websites"
- "Access your browsing activity"
- "Read your emails" or "Manage your downloads"
- "Access your tabs" or "Capture your screen"
Remove or disable only after documenting
Once you have recorded the details, remove the suspicious extension (or disable it if you want to keep the record). Keep your notes - you will use them later.
03
Windows AppData persistence
Malware often hides in your user profile folders so it starts again after a reboot. These are safe, read-only places to look.
Your user profile has three hidden data folders. Open them with File Explorer by pasting these paths into the address bar:
Roaming
%APPDATA%
Local
%LOCALAPPDATA%
LocalLow
%USERPROFILE%\AppData\LocalLow
Safe places to inspect
- Startup folder - paste
shell:startupinto the Run box (Win+R) or File Explorer. Anything here runs when you sign in. - Roaming and Local - browse the folders and sort by Date modified. Look for folders with random names (like "x9f2k4") that appeared recently.
- Startup and run entries - at a high level, these live in the registry under
HKCU\Software\Microsoft\Windows\CurrentVersion\Runand the matching HKLM key. The Sysinternals section below reads these for you safely.
Red flags to look for
- Folders with random names created in the last few days.
- Executable files (
.exe) sitting in AppData that you did not install - programs normally install to Program Files. - Unsigned executables, or files with no publisher or company name.
- Startup entries that point into AppData instead of Program Files.
04
Safe PowerShell inventory
These commands are read-only. They list what is installed and running so you can record it. None of them delete, change, or download anything.
List installed Chrome extensions (IDs)
$p = "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Preferences"
if (Test-Path $p) {
(Get-Content $p -Raw | ConvertFrom-Json).extensions.settings.PSObject.Properties.Name
}List installed Edge extensions (IDs)
$p = "$env:LOCALAPPDATA\Microsoft\Edge\User Data\Default\Preferences"
if (Test-Path $p) {
(Get-Content $p -Raw | ConvertFrom-Json).extensions.settings.PSObject.Properties.Name
}List active Firefox add-ons
Get-ChildItem "$env:APPDATA\Mozilla\Firefox\Profiles" -Directory | ForEach-Object {
$f = Join-Path $_.FullName "extensions.json"
if (Test-Path $f) {
(Get-Content $f -Raw | ConvertFrom-Json).addons |
Where-Object active |
Select-Object id, name, version
}
}List startup items (registry run keys and startup folder)
Get-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run"
Get-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Run"
Get-ChildItem "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup"List scheduled tasks
Get-ScheduledTask | Select-Object TaskName, TaskPath, StateList services with their executable paths
Get-CimInstance Win32_Service | Select-Object Name, DisplayName, State, StartMode, PathNameList recently opened files
Get-ChildItem "$env:APPDATA\Microsoft\Windows\Recent" -ErrorAction SilentlyContinue |
Select-Object Name, LastWriteTimeGet the SHA-256 hash of a suspicious file (replace the path)
Get-FileHash "C:\Users\YourName\AppData\Roaming\suspicious\file.exe" -Algorithm SHA256Save a full inventory report to your Desktop (writes one text file)
$out = "$env:USERPROFILE\Desktop\incident-inventory.txt"
"=== Scheduled tasks ===" | Out-File $out
Get-ScheduledTask | Select-Object TaskName, TaskPath, State | Out-File $out -Append
"=== Services ===" | Out-File $out -Append
Get-CimInstance Win32_Service | Select-Object Name, DisplayName, State, StartMode, PathName | Out-File $out -Append
"=== Startup ===" | Out-File $out -Append
Get-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run" | Out-File $out -Append
Get-ChildItem "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup" | Out-File $out -Append05
Sysinternals tools
Microsoft's Sysinternals tools show you exactly what is running and starting on your machine. Download them only from Microsoft, verify the signature, and export your results.
Download safely and verify the signature
Download only from Microsoft
Get the tools from the official Microsoft Sysinternals page (linked in the resources section at the end). Never download "Sysinternals" from a random site, a search ad, or a message someone sent you.Verify the digital signature
Right-click the downloaded file, choose Properties > Digital Signatures, and confirm it is signed by Microsoft Corporation and that the signature is valid. If it is not, delete the file and do not run it.Run as administrator
Right-click the tool and choose Run as administrator so it can see everything.Export your results
Use each tool's File > Save (or Export) to save the output to a text file. Keep these files - they are evidence.
The four tools you need
Autoruns
- What it does
- Shows every program that starts automatically: startup items, scheduled tasks, services, and run keys.
- How to use it
- Open Autoruns, then check "Hide Signed Microsoft Entries" to focus on the rest. Look at the Startup, Scheduled Tasks, and Services tabs.
- Suspicious if
- Unsigned entries, entries pointing into AppData, random names, or publishers you do not recognize.
Process Explorer
- What it does
- Shows every running process and what it is doing.
- How to use it
- Open it and look for processes with no company name or description. Check a process's path by hovering or viewing Properties.
- Suspicious if
- Processes running from AppData or Temp, unsigned processes, or names that look like a real program but are not.
Sigcheck
- What it does
- Checks file signatures and computes hashes from the command line.
- How to use it
- Run sigcheck on a suspicious file to see if it is signed and get its hash.
- Suspicious if
- Files that report no signature or an invalid one.
TCPView
- What it does
- Shows every network connection your computer is making.
- How to use it
- Open it and look for connections to addresses you do not recognize.
- Suspicious if
- Programs you do not know connecting out to unfamiliar IP addresses or ports.
Verify a file's signature and hash with Sigcheck
sigcheck -h "C:\path\to\file.exe"06
Malwarebytes scan
Malwarebytes is a widely used scanner for Windows. Use it to update, run a scan, and quarantine anything it finds - then save the report.
Update first
Open Malwarebytes and let it update its detection definitions. Check Settings > General or the dashboard for the latest update, or restart the app so it downloads the newest definitions.Run a threat scan
Choose Scanner and run a Threat Scan. For a deeper look, run a Custom Scan and select the drives and folders you want checked. A full scan takes longer but covers more.Quarantine rather than delete
When Malwarebytes finds something, choose Quarantine. Quarantine isolates the file so it cannot run, but keeps it so you can restore it if it was a false positive. Only use Delete if you are certain.Save the report
After the scan, export or save the report (usually under the scan results or a report/export button). Keep the report file - it is evidence for the next step.Run one scanner at a time
Do not run Malwarebytes at the same time as another antivirus or anti-malware scan. Run them one after another, not together, so they do not interfere.
07
Evidence and escalation
Write down what you saw and when. Keep proof in a form a professional can use, and know when to call one in.
Preserve the evidence
- Timestamps - note the date and time you first noticed a problem and when you did each step. Write them down as you go.
- Screenshots - use
Win + Shift + Sto capture extension lists, Autoruns output, scan results, and suspicious files. Save them to a folder. - Hashes - record the SHA-256 hash of each suspicious file (see the PowerShell section). A hash is a fingerprint that stays the same even if you move or rename the file.
- Reports - keep the Malwarebytes report, the Sysinternals exports, and the PowerShell inventory text file.
- Store copies off-device - copy the reports and screenshots to a USB drive or another trusted device so they survive a reinstall.
When to bring in a professional
- You manage this device for a business, or it holds other people's data.
- You cannot tell what happened or what was accessed.
- You have already lost money, or the amount at risk is large.
- You need a trusted rebuild of the system and want it done right.
- You simply do not feel comfortable doing this yourself.
08
Account and financial recovery
Do these from a clean device (your phone or another computer), not the possibly affected one. Move in order and do not skip the card step.
Freeze your cards first
Call the number on the back of each card (or use the bank's official app) and ask to freeze or block the card. Do this before anything else - it stops further charges immediately. Use only the number on the card or the official app, never a number from a search result or a message.Change passwords from a clean device
On a device you trust, change the password for your email first, then banking, shopping, social, and work accounts. Use a strong, unique password for each.Revoke sessions and tokens
For each important account, sign out of all other sessions and revoke any app or device tokens. Most services have a "sign out everywhere" or "manage devices" option in security settings.Turn on multi-factor authentication (MFA)
Enable MFA on every important account, especially email and banking. Prefer an authenticator app or hardware key over SMS where possible.Contact banks and platforms
Tell your bank and card issuer about the possible exposure, dispute any charges you did not make, and report compromised accounts to the platforms involved.Monitor your credit
Check your credit reports and watch for new accounts opened in your name. Consider a credit freeze or fraud alert with the major credit bureaus.Notify relevant contacts
If your email or messaging account was used to send phishing or scams, let the people who received those messages know to ignore them.
09
Reset and reinstall
Wiping and reinstalling Windows is a last resort. Do it only after you have collected evidence and recovered your accounts, because a reset destroys everything on the device.
Backup cautions
- Back up only files you trust: documents, photos, and other data you created. Do not copy unknown executables or your whole profile.
- Scan anything you plan to restore with Malwarebytes before copying it back.
- Keep the backup on a separate, trusted device, not on the machine you are resetting.
Reset or reinstall overview
- Reset this PC - go to Settings > System > Recovery > Reset this PC and choose Remove everything. This reinstalls Windows and clears your files and apps.
- Reinstall from a Microsoft-created USB - for a cleaner result, create a Windows installation USB using Microsoft's official tool, then boot from it and choose a clean install. Wipe the drive during setup.
- After reset - change your passwords again, re-enable MFA, and install only software you trust from official sources.
10
Checklist
Work through this in order. Check each item as you complete it. The last item is deliberately last.
11
Decision tree
Use this to decide how urgently to act. The steps are the same either way - the difference is how fast you escalate and whether you plan a reset.
Start: Did you see clear signs of compromise?
Examples: a scan found malware, an extension you never installed is running, money or accounts were accessed without you, or your device is doing things you did not ask for.
No - you are not sure (suspected)
- Work through sections 1 to 6 calmly.
- Disconnect, document, and scan.
- Change passwords and freeze cards as a precaution.
- Watch your accounts and credit for a few weeks.
- Only reset if you later find something real.
Yes - something is confirmed
- Disconnect and stop using the device now.
- Freeze cards and change passwords immediately.
- Preserve evidence before removing anything.
- Consider a professional incident responder.
- Plan a reset after accounts and evidence are handled.
Either way: document everything, recover accounts from a clean device, and only reset as a last resort.
12
Glossary
Plain-language definitions of the terms used in this guide.
- Infostealer
- A type of malware designed to steal credentials, passwords, session cookies, and financial data from a device.
- Malware
- Any software written to harm, exploit, or gain unauthorized access to a computer.
- Credential
- The information used to prove who you are, such as a username and password.
- Session token
- A piece of data that keeps you logged in. If stolen, it can let someone act as you without your password.
- MFA (multi-factor authentication)
- A security step that asks for a second proof of identity, like a code from an app, in addition to your password.
- Quarantine
- Isolating a detected file so it cannot run, while keeping it so it can be restored if it was a false positive.
- Hash
- A fixed fingerprint of a file's contents. The same file always produces the same hash, so it is used to identify and compare files.
- Digital signature
- A cryptographic mark that shows who published a file and that it has not been changed. A valid Microsoft signature means the file is from Microsoft.
- Persistence
- The way malware arranges to start again after a reboot, such as through startup folders, services, or scheduled tasks.
- Command and control (C2)
- The server that malware reports to and receives instructions from over the network.
- Phishing
- A scam that tricks you into entering credentials or installing malware, often through fake messages or websites.
- False positive
- When a scanner flags a harmless file as suspicious. Quarantine lets you undo a mistake.
13
Official resources
Use only official sources for downloads and help. These are the direct links.
- Microsoft SysinternalsOfficial source for Autoruns, Process Explorer, Sigcheck, and TCPView.
- Microsoft Windows documentationOfficial Windows help, including recovery and reset guidance.
- Chrome extension managementGoogle's official help for managing and removing Chrome extensions.
- Edge extension managementMicrosoft's official help for adding, turning off, or removing Edge extensions.
- Firefox add-onsMozilla's official help for finding and managing Firefox add-ons.
- MalwarebytesOfficial Malwarebytes site and support for running scans.