An infostealer is a type of malware designed to collect stored credentials and other sensitive data from an infected device and send it to an attacker, usually within seconds or minutes of execution. In the malware and attack landscape of cybersecurity, infostealers have become a primary source of initial access: the passwords and session cookies they harvest are sold and reused for account takeover, fraud, ransomware intrusions and data breaches.
Unlike classic spyware that watches a victim for weeks, a typical infostealer performs a fast smash-and-grab collection, packages the results into a so-called log, and often deletes itself. Most families are sold as malware-as-a-service, which lets low-skilled criminals run large campaigns with rented tooling.
How an infostealer collects and exfiltrates data
An infostealer works by reading the files and databases where applications keep secrets, decrypting them with keys available to the logged-in user, and uploading the results. Web browsers are the richest target, because they store passwords, cookies, autofill entries and payment cards in local profile databases protected only by user-level encryption such as Windows DPAPI.
A typical execution follows a short, predictable sequence. The malware fingerprints the host, sweeps known application paths, compresses the findings into an archive, and sends it to a command-and-control server or a messaging channel controlled by the operator. Some families also capture a screenshot of the desktop and a list of installed software to help buyers judge the value of the victim.
| Data category | Where it is stored | Value to the attacker |
|---|---|---|
| Saved passwords | Browser login databases | Direct account login |
| Session cookies and tokens | Browser cookie stores | Access without password or MFA |
| Cryptocurrency wallets | Wallet files and browser extensions | Immediate theft of funds |
| Payment cards and autofill | Browser form data | Card fraud and identity theft |
| Application credentials | VPN, FTP, chat and gaming clients | Corporate access and resale |
| System fingerprint | OS, hardware, IP and locale queries | Victim profiling and antifraud evasion |
Stolen session cookies are the most dangerous item in modern logs. Because a valid cookie represents an already authenticated session, an attacker who imports it into a browser can often bypass multi-factor authentication entirely, a technique known as session hijacking or pass-the-cookie.
Delivery methods and the criminal supply chain
Infostealers reach victims mainly through social engineering and poisoned downloads, not through exploitation of software vulnerabilities. Operators favor channels where the victim willingly runs the file, because that avoids the cost of an exploit and many security prompts.
| Channel | How the lure works | Typical victim |
|---|---|---|
| Cracked software | Pirated tools bundle the payload | Home users and freelancers |
| Malvertising | Paid search ads mimic real download pages | Users searching for utilities |
| Fake updates | Compromised sites prompt a browser update | General web visitors |
| Phishing attachments | Invoices or archives carry a loader | Corporate employees |
| Fake verification pages | Victim is told to paste a command | Users of compromised websites |
Behind the delivery sits a specialized underground economy. Developers rent the stealer and its panel for a monthly fee, distributors known as traffers spread it, and the resulting logs are sold individually or in bulk on log marketplaces and private channels. Buyers include initial access brokers, who filter logs for corporate VPN or single sign-on credentials and resell that access to ransomware groups.
Well-known families have included RedLine, Raccoon, Vidar and Lumma. Law enforcement has disrupted several of them and seized marketplaces, but new or rebranded families usually replace them within months, so defenders should focus on behavior rather than on any single name.
Infostealers compared with related malware
Infostealers overlap with several neighboring categories, and the differences matter for detection and response. The decisive traits are speed, the focus on stored secrets, and the commercial resale of output.
| Threat type | Main goal | Typical duration on host | Key difference |
|---|---|---|---|
| Infostealer | Bulk theft of stored secrets | Seconds to minutes | Output sold as logs |
| Spyware | Ongoing surveillance of a person | Weeks to months | Persistent monitoring |
| Keylogger | Recording typed input | Persistent | Captures only new keystrokes |
| Banking trojan | Manipulating online banking sessions | Persistent | Injects into live sessions |
| Ransomware | Encryption and extortion | Hours to days | Often follows stealer access |
Many modern families blur these lines: some stealers can download a second-stage payload, and some remote access trojans include stealer modules. Classifying by primary purpose keeps incident reports consistent.
Detecting and responding to infostealer infections
Effective defense against infostealers combines endpoint detection, identity hardening and fast credential revocation. Because the theft is complete within minutes, response speed after the fact often matters more than catching the binary itself.
- Endpoint detection and response tools flag unusual processes reading browser credential databases or wallet files.
- Phishing-resistant MFA such as FIDO2 passkeys removes the value of stolen passwords, although not of stolen cookies.
- Short session lifetimes and device-bound tokens limit how long a stolen cookie remains usable.
- Enterprise password managers reduce reliance on browser storage, and policy can block browser password saving on managed devices.
- Threat intelligence monitoring of log markets reveals exposed employee credentials before attackers use them.
Once an infection is confirmed, cleaning the device is not enough. The responder must assume that every stored secret is compromised: revoke all active sessions, reset passwords from a clean device, rotate API keys and VPN credentials, and review sign-in logs for access from unfamiliar locations. A frequent mistake is resetting passwords while leaving existing session tokens valid, which leaves the attacker logged in.
A plain-language summary
An infostealer is a digital pickpocket. When someone runs it, usually by mistake after downloading a fake program, it quickly empties the pockets of the computer: saved passwords, the login cookies that keep websites signed in, and digital wallets.
It sends everything to criminals, who sell it to others. Because the cookies act like a ticket that is already stamped, a buyer can sometimes enter an account without knowing the password or the extra security code. The safest habit is to download software only from official sources and, after any infection, sign out of every account everywhere and change passwords from a clean device.
An example from practice
An engineer at a mid-sized software company searches for a free video converter on a personal laptop that is also signed in to the corporate single sign-on portal. A sponsored search result leads to a convincing copy of the real download page, and the installer carries an infostealer that runs for under one minute.
Two days later, the security team receives an alert from its log-market monitoring service: credentials and active session cookies for the company domain are listed for sale. Sign-in logs show that one cookie was already used from a foreign hosting provider to open the code repository.
The team revokes every session for the account, rotates the engineer’s password and repository tokens, and checks recent commits for tampering. No malicious code is found. The company then enforces device-bound sessions and a ban on personal devices for administrative access, which closes the gap that made the stolen cookie usable.