Cybersecurity news

Jessica Doner

Back to the list

Shai-Hulud CHAINDROP Worm Backdoors 400+ npm Packages With 1.3 Billion Monthly Downloads

Cyber Security News,

A malware strain backdoored over 400 packages after compromising a key library maintainer, using trusted updates to steal developer credentials and spread further.

Malware and ransomware

Overview

A new malware strain called CHAINDROP has backdoored more than 400 packages in the npm ecosystem after attackers compromised the maintainerThe developer or small team responsible for reviewing changes and publishing releases for an open-source project of the keyv library. This self-propagating malware spreads by using stolen credentialsThe login details, such as a username and password or key, that prove who an account belongs to to publish altered versions of software packages that developers routinely install. The attack began with the keyv monorepo and expanded rapidly, affecting a package set with more than 1.3 billion monthly downloads. Attackers inserted a preinstall hook into package.json, which allows malicious codeSoftware built to steal data, spy on users, lock files, or take control of a computer to run before a package finishes installing. This method lets the malware steal developer credentials from systems on Linux, macOS, and Windows without the user needing to open or import the software. Developers and build systems are now exposed because the malware can alter repositories and inject files into packages that victims are allowed to update.

Terms in this story

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.
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
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
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
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
access tokens
A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 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
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.
patch
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
dropper
A small program whose job is to sneak past defenses and install the main malware payload. Attackers attach a small dropper to a phishing email so it looks harmless to antivirus scanners, and once run it unpacked or downloads the real ransomware.
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.
SSH
An encrypted network protocol that administrators and developers use to log in to remote servers and run commands. Attackers constantly scan the internet for servers with open SSH ports and weak passwords, while defenders protect SSH access with cryptographic keys instead of passwords.

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 Cyber Security News website. Cite the article, not this page.

Read the full article on Cyber Security News (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.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related