Skip to content

RATs, Miners, Stealers and Phishers on Hugging Face

Japneet SinghJapneet Singh· Head of Research12 min read

Key Takeaways#

We scanned about 100,000 repositories on Hugging Face: close to 70,000 models, around 28,000 Spaces and nearly 5,000 datasets. We focused on new / trending / recently updated repositories, models that come with their own code, and accounts linked to artifacts we had already found. Here are the research findings:

  • HekerAI is abusing Hugging Face too. HekerAI’s “C211” label appears in a Space and a model that mine cryptocurrency on Hugging Face GPUs. This is the same operator which we earlier observed attacking AI infrastructure. The group now uses AI platforms for free compute as well as attacking exposed servers. One possible route is stolen tokens: HekerAI searched exposed servers for Hugging Face tokens.
  • Malicious code that runs when a model loads. We discovered thirty-four models which include Python that runs during model loading and performs a malicious activity. The malicious activity we observed includes mining cryptocurrency, data collection, network scanning or opening a backdoor. Much of it targets the AI platforms that load models. For example, one of these models tries to take over a whole Kubernetes cluster.
  • End-user lures in datasets and Spaces. We encountered a dataset-hosted shortcut which staged a Windows remote-access trojan (RAT). Six running Spaces served pages that collect login credentials or personal data.
  • A scan result is not a safety verdict. Hugging Face’s malware scan marked the RAT programs as safe. Only six of the 34 load-time models had a completed scan, and none showed a warning. Ten reverse-shell models from an account first reported in 2024 were flagged unsafe but could still be downloaded. That shows it is not advisable to blindly trust the platform’s scan results.
  • Mining is big business. Four wallets in this report showed about $129,500 paid out by late November. One operator, with about 1,400 miner names, used Hugging Face to ship and manage its miners.

Hugging Face is a popular site where developers share AI models, datasets, and small demo apps called Spaces. In late November 2026, we found and verified 75 malicious artifacts on Hugging Face, with about 11,000 downloads between them. Hugging Face has since removed 23 of them and the rest are still up. These artifacts contain code for mining, data theft, reconnaissance, remote access, or phishing.

These malicious artifacts use different parts of Hugging Face in different ways. Datasets hosted a Windows remote-access trojan (RAT) delivery chain. Models carry Python code or pickle files that run when a loader allows custom code or unsafe loading. Some Spaces served fake financial and webmail logins, while others contained code configured to mine on Hugging Face compute.

People tend to trust files from Hugging Face. But a model can run harmful code on loading, a file from a dataset can install malware when opened, and a Space can be a fake login page. Surprisingly, Hugging Face’s malware scan marked the RAT programs as safe, and none of the models that run code on loading triggered a warning.

One mining Space and model carry the ”C211” label used by HekerAI, which our earlier report showed using the ARTEX AI agent to attack the exposed AI services. In late November, HekerAI’s wallet had about 50 active miner names.

How Hugging Face Runs Uploaded Code#

Hugging Face runs Spaces on its own servers. Model and dataset files run wherever someone loads or opens them. Each type gives an attacker a different route to get in.

  • Models can carry code. A model can come with its own program files. If the person loading it allows that code, it runs on their machine. Some model file formats can also run code when opened with unsafe settings.
  • Datasets deliver files. A dataset file does nothing until someone opens it. But its owner can swap the file behind a download link at any time, and deleted files stay available in the file history.
  • Spaces are live web apps. A Space can show any page, including a fake login form, at a Hugging Face address. It can also use shared GPUs for short bursts, which a mining Space spends on mining.
Three ways a Hugging Face upload becomes running code. Models: weights plus the model’s own Python files; someone loads it allowing custom code; the code runs on the loader’s machine before any weights are read. Found: miners, stealers, backdoors. Datasets: any file, a ZIP, a script or a Windows program; shared by a link that serves whatever was uploaded last; it runs when someone opens it on their own computer. Found: a Windows RAT delivery chain. Spaces: a small web app; Hugging Face runs it on its own servers at a Hugging Face address; visitors use it, or it uses shared GPUs. Found: fake logins, miners. Hugging Face’s malware scan marked the RAT programs and the phishing pages safe, and files flagged unsafe could still be downloaded.
Figure 1 · Three ways a Hugging Face upload becomes running code, and what we found on each.

