Infostealers Target Cloud, Code, and AI Credentials to Enable Account Takeover

· Original article ↗

Summary

Wiz analyzes how infostealers harvest credentials, session tokens, and API keys from developer devices, potentially enabling access to cloud platforms, code repositories, and AI services.

Key points

  • Wiz says Lumma C2, RedLine, and Vidar account for 85.7% of detected infostealer incidents in its analysis; it also found more than 400 types of non-credential secrets being harvested.
  • AWS and GCP credentials made up 46% and 13% of compromised secrets, respectively; GitHub secrets accounted for roughly 10%, and AI-platform secrets for 5%.
  • Infostealers target browser session cookies and tokens, which can let attackers reuse authenticated sessions and bypass MFA prompts.
  • The article details targets including AWS and Azure CLI caches, GCP token databases and service-account keys, and GitHub and GitLab tokens, credentials, and runner configurations.
  • AI-related targets include OpenAI session cookies and API keys, plus Claude Code tokens and configuration; the article notes that historical ChatGPT chat-log access is a potential risk but says it is not aware of public cases.
  • The article also describes CI/CD supply-chain attacks that inject malicious code through compromised software dependencies to steal cloud credentials, CI tokens, and deployment artifacts.

Article Details

Attack Vectors
  • Infostealers delivered through social engineering and phishing links infect developers’ personal devices and steal credentials, API keys, browser cookies, and active session tokens.
  • Stolen session cookies and tokens are replayed in an attacker-controlled browser to access cloud and developer accounts while bypassing MFA.
  • Infostealers harvest credentials and tokens from local configuration files, browser caches, credential stores, environment variables, and cloud CLI authentication caches.
  • Some malware injects code into browser processes or attaches a debugger to read session cookies from memory.
  • A software dependency’s latest version can be hijacked to inject malicious code into CI/CD pipelines, development servers, and build processes.
  • Stolen credentials and access tokens can be used to access cloud environments, code repositories, CI/CD secrets, deployment pipelines, and AI services.
Defensive Notes
  • Wiz scans cloud environments, code repositories, and developer workstations for malware and exposed secrets, and can alert organizations when their secrets appear on the dark web.
  • The article identifies use of an operating-system keychain, including through Granted, as a more secure alternative to storing temporary AWS tokens in plaintext credential files.

MITRE ATT&CK

CVE

Threat Actors

Malware

Amadeyin self-hosted GitLab instances (such as CVE-2023-7028) to distribute infostealers like StealC via the Amadey loader. Once deployed, these stealers harvest browser credentials and cookies, which frequently includeGhost LoaderSSH keys also remain a persistent target. Infostealers like Ghost Loader specifically extract ~/.ssh/id_rsa to gain long-term GitHub access. For session hijacking, attackers target browser cookies includingLummathreat actors. It begins with Malware-as-a-Service (MaaS) platforms, where potent infostealers like Lumma and RedLine are rented for as little as a few hundred dollars a month. These tools are designed for oneLummaC2reveals a concentrated threat landscape dominated by a small number of prolific infostealer families: Lumma C2, RedLine, and Vidar, account for 85.7% of all detected incidents, underscoring the commoditization ofMiasmaMore recently infostealer-like malware such as Miasma has targeted CI/CD pipelines, development servers and build processes. In these cases,  phishing isn’t an applicable initial access vector; instead, attackers targetRedLineactors. It begins with Malware-as-a-Service (MaaS) platforms, where potent infostealers like Lumma and RedLine are rented for as little as a few hundred dollars a month. These tools are designed for one purpose:StealCvulnerabilities in self-hosted GitLab instances (such as CVE-2023-7028) to distribute infostealers like StealC via the Amadey loader. Once deployed, these stealers harvest browser credentials and cookies, whichVidarthreat landscape dominated by a small number of prolific infostealer families: Lumma C2, RedLine, and Vidar, account for 85.7% of all detected incidents, underscoring the commoditization of the infostealer

Vendors

Products

Tools

Related Articles