How does infostealer malware steal your accounts?

The short answer

An infostealer is a program on your computer that copies your saved passwords and logged-in sessions, then sends them to criminals, so they don't need to crack your login.

Animated diagram: How does infostealer malware steal your accounts?

Infostealer malware

An infostealer is a program on your computer that copies your saved passwords and logged-in sessions, then sends them to criminals. One documented way in is a fake human check on a web page, a trick known as ClickFix. Clicking the check copies a command to your clipboard. The page then tells you to press Windows and R, paste, and hit Enter.

One prize is the session cookie, the proof you’ve already logged in. Older Chrome on Windows locked cookies with a built-in Windows lock called DPAPI (Data Protection Application Programming Interface), so any program running as you could unlock them. App-Bound Encryption is the newer defense. Chrome 127 added it for cookies in July 2024.

What an infostealer actually does

The pasted command launches PowerShell, Windows’ command tool, with code hidden in Base64 text. On this route, Windows keeps a trace in RunMRU, its Run history, and Microsoft Defender can flag it with the alert Suspicious command in RunMRU registry. Not every ClickFix attack leaves a RunMRU entry, so that trace belongs only to this Run window route.

What happens next depends on the stealer. Lumma, also known as LummaC2, is the documented example. It sends a POST request to its server to ask what to take, and the reply decodes to a shopping list in JSON (JavaScript Object Notation). That behavior is documented for Lumma, not for all stealers. Microsoft lists saved passwords, session cookies and autofill data among what it takes. The haul is sold as a log, and each log holds one person’s passwords, cookies and computer details.

How App-Bound Encryption protects cookies

  1. Older Chrome relied on DPAPI. Cookies were locked with the built-in Windows lock. Any malicious software running as you could unlock them.
  2. Chrome 127 added protection. In July 2024, Chrome added App-Bound Encryption for cookies. Cookies protected this way carry a v20 prefix.
  3. A SYSTEM service checks. A Windows service running as SYSTEM verifies that the request comes from Chrome. Running as you is no longer enough on its own.
  4. Stealers adapted to it. Elastic documented three bypass routes. One of them reads the process memory of Chrome’s network service.

The result is a harder target, not an end to cookie theft. App-Bound Encryption is a protection for cookies, and it does not protect all browser data.

Two-factor is not a guarantee

Many people assume two-factor settles the problem. It doesn’t. A session cookie is the proof you’ve already logged in, so a stolen cookie can bypass some two-factor setups. Infostealers also aren’t password crackers. They don’t crack logins. They copy what your computer already holds.

Two-factor still matters. In 2024, logins stolen mainly by infostealers opened Snowflake customer accounts that had no two-factor. Approximately 165 potentially exposed organizations were notified, and the earliest infection dated back to November 2020. There was no evidence of a breach of Snowflake’s own enterprise environment.

What to do

  • If a website tells you to paste something into Run or Terminal, close the tab. This rule doesn’t cover every way an infostealer can arrive, but it does cover this one.
  • Treat any human check that asks you to press Windows and R as fake.
  • Turn on two-factor wherever an account offers it, because the Snowflake customer accounts that were opened had none.
  • If your organization uses Microsoft Defender, look into any Suspicious command in RunMRU registry alert, and don’t treat a missing RunMRU entry as proof that nothing happened.

#infostealer#lummastealer#clickfix#sessioncookies#malware#browsersecurity#cybersecurity#infosec#onlinesafety

Watch it in 60 seconds