Adversaries Leverage Gemini AI for Self-Modifying Malware and Data Processing Agents
Google's Threat Intelligence Group (GTIG) has identified a significant evolution in cybercriminal and nation-state tactics, with adversaries now leveraging Gemini AI to develop advanced malware and data processing agents. Notably, groups such as APT42 have experimented with Gemini to create a 'Thinking Robot' malware module capable of rewriting its own code during execution to evade detection, as well as AI agents that process and analyze sensitive personal data for surveillance and intelligence gathering. These developments mark a shift from previous uses of AI for productivity, such as phishing and translation, to direct integration of AI into malware operations.
The experimental PromptFlux malware dropper exemplifies this trend, utilizing Gemini to dynamically generate obfuscated VBScript variants and periodically update its code to bypass antivirus defenses. PromptFlux attempts persistence via Startup folder entries and spreads through removable drives and network shares, while its 'Thinking Robot' module queries Gemini for new evasion techniques. Although PromptFlux is still in early development and not yet capable of causing significant harm, Google has proactively disabled its access to the Gemini API. Other AI-powered malware, such as FruitShell, have also been observed, indicating a broader move toward AI-driven, self-modifying threats in the wild.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
6 events from the most recent confirmed update back to the earliest known activity.
Google warns of growing underground market for AI-powered cybercrime tools
GTIG reported increasing interest on English- and Russian-language underground forums in AI-enabled tools and services for malware creation, phishing, reconnaissance, deepfakes, and exploitation support. Google assessed that these offerings are lowering the barrier to entry and will likely increase the scale and complexity of attacks.
Google disrupts identified Gemini abuse and hardens safeguards
Google said it disabled accounts associated with the observed abuse, blocked PromptFlux's Gemini API access, deleted related assets, and strengthened Gemini protections based on the bypass techniques it observed. Some reporting also said Google shared intelligence with law enforcement.
Google links PromptSteal deployment to APT28 activity in Ukraine
GTIG said the PromptSteal malware family, also referred to as LameHug in some reporting, was deployed by Russia-linked APT28 in Ukraine. The malware queried an LLM in real time to generate Windows system-harvesting commands for data collection.
Google details PromptFlux self-modifying malware using Gemini API
Google disclosed PROMPTFLUX, an experimental VBScript dropper that uses the Gemini API and a 'Thinking Robot' component to request obfuscation and evasion code and rewrite itself over time. GTIG assessed the malware as still under development/testing, with persistence and propagation features but no confirmed built-in initial compromise mechanism.
Google identifies AI-enabled malware families used in experiments and live operations
GTIG reported multiple malware families embedding or querying LLMs during execution, including PromptFlux, PromptSteal/LameHug, FruitShell, QuietVault, and PromptLock. Google described this as a shift from proof-of-concept use of AI to malware that can dynamically generate commands, obfuscate code, steal data, or support reverse shells in real-world activity.
Google observes threat actors abusing Gemini across cyber operations
Google Threat Intelligence Group documented that state-linked and criminal actors from countries including China, Iran, North Korea, and Russia were using Gemini and other LLMs for phishing, reconnaissance, vulnerability research, malware development, obfuscation, and data analysis. The activity also included attempts to bypass model safeguards through social-engineering pretexts such as posing as students or CTF participants.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
8 references tracked. Mallory keeps watching after this page renders.
Next-Gen Threat: Google Exposes AI-Enabled Malware That Rewrites Its Own Code with Gemini LLM
securityonline.info
Open sourceKI-Malware ist keine Theorie mehr
csoonline.com
Open sourcePromptFlux: The Emerging Malware That Outsmarts Antivirus Using AI
thecyberthrone.in
Open sourceGoogle sounds alarm on self-modifying AI malware
securityaffairs.com
Open sourceAttackers abuse Gemini AI to develop ‘Thinking Robot’ malware and data processing agent for spying purposes
go.theregister.com
Open sourceGoogle warns of new AI-powered malware families deployed in the wild
bleepingcomputer.com
Open sourceGoogle uncovers malware using LLMs to operate and evade detection
helpnetsecurity.com
Open sourceGoogle Uncovers PROMPTFLUX Malware That Uses Gemini AI to Rewrite Its Code Hourly
thehackernews.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


