MITRE ATLAS 2026.09 / technique reference
AML.T0102
Generate Malicious Commands
← Back to the ATLAS matrix · Pinned MITRE source · Current MITRE ATLAS site
MITRE source definition
Adversaries may use large language models (LLMs) to dynamically generate malicious commands from natural language. Dynamically generated commands may be harder to detect as the attack signature is constantly changing. AI-generated commands may also allow adversaries to more rapidly adapt to different environments and adjust their tactics.
Adversaries may utilize LLMs present in the victim's environment or call out to externally hosted services. APT28 utilized a model hosted on HuggingFace in a campaign with their LAMEHUG malware [[logpoint]]. In either case prompts to generate malicious code can blend in with normal traffic.
Source modified 2026-05-27. Reproduced from the pinned ATLAS release; inline technique links resolve to local reference pages.
Parent, sub-techniques and ATT&CK references
No explicit relationship in this pinned source.
Source-backed defensive context
MITRE mitigations
MITRE case studies
- AML.CS0044 LAMEHUG: Malware Leveraging Dynamic AI-Generated Commands · Incident
- AML.CS0068 Autonomous OpenAI Evaluation Agents Compromise Hugging Face Infrastructure · Incident
- AML.CS0070 Threat Actor Uses a DeepSeek-Powered Hermes Agent in Langflow and n8n Exploitation Attempts · Incident
These are explicit source relationships, not independently reproduced incidents or validated detection coverage. The local relationship indexes link back to the pinned MITRE source.
Detection and collection design
No executable detector is supplied by this ATLAS source import. Define detection against the specific behavior in the full definition above. MITRE case-study and mitigation relationships supply context, not tested rule coverage.
No explicit AI Telemetry Logging mitigation relationship was found for this technique. Do not manufacture a sensor mapping from its tactic.
Depending on the selected scenario, the experiment may need dataset/model versions, data-access and build audit records, inference or application traces, or agent tool authorization records. These are planning options, not asserted mappings. Minimize sensitive prompt/data capture and retain provenance.
Anomaly detection design
No exact ATLAS anomaly detector is validated here. Select a measurable feature from the behavior definition; compare like-for-like model versions, workloads and identities. Changes caused by model upgrades, retrieval corpora or legitimate workload shifts must be controls, not automatically labelled attacks.
Tools and reproducible source scenarios
No lab-tool association is invented from the technique name. Inspect the exact source scenarios below for the tools and environment actually used; a case study is not itself an executable or safe lab.
Simulation experiment plan
Select an owned, disposable system implementing AML.T0102 Generate Malicious Commands. Use synthetic data and sandboxed tools; disable production credentials, external side effects and data exfiltration. For poisoning or supply-chain tests, use throwaway artifacts rather than real training or deployment pipelines.
- State the exact trust boundary and expected observable behavior.
- Pin model, application, dataset, tool permissions and evaluation inputs.
- Capture baseline and scenario traces, an authorized look-alike, and a missing-telemetry control.
- Evaluate the detector against independently labelled results; do not substitute model output claims for observed tool actions.
- Restore state and preserve redacted evidence.
Experiment worksheet — not fabricated telemetry
The export below is a planning record, not a native event, positive attack fixture or execution result. Unknown fields deliberately remain null.
{
"schema": "1200km.atlas.experiment-plan.v1",
"technique_id": "AML.T0102",
"simulation": false,
"target": "REQUIRES_OWNED_LAB",
"source_scenario": [
"AML.CS0044",
"AML.CS0068",
"AML.CS0070"
],
"input_artifact_hash": null,
"system_version": null,
"expected_observable": null,
"native_telemetry_location": null,
"baseline_reference": null,
"result": "not_run"
}Simulation and telemetry boundary
This is a technique reference page, not a runnable simulation. No ATLAS-specific telemetry mapping, local attack execution or detector validation is asserted. MITRE maturity describes its source evidence, not a 1200km lab result.
For broader context—not technique-specific control mappings—see AI Security, AI Security Course, and detection-validation methodology.
Provenance and attribution
Immutable MITRE ATLAS source · Import provenance · Attribution and transformation notice · Apache License 2.0
Copyright 2021-2026 MITRE. Source text and explicit relationships are retained; navigation, formatting and local links are provided by 1200km.