Google's GTIG and Ukraine's CERT-UA documented PROMPTSTEAL (aka LAMEHUG).
Social Engineering Examples·7 sources
Between June and July 2025, Russian state-sponsored actor APT28 deployed PROMPTSTEAL (CERT-UA designation: LAMEHUG) against Ukrainian government and defense-sector targets. Victims received phishing emails impersonating a ministry official, carrying a ZIP attachment ("Appendix.pdf.zip") that dropped a PyInstaller-packaged Python executable; a second lure variant masqueraded as an "AI image generator" tool.
Once running, the malware queried Qwen2.5-Coder-32B-Instruct via the Hugging Face API to generate, on the fly, Windows commands for system reconnaissance (systeminfo, wmic, whoami, dsquery) and document harvesting (xcopy of Office/PDF/TXT files from Documents, Downloads, and Desktop), staged the results under C:ProgramDatainfo, and exfiltrated them via SFTP/SSH or HTTP POST to attacker infrastructure.
CERT-UA received the initial incident reports on 10 July 2025 and published its advisory (attributing the activity with moderate confidence to UAC-0001/APT28) around 17-28 July 2025. Google's GTIG independently corroborated the campaign in its 5 November 2025 "Advances in Threat Actor Usage of AI Tools" report, describing PROMPTSTEAL as GTIG's first observed case of malware calling an LLM during live operations to dynamically generate malicious functionality rather than having it hard-coded.
PROMPTSTEAL (tracked by CERT-UA as LAMEHUG) is a Python data-miner packaged with PyInstaller and disguised as an AI image-generation tool (samples included "AI_generator_uncensored_Canvas_PRO_v0.9.exe" and "image.py"). Instead of hard-coding its reconnaissance and exfiltration logic, the malware sends a prompt (base64-encoded in some samples) to the Hugging Face-hosted Qwen2.5-Coder-32B-Instruct model at runtime, asking it to generate one-line Windows commands.
The malware then blindly executes whatever command text the model returns. Reconstructed prompts asked the model to produce commands that: (1) gather system/hardware/process/service/network/Active Directory information and write it to C:ProgramDatainfoinfo.txt using tools like systeminfo, wmic, whoami, and dsquery; and (2) recursively copy Office, PDF, and TXT documents from the Documents, Downloads, and Desktop folders into C:ProgramDatainfo using xcopy.
The staged data was then exfiltrated to attacker-controlled infrastructure via SFTP/SSH (an observed server at 144.126.202.227) or via HTTP POST (an observed endpoint at stayathomeclasses[.]com/slpw/up.php).
The lure was a phishing email impersonating a ministry representative, carrying a ZIP attachment named "Додаток.pdf.zip" / "Appendix.pdf.zip" that unpacked to a PyInstaller executable (one variant with a .pif extension), a classic double-extension/fake-document trick to get past casual inspection. A second observed variant disguised the payload as an "AI image generator" tool (e.g., "AI_generator_uncensored_Canvas_PRO_v0.9.exe"), exploiting curiosity about generative-AI tools as the pretext.
The giveaway, in retrospect: a "PDF appendix" or "AI art generator" that is actually a compiled Python/PyInstaller binary with an unusual extension, and a process that reaches out to a public LLM inference API (Hugging Face) and then immediately runs system-recon and file-copy commands.
CERT-UA disrupted/detected the campaign and published a public advisory with indicators of compromise and moderate-confidence attribution to UAC-0001 (APT28). Google's GTIG independently corroborated the malware's AI-runtime behavior in its November 2025 report. The report does not document a specific Google-side asset-disabling action for PROMPTSTEAL itself (it operates via third-party Hugging Face/Qwen infrastructure, not Google's own AI platform); the report's disabled-assets mitigations apply to other malware/actors in the same report (e.g., PROMPTFLUX, which abuses Google's Gemini API, and a Gemini-abusing CTF actor) and should not be attributed to this incident.
For PROMPTSTEAL specifically, GTIG instead notes continued malware development, with newer samples adding obfuscation and changing the C2 method. No breach notification, litigation, or quantified loss has been publicly reported; the operation is characterized by researchers as espionage-oriented and still experimental/proof-of-concept in its use of AI.
This is one of the first publicly documented, attributed cases of "just-in-time" AI-enabled malware: malware that outsources command generation to a live LLM at execution time instead of shipping hard-coded logic. That architecture makes static signature-based detection harder (the actual commands executed vary per run, generated fresh from the model) and signals a maturing trend among state-sponsored actors of embedding commercial/open LLMs directly into intrusion tooling rather than only using AI for offline development support.
For defenders, it shifts part of the detection surface toward monitoring outbound calls to LLM inference APIs and behavioral/EDR rules rather than static IOCs, and underscores that nation-state phishing operations against government targets in active conflict zones (Ukraine) are early adopters of this technique.
Treat unsolicited ZIP attachments claiming to be government/ministry documents (e.g., "Appendix.pdf.zip") as high-risk, especially those unpacking to executables with unusual extensions (.pif) or PyInstaller-built binaries disguised as "AI image generator" tools. Monitor for outbound traffic to LLM inference APIs (e.g., Hugging Face) from endpoints that have no legitimate developer/AI use case, and for staging directories such as C:ProgramDatainfo.
Flag processes that spawn native recon/exfil commands (systeminfo, wmic, whoami, dsquery, xcopy) shortly after network calls to generative-AI API endpoints, since this command-generation-then-execution pattern is atypical of conventional scripted malware. Organizations should apply egress controls/allow-listing for AI API endpoints and behavioral EDR rules rather than relying on static signatures, since the LLM generates commands dynamically at runtime, evading hard-coded-IOC detection.
Government/defense-sector organizations in conflict zones should assume nation-state phishing lures will keep pace with AI tooling and prioritize attachment sandboxing and macro/executable-in-archive blocking.
Social Engineering Examples. “PROMPTSTEAL/LAMEHUG: APT28's LLM-Powered Malware Against Ukraine”. Accessed 20 September 2026. https://socialengineeringexamples.com/promptsteal-lamehug-apt28-ukraine-2025
GTIG assesses that PROMPTSTEAL likely used stolen or attacker-controlled Hugging Face API tokens (Cato Networks counted roughly 270 tokens' worth of authentication activity) to call the publicly hosted Qwen2.5-Coder-32B-Instruct model, and APT28 built the malware itself as a PyInstaller-packaged Python binary with its recon/harvesting instructions written as base64-encoded natural-language prompts rather than hard-coded commands.
An attacker acquiring LLM API access and building AI-calling malware happens entirely off victim networks before any contact, so there is no direct control here; the realistic control sits at Stage 5, monitoring and restricting outbound calls to public LLM inference APIs from hosts with no legitimate AI or developer use case.
The actor prepared exfiltration endpoints, an SFTP/SSH server and a compromised legitimate website used for HTTP POST uploads, and, per CERT-UA, sent the phishing emails from a compromised email account rather than attacker-registered infrastructure, likely to improve deliverability against Ukrainian government mail defenses.
Threat-intel sharing and CERT advisories (like CERT-UA's) that publish observed C2 endpoints and compromised-sender indicators let mail providers and network defenders block the specific infrastructure quickly once one target reports it, shortening the window before other targets are protected.
Emails impersonating a ministry official, carrying a ZIP attachment ("Appendix.pdf.zip") or, in a second variant, framed as a free "AI image generator" tool, were sent to Ukrainian executive-authority and defense-sector staff.
Government email security gateways should flag messages impersonating ministry officials and unsolicited document-styled ZIP attachments as high-risk, and staff in conflict-exposed government and defense organizations should be trained to treat unexpected "official document" or free AI-tool download emails with particular suspicion.
A victim who opened the ZIP and ran the enclosed file (one variant used a disguised .pif extension) launched a PyInstaller executable that displayed a decoy PDF or a working AI image-generation prompt box to mask its background activity.
Endpoint controls should block or sandbox execution of compiled Python/PyInstaller binaries arriving inside archives, and specifically flag files with disguised or double extensions (e.g., .pdf.zip unpacking to .pif), since this packaging trick is the point where the payload actually starts running.
The malware sent its base64-encoded prompts to Qwen2.5-Coder-32B-Instruct over the Hugging Face API, asking it to return one-line Windows commands for system/network/Active Directory reconnaissance and for locating Office, PDF, and TXT documents, rather than shipping those commands hard-coded in the binary.
Egress allow-listing and monitoring for connections to LLM inference endpoints (such as Hugging Face) from machines without an approved AI/development use case directly catches this stage, since the malware cannot get its instructions without reaching that API.
PROMPTSTEAL executed whatever command text the model returned, running systeminfo, wmic, whoami, and dsquery for reconnaissance and xcopy to stage harvested documents under C:ProgramDatainfo, without any human operator reviewing the generated commands first.
Behavioral EDR rules that flag native recon and file-copy utilities (systeminfo, wmic, whoami, dsquery, xcopy) launching immediately after a process calls out to a generative-AI API give defenders a detection path that does not depend on knowing the exact command text in advance, since that text is generated fresh per run.
Staged data was sent to attacker infrastructure via SFTP/SSH (an observed server at 144.126.202.227) or HTTP POST (to stayathomeclasses[.]com/slpw/up.php), completing the espionage/data-theft objective; CERT-UA did not publicly confirm whether every observed run exfiltrated successfully.
Egress filtering and DLP rules that catch unexpected outbound SFTP/SSH or HTTP POST traffic to non-approved external destinations, plus monitoring for unusual staging directories such as C:ProgramDatainfo, can stop or flag the exfiltration step even after earlier stages succeeded.
Browse by what this case has in common with others in the library.
ESET researchers found "PromptLock," a Go-based ransomware sample on VirusTotal that used a locally-run open-weight AI model.
Fraudsters built a fake WhatsApp profile of WPP CEO Mark Read and staged a Microsoft Teams call using an AI…
A Ukrainian-language "shared document" phishing wave used a fake reCAPTCHA "verify you are human" ClickFix page to trick victims into…
A blogger paid $89.95 to an online data broker (CellTolls.com) to buy retired Gen. Wesley Clark's cell-phone call log obtained…
A Chinese national talked her way past three layers of Mar-a-Lago's Secret Service and club-staff checkpoints using a false pool…
Russia's Sandworm Team used spear-phishing emails with malicious Office macro attachments to plant BlackEnergy3 malware inside three Ukrainian power.
Chinese state-linked hackers used spear-phishing links and an unpatched Internet Explorer zero-day to breach Google, Adobe.
Hours before Maharashtra's 2024 assembly election polling, BJP-amplified audio clips purporting to catch opposition leaders Supriya Sule and Nana Patole.
A single cybercriminal used Anthropic's Claude Code as an autonomous operator to breach ~17 organizations and generate psychologically targeted.
A long-running, India-based network of call centres impersonated the Canada Revenue Agency and RCMP in mass vishing calls that threatened…
A Singaporean businessman transferred at least S$4.9 million after WhatsApp and email lures citing the Strait of Hormuz crisis drew…
A small Columbus, Ohio manufacturer disclosed in a February 2026 SEC 8-K that it lost $898,325 to an imposter scam…
Russian GRU-linked Forest Blizzard (APT28/Fancy Bear) used OpenAI's GPT-4-family LLM services to research satellite communication protocols and radar.
Russia's Sandworm Team used spear-phishing emails with malicious Office macro attachments to plant BlackEnergy3 malware inside three Ukrainian power.
A Ukrainian-language "shared document" phishing wave used a fake reCAPTCHA "verify you are human" ClickFix page to trick victims into…
Two New Jersey men ran US "laptop farms" and shell companies that let North Korean IT workers pose as American…
A Ukrainian-language "shared document" phishing wave used a fake reCAPTCHA "verify you are human" ClickFix page to trick victims into…
A suspected Chinese state-sponsored group jailbroke Anthropic's Claude Code by role-playing a "defensive security" pretext and used it to autonomously…
Russian GRU-linked Forest Blizzard (APT28/Fancy Bear) used OpenAI's GPT-4-family LLM services to research satellite communication protocols and radar.
Lazarus operators spear-phished a senior Sky Mavis engineer through a fake LinkedIn recruiting process and a spyware-laced job-offer PDF.
KnowBe4 unknowingly hired a North Korean operative for a software engineering role after he passed four video interviews using an…