Hugging Face malware campaign returns to hijack GPUs for crypto mining
A malware campaign using Hugging Face repositories returned to hijack GPUs for crypto mining, while a fake Solana kit on GitHub targets AI coding agents.
Overview
Researchers at Pluto Security discovered a malwareSoftware built to steal data, spy on users, lock files, or take control of a computer campaign that uses Hugging Face model repositories to hijack GPUs for crypto mining. The attackers published 31 malicious repositories across seven accounts that pose as small Qwen2 test checkpoints. These models target GPU hosts running self-hostedSoftware that an organization installs and runs on its own servers instead of using a vendor's cloud service inferenceRunning a trained artificial intelligence model on new input to generate an answer or prediction serversA computer or program on a network that stores data and responds to requests from client devices such as Xinference and GPUStack. The campaign abuses a Hugging Face option called trust_remote_code, which allows a model to ship its own Python code that runs on the user's machine as soon as the model loads. The most downloaded model, MENXIANGYU/qwen2-tiny, contained no actual model and instead installed a cryptocurrencyDigital money tracked on a public ledger using cryptography instead of a central bank miner disguised as a Linux system process. Some versions also open a reverse shellA connection where an infected machine calls out to the attacker's server and hands over a command prompt, giving the attacker direct access to the infected server.
Terms in this story
- malware
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- self-hosted
- Software that an organization installs and runs on its own servers instead of using a vendor's cloud service. Running a self-hosted password manager, code server, or chat platform gives a company full control over its data, but also means its own staff must install every security patch.
- inference
- Running a trained artificial intelligence model on new input to generate an answer or prediction. Training builds the AI model once, while inference happens every time a user sends a prompt to a chatbot, which is where prompt injection and data leaks occur.
- servers
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- cryptocurrency
- Digital money tracked on a public ledger using cryptography instead of a central bank. Cryptocurrency appears constantly in cybersecurity news because ransomware gangs demand payment in digital coins and hackers target online exchanges and digital wallets directly.
- reverse shell
- A connection where an infected machine calls out to the attacker's server and hands over a command prompt. Because company firewalls usually block incoming connections from the internet but allow outgoing traffic, attackers make the victim computer open a reverse shell back to them.
- shell
- The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
- backdoors
- A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
- cryptomining
- Running heavy math calculations on a computer to generate cryptocurrency. When attackers break into a cloud account or server, they often install unauthorized cryptomining software that maxes out the processors and runs up huge electricity or cloud bills. Security+ objective 2.4 lists the term
- remote access trojan
- Malware disguised as a normal file that gives an attacker remote control over the victim's computer. Once installed, a remote access trojan lets the attacker watch the screen, record keystrokes, browse files, and run commands as if sitting at the keyboard. Security+ objective 2.4 lists the term
- exploits
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the BleepingComputer website. Cite the article, not this page.
Read the full article on BleepingComputer (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"Researchers at Pluto Security found 31 malicious repositories..." Found by reading the article; these exact words are in it - Who is affected: "GPU hosts running self-hosted inference servers..." Organizations using the product
Copied word for word from the article - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Hugging Face malware campaign returns to hijack GPUs for crypto..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"......kit on GitHub is positioned to trick AI coding agents into installing a NetSupport RAT." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"Hugging Face malware campaign returns to hijack GPUs for crypto..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of malware.
"A cryptomining and backdoor campaign..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of persistence tools and methods (e.g. Implants/Rootkits, Tunneling, Native Actions).
"...code quietly installs a cryptocurrency miner..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role