PolinRider Malware Returns in 10 Hijacked npm Packages Using Ethereum Blockchain to Deliver Malicious Code
Malicious code was delivered through hijacked npm packages using Ethereum transactions to execute hidden loaders in developer environments.
Overview
Malicious codeSoftware built to steal data, spy on users, lock files, or take control of a computer was found in 12 releases across 10 hijacked npm packagesA reusable web code library published to the public npm registry for developers to install, a collection of software tools used by developers. This activity is linked to a known threat called PolinRider, which uses the Ethereum blockchainA shared digital ledger where transactions are grouped into linked blocks secured by cryptographic hashes to find the serversA computer or program on a network that stores data and responds to requests from client devices that host the actual malicious files. The code does not run when the software is first installed, but instead activates when the application starts up or when specific files are loaded. Because the malware uses a dead-dropA public web page or social media profile where malware looks up its hidden command server address mechanism, attackers can change the server addresses by publishing a new transaction without needing to update the compromised packages. This means that blocking one server will not stop the malware from finding a new one. Developers and organizations using these packages are affected because their systems can be compromised without any obvious warning during installation.
Terms in this story
- Malicious Code
- 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
- npm Packages
- A reusable web code library published to the public npm registry for developers to install. Web developers pull in dozens of npm packages when building a site, and attackers frequently publish malicious packages with lookalike names to steal developer credentials during installation. Security+ objective 2.2 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
- 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.
- dead-drop
- A public web page or social media profile where malware looks up its hidden command server address. Instead of hardcoding a server address that defenders can block, malware reads a comment or bio on a legitimate site used as a dead drop to find where to connect next.
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
- loaders
- A stage of malware that runs first on an infected machine to fetch, decrypt, and launch other payloads. Criminal groups specialize in spreading a stealthy loader through spam or fake downloads and then charge ransomware and infostealer operators to deliver their malware onto those infected PCs. Security+ objective 2.4 lists the term
- payload
- The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
- supply-chain attacks
- 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
- postinstall hooks
- A script inside a software package that runs automatically right after a developer installs the package. Supply chain attackers abuse the postinstall hook in open-source packages so that as soon as a developer downloads a library, the script steals cloud keys from their laptop.
- scripts
- 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.
- endpoints
- Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
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 GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (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
"Sonatype tracks the finding as..." Found by reading the article; these exact words are in it - Security+ 1.4 Explain the importance of using appropriate cryptographic solutions.
"......in 10 Hijacked npm Packages Using Ethereum Blockchain to Deliver Malicious Code..." Found in the headline - Security+ 2.2 Explain common threat vectors and attack surfaces.
"PolinRider Malware Returns in 10 Hijacked npm Packages Using Ethereum Blockchain to Deliver Malicious Code..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"PolinRider Malware Returns in 10 Hijacked npm Packages Using..." Found in the headline - CYBR 101 week 8: networks, ports, DNS and packets
"......code inside developer environments, build systems, or applications." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"PolinRider Malware Returns in 10 Hijacked npm Packages Using..." Found in the headline
How a story is connected to the course, and every objective, week and job role