What the Attackers Hosted#

Table 1 groups the 75 artifacts by role; each appears once.

CategoryArtifactsDetails of the artifactsWho is at risk
Mining20- Six mining models and three backdoored GPU-cluster settings files. - Seven Spaces configured to mine. - Four repositories that stage the miner binary- Anyone who loads the model pays with their GPUs. - Mining Spaces abuse Hugging Face’s shared GPUs
Remote access22- Five datasets that deliver a Windows remote-access trojan. - Seventeen models that give an attacker a remote shell or command access.- Windows users who open the lure. - Machines that load the model
Theft and recon24- Nine models that steal credentials. - Fourteen models that collect host or network details - One model that attempts a Kubernetes node takeoverServers and AI platforms that load models.
Phishing9- A fake login for a Colombian financial app. - Four fake webmail login pages - A page collecting contact details and one-time codes - Three IP loggersPeople who visit and type in their details.

Table 1 · The 75 malicious artifacts, grouped by role. The counts describe repositories and Spaces.

Remote-Access Trojans (RATs)#

A Fake Resume (CV) Spreads Malware That Hugging Face Marked “Safe”#

Attackers used five datasets under a single Hugging Face account to build and deliver a Windows Remote Access Trojan (RAT). In late November 2026, one dataset hosted a zip file disguised as a job applicant’s resume (CV). Inside was a Windows shortcut designed to look like a standard PDF document. Opening this shortcut would launch a hidden script that downloads and runs a RAT from another dataset, while showing the user a harmless PDF to avoid suspicion. The zip file was later replaced with two harmless company PDFs, but the original version is still public in the dataset’s history.

We analyzed five versions of the RAT. Their code provides evidence that they can perform keylogging, take screenshots, capture from webcam, execute remote commands, and collect documents and password-manager databases from the machine they get installed on. They can also request administrator rights, add a Microsoft Defender exclusion, and persist through a Windows Run key. The RATs use Telegram and ntfy for control and reporting.

From a fake CV to a Windows RAT, across one account’s five datasets. Dataset 1 holds a ZIP posing as a CV, containing a Windows shortcut with a web-browser icon. Opening it fetches a batch file, %TEMP%\callib.bat, from dataset 2. That script shows a harmless PDF as cover and downloads the RAT from dataset 3 to %LOCALAPPDATA%\Microsoft\XboxLive\ProxySet.exe, starts it and deletes itself. On a PC the RAT takes keystrokes, screenshots, webcam, documents and password-manager files. It asks for admin rights, tells Microsoft Defender to skip its folder, starts at every sign-in through the HKCU Run value WindowsSystem, and takes orders and sends data through a Telegram bot and a push-notification service. Dataset 4 holds the RAT source code and dataset 5 the first build, with four newer builds within a week. Hugging Face’s malware scan marked every file safe.
Figure 2 · The fake-CV attack chain, hosted across one account’s datasets. Hugging Face’s malware scan marked every file safe.
Static analysis of the lure ZIP from dataset 1. The archive holds one file, a 2,880-byte Windows shortcut named cvpdf.lnk. Its target is C:\Windows\System32\cmd.exe, with arguments that run curl.exe to download golat.bat from a Hugging Face dataset to %TEMP%\callib.bat and then run it. Its icon is Microsoft Edge’s, so it looks like a web page or a PDF. It was created on 11 November 2026 on a machine named desktop-6t2qcdi, left inside the file. A hex dump shows the command line stored as UTF-16.
Figure 3 · The “CV” in the lure ZIP is a Windows shortcut. It starts the command prompt, downloads a batch file from a Hugging Face dataset and runs it.

Other Backdoors#

Five other models also contained backdoor code. Their behavior depends on the loader and host: they can open a shell, fetch and execute a script, or install an agent that waits for commands. These are separate from the Windows RAT hosted in the dataset.

