Skip to main content
Mallory
← Back to News
ai-enabled-threat-activitycommand-and-control-methodremote-access-implantdata-exfiltration-method

Malware Leveraging Large Language Models for Dynamic Capabilities

Emerging Technology Risk · 2 sources · Updated 5mo ago · First seen Nov 19, 2025

Malware Leveraging Large Language Models for Dynamic Capabilities

Security researchers have identified a new trend in which threat actors are embedding large language models (LLMs) directly into malware to enhance its capabilities and evade detection. Akamai Hunt discovered a novel malware strain that disguises its command and control (C2) traffic as legitimate LLM API requests, using Base64-encoded strings to communicate and potentially allowing attackers full control over compromised systems and data exfiltration. This approach enables malicious traffic to blend in with normal AI-related network activity, making detection more challenging for defenders.

Further analysis and industry reporting highlight that malware families such as PromptFlux and PromptSteal are now querying LLMs mid-execution to dynamically alter their behavior, obfuscate code, and generate system commands on demand. PromptFlux, for example, uses the Gemini API to regularly re-obfuscate its source code, while PromptSteal leverages the Hugging Face API for real-time reconnaissance and exfiltration commands. These developments underscore the need for organizations to adapt their security controls and detection strategies to address the evolving threat landscape where AI and LLMs are weaponized by attackers.

Why it matters

Impact assessment

Threat actors embedding LLM functionality into malware increases risk for enterprises that allow outbound access to AI platforms or already generate legitimate AI-related network traffic. Affected populations include organizations using developer tooling, cloud workloads, endpoints, and SaaS environments where traffic to Gemini, Hugging Face, or similar APIs may appear normal and evade coarse network controls.

The impact can be severe because this tradecraft supports stealthier command-and-control, adaptive payload behavior, reconnaissance, and data exfiltration from compromised systems. The scope is currently best assessed as emerging and targeted rather than indiscriminate, but the technique is broadly reusable across malware families and could scale quickly; the reporting describes active malware development patterns and researcher-observed samples, though it does not provide broad incident counts or confirmed mass exploitation statistics.

Supporting facts

  • Entity: Akamai Hunt identified a malware strain that disguises C2 traffic as legitimate LLM API requests.
  • Entity: Malware families named in reporting include PromptFlux and PromptSteal.
  • Impacted environments: Enterprise endpoints, servers, cloud workloads, and networks where outbound AI API traffic is permitted or common.
  • Potential consequences: Full attacker control of compromised systems, stealthier persistence of C2, and data exfiltration.
  • Exposure characteristic: Malicious traffic can blend with legitimate AI-related traffic, reducing effectiveness of simple domain- or category-based allowlisting.
  • Known in-the-wild activity: Research reporting indicates observed malware behavior and industry analysis of active techniques, but no victim count, sector concentration, or campaign scale is provided in the story.
New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

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

1 event · Nov 18, 2025
  1. Nov 18, 20251y ago

    Akamai reports a new malware strain integrating LLM chat completions

    Akamai published research describing a new malware strain that directly uses LLM chat-completions functionality, framing it as a notable evolution in attacker tradecraft and 'shadow AI' abuse. A same-day secondary reference also discussed attackers integrating LLMs directly into malware, corroborating the development.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Observables

9 linked

Indicator values are masked on this page. View all 9 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

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, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.