Skip to main content
Mallory
MalwareUsed by 3 actors

Lamehug

LameHug, also known as PROMPTSTEAL, is a Windows-focused AI-enabled malware family and infostealer first identified by CERT-UA in July 2025. It has been linked with moderate confidence to UAC-0001 / APT28, a Russian military intelligence-linked threat actor, and was reported in attacks against Ukrainian targets, including the security and defense sector and other Ukrainian entities. The malware has been described by Google Threat Intelligence Group as an early real-world example of "just-in-time" AI malware.

LameHug/PROMPTSTEAL integrates a large language model directly into its execution flow. It uses the Hugging Face Inference API, specifically the Qwen 2.5-Coder-32B-Instruct model, to generate one-line Windows commands on demand during runtime rather than relying only on hard-coded command logic. Reported generated commands supported reconnaissance, system information gathering, credential harvesting, document collection, and data theft. Reconstructed command activity included use of systeminfo, wmic, whoami, dsquery, net start, tasklist, and xcopy.exe.

Observed delivery was via spear-phishing attachments. Lures included executables masquerading as AI image or canvas generator tools, with filenames such as AI_generator_uncensored_Canvas_PRO_v0.9.exe and AI_image_generator_v0.95.exe. Reporting also describes phishing ZIP archives containing decoy .pif executables disguised as PDF or image viewers, and variants that dropped a dummy PDF decoy into C:\ProgramData and executed it via cmd.exe while malicious activity ran in a separate thread.

During execution, LameHug queried Hugging Face infrastructure, including router.huggingface.co, and used returned LLM output to drive host discovery and file collection. It collected system information and saved output to C:\ProgramData\info\info.txt, and recursively copied targeted documents into C:\ProgramData\info\ for staging prior to exfiltration. One variant Base64-encoded the LLM query prompt message.

Exfiltration was reported through adversary-controlled command-and-control infrastructure using either SSH/SFTP-based transfer or HTTPS POST requests. A specifically identified HTTPS endpoint was stayathomeclasses[.]com/slpw/up[.]php.

High-confidence behavioral indicators mentioned in the content include outbound requests from python.exe or PyInstaller-packaged processes to the Hugging Face API and Qwen 2.5-Coder-32B-Instruct model, DNS queries to router.huggingface.co, WMIC-based discovery, service enumeration with net start, recursive file copy activity with xcopy.exe, and local staging under %ProgramData%\info\ or C:\ProgramData\info.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

3 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
APT28