Reverse Shells Reported in 2024 Are Still Up#

JFrog and Sonatype reported star23 reverse-shell models in early 2024. In late November 2026, eleven star23 repositories still served executable payloads. The eleven executable repositories had 7,382 all-time downloads at our last check.

Miners: $129,500 Paid Out#

Most miners in this report mine a cryptocurrency called Pearl (PRL). Across the four Pearl wallets in this report, mining pools showed about $129,500 paid out by late November (about 74,800 PRL at that day’s price). We counted each wallet once and left out the one Pluto Security already covered.

HekerAI Mines on Hugging Face#

Our first report found HekerAI using a ”c211” label but could not explain it. The label also appears on Hugging Face, in one Space and two models.

In early November, an account unused since 2023 published a Space that mines cryptocurrency on Hugging Face’s shared GPUs. Two days later, a second account, created years earlier with nothing published, released two models. One starts a miner when its custom code is loaded. The other checks whether a machine that loads it can reach the internet and download the miner, and reports the machine’s details in an error message. It looks like a trial run before mining.

The Space and the mining model pay their earnings into the same wallet, so the same operator most likely runs both. The mining pool lists the machines mining for that wallet. Two of them, named after the model, joined 23 seconds after it was uploaded. A stranger is unlikely to find and run a new model that fast, so the operator was most likely testing its own code. Hugging Face has since disabled the Space and both models.

HekerAI’s two routes. Route 1, exposed AI services: the ARTEX AI attack agent attacks exposed AI servers, as shown in the earlier report, and its traffic carries the label c211, which no other ARTEX operator observed used. Route 2, Hugging Face: a Space that mines on shared GPUs, published from an account silent since 2023; a model that mines when loaded, plus a test model, from a second dormant account; and one wallet for the Space and the model, paid about $43,500 by late November with 52 miner names active. The same label, C211, appears on both routes. A possible but unproven link: a second wallet with about 1,400 miner names across many clouds may belong to another HekerAI console, resting only on task-number patterns. Wallet earnings use the pool’s price on one day; they are not profit and may include mining outside Hugging Face.
Figure 4 · HekerAI’s two routes. The Space and the mining model share the “C211” label and one wallet, which mining pools showed had been paid about $43,500 by late November.

A Second, Larger Mining Operation: Up to $4,200 a Day#

Hugging Face was a small part of a much larger operation. In late November, about 1,400 miner names across many cloud providers were working for a second wallet, which had earned about $4,200 in the previous day. It may belong to another HekerAI console, but that link is tentative. The operator used Hugging Face to ship miners, check on them and stage backdoors for GPU clusters.

Three Hugging Face accounts are tied to this wallet:

  • A Miner which also adds a backdoor. A model is configured to mine for this wallet when its code is loaded. The model also creates a backdoor by adding the attacker’s SSH key to the machine’s list of allowed keys, so the attacker can log in later without a password.

See it in action.

  • A status probe. Another model tries to reach the host machine through a privileged container, then inspects two specific miners from this wallet, by their exact names. The operator appears to use Hugging Face to manage its miners.
  • Backdoored cluster settings. Three repositories hold a settings file for a common system-information tool. If that tool reads the file on a GPU cluster, the file installs a program that lets the attacker run commands on it remotely.
Python from the second operation’s model, configuration_hf_qubrid.py, whose repository Hugging Face has since disabled. It sets the attacker’s redacted SSH key, tagged i26488-qubrid, and the operation’s mining wallet. A shell script adds that key to the login keys of root and a second user, downloads the PeakMiner mining program, and writes a cron job to /etc/cron.d that re-runs the script as root every minute.
Figure 5 · The second operation’s miner model. When loaded, it adds the attacker’s SSH key, installs PeakMiner and adds a cron job that re-runs it every minute. Hugging Face has since disabled the repository.

