Emergence of LLM-Enabled Malware and Defensive Innovations
Emerging Technology Risk · 2 sources · Updated 5mo ago · First seen Nov 5, 2025

Security researchers have identified a new wave of threats where adversaries embed Large Language Model (LLM) capabilities directly into malware, enabling malicious code to be generated at runtime and evading traditional detection methods. SentinelLABS highlighted real-world cases such as PromptLock ransomware and APT28’s LameHug/PROMPTSTEAL campaigns, noting that while these threats are adaptive, they often hardcode artifacts like API keys and prompts, which can be leveraged for detection. Novel hunting strategies, including YARA rules for API key structures and prompt detection, have uncovered thousands of LLM-enabled malware samples, including previously unknown threats like MalTerminal.
In parallel, security vendors are leveraging LLMs defensively, as seen in NodeZero’s Advanced Data Pilfering (ADP) feature, which uses LLMs to identify hidden credentials and assess the business risk of compromised data. By applying semantic analysis to unstructured data, defenders can better understand what attackers might target and how to prioritize response. These developments underscore both the offensive and defensive potential of LLMs in cybersecurity, with attackers and defenders racing to exploit the technology’s unique capabilities.
Why it matters
Impact assessment
LLM-enabled malware increases risk for organizations that rely on static signatures and conventional malware analysis because malicious functionality can be generated at runtime. The exposure is broad rather than sector-specific: any enterprise that executes untrusted binaries, analyzes malware, or depends on endpoint detection for code-pattern matching may be affected.
Operational impact is potentially significant because these techniques can reduce detection efficacy, extend dwell time, and support credential theft, ransomware, or data exfiltration workflows. The story cites real-world activity including PromptLock ransomware and APT28-linked LameHug/PROMPTSTEAL campaigns, indicating that exploitation is not theoretical.
Supporting details
- Affected populations:
- Enterprise defenders monitoring endpoints and malware sandboxes
- Organizations exposed to ransomware, espionage, or credential theft malware
- Security teams relying heavily on static signatures or known-malware pattern matching
- Severity drivers:
- Runtime code generation can evade traditional signatures
- Embedded LLM logic can adapt payload behavior during execution
- Hardcoded prompts and API keys may expose attacker tradecraft but also indicate operational maturity
- Scope:
- Research identified more than 7,000 suspected samples in a year-long VirusTotal retrohunt
- More than 6,000 unique API keys were observed, suggesting broad experimentation and multiple operators or builds
- Known in-the-wild activity:
- PromptLock ransomware
- APT28 LameHug/PROMPTSTEAL campaigns

