AI Threat Watch

Case lamehug-apt28State actor AI opsUkraine

LameHug: APT28-linked malware queries Qwen LLM to generate commands

Archive · reported more than 12 months ago

CERT-UA reported phishing that delivered LameHug, a Python stealer using Qwen 2.5-Coder via Hugging Face's API to craft recon and theft commands, attributed to APT28 with moderate confidence.

HighAttack using AIStatus: ContainedVerified case file

Open in the interactive mapCite this case

Reported
Jul 17, 2025
Location
Ukraine
Target
Ukrainian government bodies
Severity
High
Verification
Confirmed by victim, vendor or authority
Triggered by
APT28 (Russian GRU-linked, aka Fancy Bear / UAC-0001)
Actor type
State-sponsored
Sector
Government & public sector
Reported loss
None reported
CVE
None

What happened

CERT-UA reported phishing that delivered LameHug, a Python stealer using Qwen 2.5-Coder via Hugging Face's API to craft recon and theft commands, attributed to APT28 with moderate confidence.

Impact: Targeted Ukrainian government bodies; malware collected system information and Office, PDF and TXT documents for exfiltration via SFTP or HTTP POST; number of victims not disclosed

Who triggered it

Actor: APT28 (Russian GRU-linked, aka Fancy Bear / UAC-0001)

Attribution: Attributed by CERT-UA with moderate (medium) confidence

Motive: Espionage against Ukrainian security and defence sector

How it happened

Attack vector: Phishing from compromised accounts impersonating ministry officials with a ZIP holding a PyInstaller .pif executable that queries Qwen2.5-Coder-32B via the Hugging Face API for commands

Root cause: Email account compromise enabling convincing lures; LLM API calls to a legitimate service blend malicious command generation into normal traffic

Timeline

  1. CERT-UA receives reports of phishing emails targeting executive government bodies
  2. CERT-UA publishes LameHug analysis and APT28 attribution
  3. Cato Networks estimates roughly 270 Hugging Face tokens were used by the operators

Response

CERT-UA issued an advisory with IOCs; Hugging Face reportedly notified; defenders urged to block the delivery infrastructure

Current status: Contained

Research warnings this case matches

Compared with published AI risk research from several institutes on the Research vs reality page.

Sources (open in a new tab)

Cite this case

LameHug: APT28-linked malware queries Qwen LLM to generate commands. AI Threat Watch, case lamehug-apt28, Jul 17, 2025. https://aithreat.io/cases/lamehug-apt28/

Permanent link: https://aithreat.io/cases/lamehug-apt28/

Related cases

The same type of incident, most recent first.

This case file in other languages: EnglishFrançaisEspañolالعربية中文Русский