Other Mining Operations#

  • An earlier reported campaign came back. A month after this report, a new account published six more models tied to the same group, and two of them mine to its wallet. Hugging Face has since removed all six.
  • One script, three accounts. In early November, three long-standing accounts uploaded the same miner program within seconds of each other, so one script likely ran all three. One of these accounts also published a Space that downloads the miner from two of those uploads. Its wallet listed about 500 miner names.
  • Mining Spaces. Five Spaces were built to mine cryptocurrency on shared GPUs or CPUs. One would have made visitors spend their own GPU allowance mining for the owner.
  • A miner that starts during use. Another model starts a miner when it generates text, not when it loads, and only if it runs with administrator rights.

Stealers#

Models That Rob the Platforms That Load Them#

Much of this model code targets the infrastructure that loads it. It looks for internal servers, GPU managers such as GPUStack and Xinference, AI databases such as ChromaDB stores, and cloud credentials including Kubernetes service-account tokens. These targets fit services that let users pick a model by name, such as embedding APIs, evaluation harnesses, fine-tuning services, and inference providers.

The most downloaded model in this subset attempts a particularly serious action. When loaded inside a Kubernetes cluster, it uses the cluster’s own credentials to try to add the attacker’s login key to the administrator account of every machine in the cluster. Other models steal secrets from the environment, database credentials from GPU-management tools, or a Hugging Face token of the user account which loaded the model.

Python from the Kubernetes takeover model, configuration_probe.py, whose repository Hugging Face has since disabled. It carries the attacker’s redacted SSH key labelled ops-audit, and reports each step to a public notification service. The command each node runs adds that key to root’s login keys and allows root login with it. It defines a privileged container with the node’s whole file system mounted, reads the pod’s Kubernetes credentials from the service-account token, and asks the cluster to run the container on every node as a DaemonSet.
Figure 6 · Code from the Kubernetes takeover model. It reads the cluster credentials on the machine that loads it and asks the cluster to add the attacker’s SSH key to every node. Hugging Face has since disabled the repository.

Some models attempt to exfiltrate data through the platform itself. They hide host details in error messages or model output that the platform returns to the caller. Other models send data to outside notification services, or upload it to a Hugging Face repository through the JFrog-described channel. A network rule that permits every request to huggingface.co would also permit a Hub write request unless it restricts methods and destinations.

What happens when a service loads a malicious model, on services that let users pick a model by name, such as embedding APIs, evaluation tools, fine-tuning and inference providers. A model is requested by its Hugging Face name with trust_remote_code set to true; the model’s config.json names a Python file inside the repository through auto_map; that Python runs on the loading machine, with its access, before any weights are read; and the payload mines on the GPUs, steals tokens and secrets, maps the network, adds SSH keys and tries a Kubernetes takeover. The results reach the attacker four ways: host details hidden in a load error, host details encoded in the numbers the model returns, posts to notification or webhook sites, and commits of stolen data to a Hugging Face repository. A second route needs no Python file: weight files saved in Python’s pickle format can run code when loaded with unsafe settings.
Figure 7 · What happens when a service loads a malicious model, and four ways the stolen data gets back to the attacker.

Phishers#

Live Phishing Pages on Hugging Face#

One Space imitated the login page of Nequi, a Colombian financial app. Its forms request a phone number, a four-digit PIN, a six-digit dynamic key, and an account balance. A later page attempts to capture a selfie. This captured information is sent to a Telegram chat.

The fake Nequi Space on Hugging Face, still running at the last check. Its index.html is marked Safe by Hugging Face’s malware scan. The highlighted JavaScript reads the phone number (“Celular”) and four-digit PIN (“Clave”) the visitor typed, builds a message with them, and sends it to the attacker’s Telegram bot by loading the request as an image. It then moves the visitor to a “validating” page.
Figure 8 · The fake Nequi Space, still running, sends the phone number and PIN to a Telegram bot. Hugging Face marks the file safe.

Four more Spaces show fake webmail logins and send email addresses, passwords and the visitor’s location to a shared Telegram chat. Three of them call themselves “a simulated login page”, yet send what visitors type to the same chat as the fourth. A sixth Space collects contact details and one-time codes the same way.

