Skip to main content
Mallory
Back to intelligence
ai-enabled-threat-activitydefense-evasion-methodstate-sponsored-espionagedata-exfiltration-method

Malware Leveraging AI for Adaptive Code Generation and Evasion

Updated 2mo agoFirst seen Nov 5, 20258 sources

Malware developers are actively experimenting with artificial intelligence, specifically large language models (LLMs), to create adaptive malware capable of rewriting its own code during execution. Google Threat Intelligence Group has identified malware families such as PromptFlux and PromptSteal that utilize LLMs to dynamically generate, modify, and execute scripts, allowing these threats to evade traditional detection methods. PromptFlux uses Gemini's API to regularly mutate its VBScript payloads, issuing prompts like "Act as an expert VBScript obfuscator" to the model, resulting in self-modifying malware that continually alters its digital fingerprints. PromptSteal, meanwhile, masquerades as an image generator but leverages a hosted LLM to generate and execute one-line Windows commands for data theft and exfiltration, effectively functioning as a live command engine.

These AI-driven malware samples are still considered experimental, with limited reliability and persistence compared to traditional threats, but they represent a significant evolution in attack techniques. Notably, PromptSteal was reportedly used by Russia-linked APT28 (also known as BlueDelta, Fancy Bear, and FROZENLAKE) against Ukrainian targets, marking the first observed use of LLMs in live malware operations. The emergence of purpose-built AI tools for cybercrime is lowering the barrier for less sophisticated actors, and researchers warn that the integration of AI into malware development could soon lead to more autonomous, adaptive, and harder-to-detect threats. Google has taken steps to disrupt these operations, but the trend signals a shift toward more unpredictable and rapidly evolving attack patterns.

Share:
Malware Leveraging AI for Adaptive Code Generation and Evasion
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

4 events from the most recent confirmed update back to the earliest known activity.

4 EVENTS
Nov 5, 20257mo ago

Google reports broader attacker experimentation with AI guardrail bypasses and services

Google's 2025-11-05 report also said attackers were testing deceptive prompts to evade model safety controls, while underground markets were beginning to commercialize AI modules for phishing, deepfakes, and malware creation. The report further noted early state-aligned experimentation with AI across multiple regions.

Google assesses current AI malware as experimental and low impact

In the same 2025-11-05 research, Google concluded that the observed AI-enabled malware was largely unfinished, easy to detect, and offered mostly productivity gains rather than breakthrough offensive capability. The company said the samples reused known techniques and did not require new defensive measures.

Google documents multiple AI-assisted malware families in the wild

On 2025-11-05, Google Threat Intelligence Group published research describing several malware samples that use large language models or AI tooling during execution, including PromptFlux, PromptSteal, QuietVault, FruitShell, and PromptLock. Google said the samples used AI for code generation, obfuscation, command generation, credential theft, and runtime behavior changes.

ESET identifies PromptLock as AI-powered ransomware proof of concept

Before Google's November 2025 report, ESET had previously discovered PromptLock and described it as the first AI-powered ransomware. Later analysis indicated it was tied to academic research and lacked key operational capabilities such as persistence, lateral movement, and advanced evasion.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

21 LINKEDOpen in app
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.

Malware Leveraging AI for Adaptive Code Generation and Evasion | Mallory