17.07.2025 Кібератаки UAC-0001 на сектор безпеки та оборони із застосуванням програмного засобу LAMEHUG, що використовує LLM (велику мовну модель) (CERT-UA#16039)

via cert uacert.gov.ua
APT29

Known for blending cutting-edge tools such as the large language model (LLM) ‘LAMEHUG’ with proven, longstanding techniques, Forest Blizzard consistently evolves its tactics to stay ahead of defenders.

via arstechnica securityarstechnica.com
(nicht näher benannt) russisch staatlich verbundene Cyberakteure

„PROMPTSTEAL ist demnach die erste in freier Wildbahn beobachtete Malware, die LLMs abfragt… Um Befehle zu generieren, verwende dieser Data Miner die Hugging Face API…“

via cso onlinecsoonline.com
MITRE ATT&CK

Techniques & procedures

24 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1566.001Spearphishing AttachmentEvidence3

According to CERT-UA, this malware was distributed as a phishing attachment disguised as an AI canvas or image generator application.

Execution

4 techniques
T1059Command and Scripting InterpreterEvidence5
TacticExecution

LAMEHUG has used the Hugging Face API to query the Qwen2.5-Coder-32B-Instruct LLM to generate one-line Windows commands for the collection of system information and documents in specific folders on compromised hosts. LAMEHUG subsequently executed the returned commands.

T1059.003Windows Command ShellEvidence4
TacticExecution

During the 2016 Ukraine Electric Power Attack, Sandworm Team used the xp_cmdshell command in MS-SQL. During the 2025 Poland Wiper Attacks, the adversaries leveraged PsExec to run cmd.exe commands on multiple victim machines. Numerous malware families and groups are described as using cmd.exe, cmd /c, Windows command shell, or command-line interfaces to execute commands, payloads, reconnaissance, persistence, cleanup, and ransomware actions.

T1204User ExecutionEvidence1
TacticExecution

"Once opened, a decoy PDF appears while the hidden binary executes in the background"

T1574Hijack Execution FlowEvidence1

First observation of “just-in-time” AI malware, like APT28’s PROMPTSTEAL, using LLMs in live operations.

Stealth

3 techniques
T1027Obfuscated Files or InformationEvidence2
TacticStealth

Both malware strains can "dynamically generate malicious scripts, obfuscate their own code to evade detection and leverage AI models to create malicious functions on demand," according to the report.

T1036MasqueradingEvidence1
TacticStealth

"ZIP archives entitled “Додаток.pdf.zip.” Once opened, a decoy PDF appears while the hidden binary executes in the background"

T1574Hijack Execution FlowEvidence1

First observation of “just-in-time” AI malware, like APT28’s PROMPTSTEAL, using LLMs in live operations.

Discovery

6 techniques
T1007System Service DiscoveryEvidence2
TacticDiscovery

The following analytic detects the enumeration of Windows services using the net start command, which is a built-in utility that lists all running services on a system.

T1046Network Service DiscoveryEvidence1
TacticDiscovery

"gather computer, hardware, service, and network information"

T1069.002Domain GroupsEvidence1
TacticDiscovery

"data stolen: system inventories, network layouts, Active Directory hierarchies"

T1082System Information DiscoveryEvidence6
TacticDiscovery

Ember Bear gathers victim system information such as enumerating the volume of a given device; Frankenstein used Empire to gather various local system information; many malware entries state they collect system information from compromised hosts.

T1083File and Directory DiscoveryEvidence1
TacticDiscovery

The dynamically generated commands enable the malware to gather system information and identify sensitive files before transmitting them across the network to an adversary-controlled server.

T1482Domain Trust DiscoveryEvidence1
TacticDiscovery

Detection should also flag execution of AI-generated command chains invoking utilities like ... dsquery ...

Collection

4 techniques
T1005Data from Local SystemEvidence4

Among the malware families in the intro table, LameHug/PROMPTSTEAL is the cleanest example of this route in the wild: it calls HuggingFace’s Inference API for Qwen 2.5-Coder-32B-Instruct to drive reconnaissance and data theft...

T1074Data StagedEvidence3

The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.

T1119Automated CollectionEvidence1

Recursively copy documents from various targeted directories into C:\ProgramData\info, consolidating sensitive files for potential exfiltration.

T1560Archive Collected DataEvidence1

"recursively harvested Office, PDF, and text documents are staged in %PROGRAMDATA%\info"

T1071Application Layer ProtocolEvidence1

The dynamically generated commands enable the malware to gather system information and identify sensitive files before transmitting them across the network to an adversary-controlled server.

T1071.001Web ProtocolsEvidence2

The content repeatedly describes threat actors, malware, and campaigns using HTTP, HTTPS, HTTP GET/POST, cookies in headers, WebSockets/WSS, and web APIs for command and control or related communications.

T1105Ingress Tool TransferEvidence1

LAMEHUG can use SSH to transfer information to C2. ServHelper may set up a reverse SSH tunnel to give the attacker access to services running on the victim, such as RDP.

Exfiltration

4 techniques
T1041Exfiltration Over C2 ChannelEvidence5

All of the data and information collected by LAMEHUG malware is exfiltrated to its command-and-control (C2) server.

T1048Exfiltration Over Alternative ProtocolEvidence1

It uses the Paramiko SSH module for Python to upload the stolen files using hardcoded IP (144[.]126[.]202[.]227) credentials.

T1048.003Exfiltration Over Unencrypted Non-C2 ProtocolEvidence1

"exfiltration via either an SFTP tunnel to 144.126.202.227"

T1567Exfiltration Over Web ServiceEvidence1

"or an HTTP POST to the compromised domain stayathomeclasses.com/slpw/up.php"

INDICATORS OF COMPROMISE

IOCs tracked for this family

19 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
2 tracked

IPs, domains, and DNS infrastructure linked to this family.

Hashes
17 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

TypeValueLatest sighting
ip.v4●●●●●●●●●●●●View more in app3 months ago
hash.sha256●●●●●●●●●●●●View more in app9 months ago
hash.sha256●●●●●●●●●●●●View more in app9 months ago
hash.sha256●●●●●●●●●●●●View more in app9 months ago
hash.sha256●●●●●●●●●●●●View more in app9 months ago
hash.sha256●●●●●●●●●●●●View more in app9 months ago
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching19

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution3

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping24

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.