A fake webmail Space. On the left, what the visitor sees: a login card in Korean reading “Sign in: continue with mail”, asking for an email or phone number, with the password asked for in a later step. On the right, its index.html, whose repository was still public at the last check. Its Open Graph description calls it “a simulated login page”. The code looks up the visitor’s IP address, country and city, builds a message with the email, password, IP and location, and sends it to a Telegram bot.
Figure 9 · A fake webmail Space that calls itself “a simulated login page”, yet sends the email, password and location to a Telegram bot.

Three more Spaces contain IP-logger code meant to send visitor details to Discord.

This use of Hugging Face hosting is part of a broader pattern. Aikido reported 42 phishing and credential-stealing Spaces in October; Bitdefender described Android trojan payloads served from datasets; and Sysdig traced a botnet dropper to a Space.

A “Safe” Scan Is Not a Safety Verdict#

Hugging Face runs a malware scan on every file, checks pickle files for unsafe code, and shows results from partner scanners. A scan of the weight files doesn’t show that the Python code shipped with a model is safe to run.

None of the 34 models that run code when loaded showed a warning. When we first analyzed them, only six had a finished scan, and the other 28 had not been fully scanned. Within days, Hugging Face removed 16 of them, and most of the rest still had no finished scan. Together the 34 models had about 2,800 downloads.

The Dataset and Space pages show no overall scan status, but Hugging Face records a result for each file. At our last check, its malware scan marked every file in the five RAT datasets as safe, including both RAT programs, which VirusTotal had never seen. It also marked every scanned file in the 16 Spaces as safe, including the phishing pages and mining code, which a malware scan is not designed to catch.

A warning doesn’t stop a download either. Ten reverse-shell models are marked unsafe but can still be downloaded. A scan result is one signal, not a safety verdict. Teams that load models need their own rules for what they allow.

A star23 reverse-shell model page on Hugging Face, uploaded almost three years ago and still up. Hugging Face’s own pickle check flags pytorch_model.bin “Unsafe”. In the File Security Scans panel, JFrog reports a PyTorch model with embedded malicious code, Protect AI reports the threat PAIT-PYTCH-100 and ClamAV reports malware signatures, all “Unsafe”, while VirusTotal says “Suspicious” with 4 of 75 engines detecting it as malicious. The Download button still works.
Figure 10 · A star23 reverse-shell model first reported in 2024. Hugging Face’s pickle check and three partner scanners flag it, yet it can still be downloaded.

Dormant Accounts Used to Publish Miners#

Several mining repositories appeared under accounts that had been quiet for years. One “C211” account, created in 2021, had published nothing we could find. The other account had last uploaded a language model in 2023. Three other established accounts uploaded an identical miner within seconds of each other. The timing suggests one automation script controls them.

One possible route is stolen access tokens. In traffic to exposed AI services, HekerAI looked for the folder where Hugging Face keeps its access token on Jupyter servers, and another ARTEX operator read a token file. The risk here is real because a Hugging Face token with write access lets the token holder publish files under its owner’s name.

Recommendations#

Teams that load models or operate GPU hosts can reduce the paths that attackers take:

  • Check where users control which model to load. Identify services that load a model provided as input from users. Turn off custom model code (trust_remote_code) where it isn’t needed. Where it is needed, review the code and lock the model to a specific version.
  • Limit what a model loader can access and output. Keep write tokens, Docker access and cluster credentials away from the process that loads models. Block access to the cloud metadata service and internal systems, limit outbound traffic, and don’t show detailed load errors to outside callers.
  • Check GPU servers for miners. Look for unexpected mining programs, connections to mining pools, and unfamiliar settings files on GPU clusters. The indicators below list what to search for.
  • Protect Hugging Face credentials. Use read-only tokens wherever possible. Keep write tokens off servers anyone can reach. Rotate tokens that may have been exposed.
  • Scrutinize Hugging Face downloads like any other download. Review scripts, shortcuts and executables from datasets and Spaces before a user or automation opens them. Block files which Hugging Face flags as unsafe. Remind staff that a login page hosted at a Hugging Face address does not automatically make it trustworthy.

Indicators of Compromise#

