Cybersecurity news

Jessica Doner

Back to the list

Malicious npm package ‘indexed-btree’ evades install-script defenses and detonates at runtime

The CyberSec Guru,

A malicious npm package evaded install-script defenses by triggering at runtime to exfiltrate data and communicate with a command server.

Overview

A malicious software package named indexed-btree was distributed through the npm registry. It bypassed the install-scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application defenses found in npm v12 by waiting to activate until the program was running. Once active, the package sent stolen data to Slack and Telegram while communicating with attackers through Ethereum-based C2The server or channel an attacker uses to send orders to computers infected with malware. This type of attack targets organizations that rely on third-party code libraries. The incident affects any developer or organization that installs this specific package.

Terms in this story

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.
C2
The server or channel an attacker uses to send orders to computers infected with malware. Once malware runs on a victim's computer, it quietly checks in with the attacker's command-and-control server to receive instructions or upload stolen files. Security+ objective 2.4 lists the term
npm package
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
runtime
The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
exfiltration
The unauthorized copying and sending of stolen files or records out of a victim's network. Before launching ransomware or after breaking into a cloud database, attackers perform data exfiltration by quietly uploading customer records to an external storage server they control. Security+ objective 2.1 lists the term

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 The CyberSec Guru website. Cite the article, not this page.

Read the full article on The CyberSec Guru (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