Hackers poison arrayref Rust crate to push infostealer malware
Hackers compromised a popular Rust library's maintainer account to inject malware that ran on developers' systems during compilation.
Overview
HackersA person who explores and manipulates computer systems, either as a criminal intruder or a security researcher compromised the maintainerThe developer or small team responsible for reviewing changes and publishing releases for an open-source project account for the arrayref Rust crate to insert malwareSoftware built to steal data, spy on users, lock files, or take control of a computer that runs when developers compile their code. This attack also affected the append-only-vec and internment crates within a 23-minute window. The arrayref library is widely used in cryptography, graphics, and blockchainA shared digital ledger where transactions are grouped into linked blocks secured by cryptographic hashes tools, with over 53 million downloads in the last 90 days. The attacker added a fake dependencyAn external code library or package that a software project relies on to do part of its work called proc-macro1, which executes a scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application during compilation to install malware on the user's computer. The malware targets Linux, Windows, and macOS systems to steal browser credentialsThe login details, such as a username and password or key, that prove who an account belongs to and establish persistenceThe tricks an attacker uses to keep access to a computer after a reboot or password change. Projects like blake3 and various Rust GUI frameworks rely on arrayref, meaning many developers and organizations are potentially affected.
Terms in this story
- Hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- maintainer
- The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.
- 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
- blockchain
- A shared digital ledger where transactions are grouped into linked blocks secured by cryptographic hashes. In security news, blockchain appears both in thefts from cryptocurrency services and when malware hides its command server address inside a public blockchain transaction. Security+ objective 1.4 lists the term
- dependency
- An external code library or package that a software project relies on to do part of its work. When a popular open-source dependency has a security bug or gets hijacked by an attacker, every application that imports that package inherits the risk.
- 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.
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- Persistence
- The tricks an attacker uses to keep access to a computer after a reboot or password change. To maintain persistence on an infected laptop, malware might add itself to the startup folder or create a hidden scheduled task that runs every time the machine turns on.
- infostealer malware
- Malware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device. Victims often download an infostealer through a fake game crack or malicious ad, and the stolen login cookies are then sold to ransomware crews on criminal markets. Security+ objective 2.4 lists the term
- supply-chain attack
- Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
- typosquat
- Registering a domain or software package with a common misspelling of a popular name. Attackers use typosquatting on code registries so a developer who mistypes one letter when installing a library accidentally downloads malware. Security+ objective 2.2 lists the term
- source code
- The human-readable programming instructions written by developers before they are compiled into a runnable program. When attackers steal a company's private source code from a repository, they can study it to find hidden vulnerabilities or leaked API keys.
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
"Hackers compromised the maintainer account..." Found by reading the article; these exact words are in it - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Hackers poison arrayref Rust crate to push infostealer malware..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"Hackers poison arrayref Rust crate to push infostealer malware..." Found in the headline
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- North Korean Hackers Tied to Rust Supply Chain Attack
- Backdoored Rust packages hit crates.io, exposing developers to malware at build time
- Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads
- Popular Rust Packages With 244M Downloads Compromised to Run Malware
- Two popular Rust crates arrayref and append-only-vec compromised in Supply Chain Attack