Account and repository names are left out of the text because some older accounts may have been taken over from their real owners. The exception is star23, which JFrog and Sonatype named in 2024. “Seen” is when a file was created or last confirmed. Treat each indicator as a lead, not proof: some also match legitimate services, such as a public mining pool.

What it isIndicatorSeen
MiningLook in: miner command lines, pool connections, systemd units and file events on GPU hosts, and the remote-code module cache on model-loading hosts. Some miners connect by IP address, so DNS logs alone can miss them.
HekerAI “C211” walletprl1pptvxkadcf7cy8tjhz3anhz7yfdmunxw428aq6ex4u220dlce54xq69grqrNov 2026
Second operation’s wallet (possibly linked to HekerAI)prl1ppn9axn2t39f27k5qfhygnfhq5tyuswhwkyxecgt4u4qgfmnxc9xqck0cdk31 Oct to 27 Nov 2026
Other miner walletprl1pkp323zklexvnfvlktgt696mpscsnx8rau8p3nmxtncuclmcqgvsq5kl5ajNov 2026
Other miner walletprl1pppfpu936r838j8dhfyd0cg52pjfz0ya7ynxurmaj77h0nnpj2sjqpq5phjNov 2026
Pearl mining pool (public LuckyPool servers, also used by legitimate miners)pearl-*.luckypool[.]io; TCP 3360 and 3362Nov 2026
HekerAI test model codeconfiguration_probe.py e48de2ddc421035189777725ee29b065c2d527dca813da22a512bac38d58e476Nov 2026
Second operation’s status-probe codeconfiguration_i29057.py 86ef2299b1ff3bcc1c23a73f3319b69bea880c2140fcc049d375e055d24970aaNov 2026
Miner servicessystemd units prl-m-<host>-<gpu>-g<N>Nov 2026
Root-only text-generation miner: poolstratum+tcp://ninjaraider[.]com:44920Model created Jul 2026
Root-only text-generation miner: walletbtx1zfj9rwukzwwjh628m3y5v5y4dn8yjpyf5fmjjddqxetfygkq804uslr650hModel created Jul 2026
GPU-cluster and platform attacksLook in: files and listening ports on GPUStack hosts; egress, proxy and DNS logs from model-loading hosts; Kubernetes audit logs and node authorized_keys files.
Backdoored GPUStack settings files (two versions)config_system_info.jsonc 45091d6507ba0b8fa49f2e648c2fb0773439b87fa0b939a76499aa8990743510 and 26e67fa0e6ae4d14e7301548a8512d1009823fe46fd36f35fea35e4d83cc65a425 Nov 2026
Command server the settings file writes/var/lib/gpustack/i46270_c2.py 832fa50f0a7bcb34f8c55581b98fd7b276713f6475aada6508630196ed7b63e725 Nov 2026
Command server listenerTCP 18091, paths /run, /get, /put25 Nov 2026
Kubernetes takeover DaemonSetcfginit, image docker.1ms.run/library/alpine:3.19Nov 2026
Key added to node root accountsauthorized_keys entry with comment ops-auditNov 2026
Stealer callbacksntfy[.]sh topics lcs57546457f26 and jt2036-gp-rce-9f3a2bNov 2026
Stealer callbackswebhook[.]site paths b18dce9e-8f29-4689-9eb3-2d2e9adaa722 and 9ba69eb1-01e5-421d-87bf-bef9b19100b3Nov 2026
Stealer callback102.164.62[.]220Nov 2026
Stealer callback (DNS)*.5acz0h.dnslog[.]cnNov 2026
Stealer marker file/tmp/.gp_pwnedNov 2026
Windows RATLook in: endpoint file and registry events, mail attachments and browser downloads, and proxy logs for api.telegram.org.
RAT build (current)b038a1332759b52fcbac7781a18e3ce27c0cf943d02e68d9bc03b72b6c0ad25d18 Nov 2026
RAT build (first)3c306720814cfa1f13d277a177b27e8a3a01a896b34733f7d6d158eb1df7317a13 Nov 2026
CV lure ZIPf6a8d5727307bb5a820c64f5833480e82ff32e53dc3b9ce9fe55c24652b79b21Nov 2026
RAT install path%LOCALAPPDATA%\Microsoft\XboxLive\ProxySet.exeNov 2026
Start-up entryHKCU Run value WindowsSystemNov 2026
RAT command channelTelegram chat 6634053218Nov 2026
PhishingLook in: threat-intel matching and takedown requests.
Fake Nequi login kitTelegram bot 6159424723, chat -1003508204208Nov 2026
Fake webmail kitTelegram bot 9003317722, chat 6932791865Nov 2026
Fake one-time-code pageTelegram bot 8261702825, chat 8592500712Nov 2026

