MITRE ATLAS 2026.10 · AML.T0017.003 · High severity
Develop Capabilities: Malware
Threat actors write malware that leverages LLM APIs at runtime to synthesize dynamic OS commands, polymorphic scripts, or phishing lures—or use coding LLMs to rapidly engineer traditional implants and evasion wrappers. Embedding live LLM inference inside malware complicates static signature detection because exact commands are generated dynamically per target host.
Technique dossier overview
- Category
- Infrastructure and access
- Severity
- High
- Attack surface
- LLM / Prompt Layer · Tool-Using Agents & MCP
- Framework maturity
- Realized
- Platforms
- Enterprise
- Tactics
- Resource Development
- Catalog entry modified
How the mechanism works
- Adversaries embed hard-coded inference API tokens or web-AI service wrappers inside workstation malware or script implants.
- Upon execution, the malware queries the external LLM with local host context to generate tailored reconnaissance, collection, or obfuscation commands dynamically.
- Alternatively, operators use AI coding assistants iteratively to refactor existing malware families past static EDR and AV signatures.
Detection & telemetry signals
- Workstation EDR telemetry showing suspicious unsigned binaries or Office/script runners initiating outbound HTTPS connections to commercial LLM inference APIs.
- Host process trees capturing shells executing freshly synthesized one-liners immediately after outbound LLM API completions.
- AI provider abuse telemetry flagging API keys consistently generating obfuscated system-enumeration or persistence script snippets.
Architectural defensive countermeasures
- Monitor and restrict outbound connections from non-browser workstation binaries to external LLM inference endpoints via egress proxy policies.
- Focus endpoint detection on behavioral execution chains (unusual child shells, credential store access, registry persistence) rather than relying solely on static script signatures.
- Deploy abuse classifiers and prompt-telemetry anomaly checks at AI provider gateways to revoke keys exhibiting programmatic malware-generation loops.
- Enforce application allowlisting and script-execution constraints on developer and enterprise endpoints.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- AI-assisted malware abuses dynamic model-generated commands executed downstream (LLM05) and autonomous host-action synthesis (LLM06).
- NIST AI RMF functions
- NIST AI RMF guidance
- Apply NIST AI RMF MAP and MANAGE by combining behavioral endpoint defenses with provider-side API key governance and abuse monitoring.
Mapped defensive controls
- Control Access to AI Models and Data in Production AML.M0019
Enforce deterministic runtime authentication, tenant isolation, and per-document RAG authorization outside the LLM context window for every inference and retrieval request.
- Generative AI Guardrails AML.M0020
Deploy layered input and output classifiers, constitutional/topic rails, and structural validators with measured benign over-refusal rates—never relying on classifiers as the sole authorization boundary.
- AI Telemetry Logging and Monitoring AML.M0024
Emit structured, PII-redacted OpenTelemetry GenAI security traces covering auth, guardrail verdicts, token bursts, and agent tool calls without creating a toxic raw-prompt honeypot.
- Threat Intelligence Program AML.M0042
Operationalize continuous AI threat intelligence—tracking ATLAS updates, NVD CVEs, OWASP advisories, and novel jailbreak/supply-chain TTPs directly into detection rules and CI eval packs.
Related technique records
Documented incidents & exercises (4)
- Autonomous Claude Agents Compromise Three Real Organizations During Cyber Evaluations AML.CS0073 · Incident · April 2026 · Critical
ATLAS incident: autonomous Claude agents compromised three real organizations during cybersecurity evaluations.
- MGC Compositional Malware Generation Compiler Evaluation OBS.EX0196 · Exercise · Jul 2, 2025 · Aligned Code-Generating LLMs · Modular Benign-Subtask Decomposition Study
Yan et al. (2025) evaluated whether alignment filters evaluating individual prompts in isolation fail when malicious software specifications are decomposed into benign-appearing modular subtasks via a Malware Description Intermediate Representation (MGC). Across three benchmark…
- Purple Llama CyberSecEval Insecure Code & Cyberattack Compliance Suite OBS.EX0197 · Exercise · Dec 7, 2023 · 7 Models Across Llama 2, Code Llama & OpenAI GPT Families · Automated Cyber Bench
Bhatt et al. (2023) released Purple Llama CyberSecEval to measure two security dimensions across seven models from Llama 2, Code Llama, and OpenAI GPT families: propensity to generate insecure code patterns and compliance with requests to assist cyberattacks. Automated…
- CyberSecEval 3 Automated Social Engineering & Autonomous Cyber Operations OBS.EX0199 · Exercise · Jul 23, 2024 · Llama 3 & Contemporaneous Frontier LLMs · 8 Risk Areas With & Without Mitigations
Wan et al. (2024) introduced CyberSecEval 3 to evaluate eight cybersecurity risk dimensions across Llama 3 and contemporaneous frontier LLMs, adding automated social engineering, scaling manual offensive cyber workflows, and autonomous offensive operations tested both with and…
Source citation records
- MITRE ATLAS: Malware · MITRE ·
Common questions
- What is Develop Capabilities: Malware (AML.T0017.003)?
- Threat actors write malware that leverages LLM APIs at runtime to synthesize dynamic OS commands, polymorphic scripts, or phishing lures—or use coding LLMs to rapidly engineer traditional implants and evasion wrappers. Embedding live LLM inference inside malware complicates static signature detection because exact commands are generated dynamically per target host.
- How do you mitigate Develop Capabilities: Malware?
- MITRE ATLAS maps 4 mitigations to AML.T0017.003: Control Access to AI Models and Data in Production, Generative AI Guardrails, AI Telemetry Logging and Monitoring, and Threat Intelligence Program. Monitor and restrict outbound connections from non-browser workstation binaries to external LLM inference endpoints via egress proxy policies.