Documented Incident · AML.CS0044 · Critical severity
LAMEHUG: Malware Leveraging Dynamic AI-Generated Commands
Reported by CERT-UA (advisory #16039, June 2025; AIID Incident 1220) and linked to UAC-0001 / APT28 phishing campaigns targeting Ukrainian defense entities, LAMEHUG is a real-world malware family that queried an external hosted LLM API at runtime to dynamically synthesize Windows system-discovery and document-theft commands. Generating commands on the fly reduced static signature predictability while automating local data collection and exfiltration.
Incident dossier metadata
- Case ID
AML.CS0044- Classification
- Incident
- Date
- Severity
- Critical
- Sector
- Government & Defense (Ukraine)
- Attack vector
- Runtime LLM-Generated Reconnaissance & Exfiltration Commands
- System type
- APT28 / UAC-0001 malware integrating hosted LLM API (LAMEHUG)
- CVE / reference
CERT-UA#16039 / AIID-1220- Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.CS0044%3A
Defensive takeaway
Focus endpoint detection on anomalous child-process execution (cmd/PowerShell/systeminfo spawning from untrusted binaries) and unauthorized outbound API calls to public inference providers rather than static command strings.
Mapped AI security techniques
- User Execution AML.T0011
- Valid Accounts AML.T0012
- Exfiltration via Cyber Means AML.T0025
- Data from Local System AML.T0037
- Phishing AML.T0052
- Impersonation AML.T0073
- Masquerading AML.T0074
- Generate Malicious Commands AML.T0102
Source citation records
- MITRE ATLAS: LAMEHUG: Malware Leveraging Dynamic AI-Generated Commands · MITRE ·
- LameHug malware uses AI LLM to craft Windows data-theft commands in real-time · Cited by MITRE ATLAS; publisher not independently verified
- UAC-0001 cyberattacks on the security and defense sector using the LAMEHUG software tool, which uses LLM (large language model) (CERT-UA#16039) · Cited by MITRE ATLAS; publisher not independently verified
- AIID - Incident 1220: LAMEHUG Malware Reportedly Integrates Large Language Model for Real-Time Command Generation in a Purported APT28-Linked Cyberattack · Cited by MITRE ATLAS; publisher not independently verified
- LAMEHUG: APT28's First AI-Powered Malware Explained | Guardsix · Cited by MITRE ATLAS; publisher not independently verified