Table 2 · Indicators of compromise.

MITRE ATT&CK Mapping#

These mappings describe behavior present in the artifacts.

TacticIDTechniqueBehavior in the artifacts
ReconnaissanceT1598Phishing for InformationFake financial and webmail forms are configured to send entries to Telegram
Resource DevelopmentT1608.001Stage Capabilities: Upload MalwareA RAT and miner binaries were hosted in Hub repositories
ExecutionT1204.002User Execution: Malicious FileThe historical CV lure contains a shortcut that would start the RAT delivery chain if opened
ExecutionT1059.006Command and Scripting Interpreter: PythonModel configurations name Python modules with load-time payloads
ExecutionT1610Deploy ContainerPayloads ask the cluster to run a privileged container on every node
PersistenceT1547.001Boot or Logon Autostart Execution: Registry Run Keys / Startup FolderRAT code adds a Windows Run key
PersistenceT1098.004Account Manipulation: SSH Authorized KeysPayloads attempt to add SSH keys to hosts and Kubernetes nodes
Privilege EscalationT1611Escape to HostOne payload attempts host access through a privileged Docker container, if available
Defense EvasionT1562.001Impair Defenses: Disable or Modify ToolsRAT code tells Microsoft Defender to skip its folder
Defense EvasionT1036.008Masquerading: Masquerade File TypeThe CV lure is a shortcut disguised as a PDF document, with a web-browser icon
Credential AccessT1552Unsecured CredentialsCode reads environment variables, service-account tokens, GPU-manager files and Hugging Face tokens
DiscoveryT1082, T1046System Information Discovery; Network Service DiscoveryCode collects host and GPU details and probes internal hosts and ports on a model-loading platform
CollectionT1056.001, T1113, T1125Input Capture: Keylogging; Screen Capture; Video CaptureRAT builds contain keylogging, screenshot and webcam capture code
Command and ControlT1102Web ServiceRAT code polls Telegram for commands
Command and ControlT1105Ingress Tool TransferLoaders are configured to download miner and RAT payloads at run time
ExfiltrationT1567Exfiltration Over Web ServicePayloads attempt Hub commits and posts to notification services or webhooks; phishing forms contain Telegram submission code
ImpactT1496.001Resource Hijacking: Compute HijackingMining code targets model-loading hosts, GPU clusters, and Hugging Face compute

Table 3 · MITRE ATT&CK mappings for code behavior; successful execution was not generally observed.

MITRE ATLAS Mapping#

Most of these items target AI systems directly, so we also map them to MITRE ATLAS framework.

TacticIDTechniqueBehavior in the artifacts
Resource DevelopmentAML.T0115.001Publish Poisoned AI Artifacts: ModelsPublished models that carry miners, stealers and shells
ExecutionAML.T0011.000User Execution: Unsafe AI ArtifactsModels execute code if loaded with remote code enabled or unsafe pickle deserialization
AI Attack AdaptationAML.T0148Embed Malicious Code in AI ArtifactsPayloads were placed in Python files shipped beside model weights
ExfiltrationAML.T0024Exfiltration via AI Inference APIAn embedding model is designed to encode host details into returned vectors; no victim inference was observed

Table 4 · MITRE ATLAS mappings for artifact behavior.

Japneet Singh

Japneet Singh

Head of Research

Japneet leads the Research team at Metano. Two decades in cybersecurity, one decade in AI x cybersecurity. Hands on practitioner, leading by example. Interested in applying AI to defensive and offensive security.