Infostealers: The Quiet Malware Behind Account Takeovers
Understand what infostealer malware grabs, why it can sidestep two-step sign-in, and how to clean up after it.
Key takeaways
- Infostealers harvest saved logins, session cookies, autofill data, wallet files and documents in a single quick pass.
- A stolen session cookie can let an intruder into an account without ever facing the password or second-factor prompt.
- They mostly arrive through things people run themselves, such as pirated software, fake installers, bogus fixes and malicious ads.
- Recovery means cleaning or reinstalling the device first, then signing out all sessions and changing passwords from a clean one.
- Passkeys, a locked password manager and careful installing shrink what can be stolen.
An infostealer is malware that scoops up the secrets stored on a computer or phone, sends them to a criminal and often finishes before you notice anything. The haul typically includes saved passwords, browser cookies that keep you signed in, autofill details, cryptocurrency wallet files and a description of your system.
There is usually no ransom note, no slowdown and no pop-up. The first sign may be an account somewhere else behaving as if another person owns it. Because stolen sessions can be reused directly, changing one password is often not enough.
What gets collected
Browsers are the main target because they hold so much in predictable places. A stealer reads the saved-password store, cookies, autofill entries such as names, addresses and phone numbers, saved payment card details and browsing history. Browsers encrypt much of this on disk, but software running as you can often ask the system to decrypt it the same way the browser does. Browser makers keep adding protections, and stealer authors keep adapting.
Beyond the browser, common targets include:
- Cryptocurrency wallet files and wallet browser extensions
- Tokens for chat, gaming and developer applications
- Email, file transfer and VPN client configurations
- Documents or text files with names suggesting passwords or recovery codes
- Screenshots and system details such as installed software, language and IP address
The package for one victim is usually called a log. It is organized neatly by type, so a buyer can search thousands of them for logins to a particular site or company.
Why cookies matter so much
When you sign in to a website, the server gives your browser a token, usually in a cookie, that says "this browser has already proved who it is." Your browser sends it with each request so you don't retype your password on every page.
The token is the proof. If someone copies it and presents it from their own machine, many services will treat them as you. They never see the sign-in form, so your password and your one-time code are never asked for. This is called session hijacking.
Cookie flags such as HttpOnly and Secure protect against some web attacks and network snooping, and you can see what each does in the cookie attribute explainer. They do not help once malware on your own computer reads the cookie files or the browser's memory.
Some services reduce the damage by expiring sessions sooner, asking you to re-verify before sensitive changes, flagging logins from new places or binding sessions to a particular device. Coverage varies, so assume a stolen session works until you revoke it.
How they arrive
Infostealers are mostly installed by their victims, who believe they are getting something else.
- Cracked software, game cheats and key generators. These ask you to ignore security warnings, which is exactly what the malware needs.
- Look-alike download pages, frequently promoted through search ads, imitating popular free tools.
- Fake updates and fake verification checks that instruct you to paste a command into a terminal or run dialog.
- Email and chat attachments, including archives with a password supplied in the message so scanners can't look inside.
- Video descriptions and forum posts offering free premium features.
- Malicious or hijacked browser extensions, covered in when a good extension goes bad.
Many stealers don't bother to persist. They run once, send the data and delete themselves, so a later scan may find nothing even though the secrets are gone.
What happens to the stolen data
Logs are traded in volume. Different buyers want different things. Some drain wallets or abuse saved cards. Some take over social and gaming accounts to scam the victim's contacts. Some look for corporate logins, which can be the starting point for a ransomware intrusion.
The username and password pairs also feed credential stuffing, where automated tools try them across many other sites. A password you reused turns one infection into several compromised accounts.
This is a particular problem for work. If you sign in to company systems from a personal computer, or let a work browser profile sync to a home machine used for downloads, an infection at home can expose the employer.
How to spot an infection
Direct signs are thin. Watch for indirect ones:
- Sign-in alerts from places or devices you don't recognize
- Password reset or security-change emails you didn't request
- Posts or messages sent from your accounts
- New forwarding rules or filters in your email, a common trick described in forwarding rules attackers love
- Security software that reports a stealer, or that was turned off after you installed something
- A breach-notification service reporting your address in stealer logs
If you recently ran a questionable installer or pasted a command from a web page, treat that as enough reason to act, even with no symptoms.
Cleaning up in the right order
Order matters. Changing passwords on a still-infected machine just hands over the new ones.
- Disconnect the suspect device.
- Move to a clean device.
- Secure your email first. Change the password, sign out all sessions, check recovery addresses, phone numbers, app passwords and forwarding rules.
- Secure money accounts, then your password manager, work accounts and social media.
- Revoke sessions and tokens everywhere. Look for "sign out of all devices", connected apps and API keys. A password change alone does not always end existing sessions.
- Move cryptocurrency to a new wallet created on a clean device, since an exposed recovery phrase cannot be changed.
- Erase and reinstall the infected machine. A scan is useful for diagnosis, but a clean install is the dependable remedy.
- Watch statements and accounts for some time afterward.
For a work device or a work account, tell your IT or security team immediately. They can revoke sessions centrally and check whether anyone used them. If you've already lost access to something, follow the account recovery steps.
Why organizations should care about personal devices
A single log from an employee's home computer can contain a work email password, a session for the company's chat or file service and a VPN profile. None of that passed through the company's own defenses, so nothing there raised an alarm.
Several measures reduce the exposure. Require a second factor on every external login, and prefer methods bound to the real site. Limit access to sensitive systems to managed devices that report their health. Keep session lifetimes reasonable and ask for fresh verification before administrators make significant changes. Block or warn about unapproved browser extensions on work profiles.
Detection matters too. Look for a session that suddenly moves to a different network or device type, sign-ins at unusual times followed by bulk downloads, and new multi-factor devices or mail rules added shortly after a login. When you find one, revoke every session and token for the account, reset the credential and ask how the device was infected.
Tell staff plainly that reporting a suspicious download quickly is welcome. Someone who fears blame will wait, and with this kind of malware the data has usually left within minutes.
Reducing what can be stolen
- Install only from official stores and publishers, and treat any request to disable protection as a stop sign.
- Use a password manager that locks itself and requires its own authentication. It is not proof against malware on an unlocked machine, but it can narrow the exposure compared with an always-open browser store.
- Prefer passkeys or hardware security keys. Their private keys are not sitting in a file as a reusable password. Session cookies can still be stolen afterward, so this is one layer.
- Sign out of high-value sites when you finish.
- Don't keep recovery codes or wallet phrases in plain text files.
- Keep a separate browser profile or device for work.
- Don't share a computer used for sensitive accounts with experimental downloads.
None of these makes theft impossible. The aim is that a single bad download exposes as little as possible: fewer saved secrets, shorter-lived sessions and important accounts that demand fresh proof before anything changes. Pick the two or three accounts that could hurt you most, usually email, banking and the password manager, and tighten those first.
Common questions
Will two-factor authentication help at all?
Yes. It stops someone who only has your password. It does not stop reuse of a session that already passed the check, which is why revoking sessions is part of recovery.
Are phones affected?
Phones isolate apps from each other more strictly than desktops, which makes broad sweeping harder. Malicious apps that obtain accessibility or notification access can still read sensitive content, so be stingy with those permissions.