18 Malicious npm Packages Deliver Cross-Platform RAT to Alibaba Tool Users
Researchers found malicious npm packages that deliver a remote access trojan to users of Alibaba developer tools in a targeted supply chain attack.
Overview
Researchers found 18 malicious npm packagesA reusable web code library published to the public npm registry for developers to install that deliver a cross-platform remote access trojanMalware disguised as a normal file that gives an attacker remote control over the victim's computer to users of Alibaba developer tools. These packages target Chinese-speaking environments through a sophisticated software supply chainAll the open-source libraries, build tools, code repositories, and update servers that go into making a program attack. One package named lib-mtop impersonates a private Alibaba package under the @ali scope. It was first published in November 2023 with no functionality, but three new versions were uploaded in March and April. The maintainerThe developer or small team responsible for reviewing changes and publishing releases for an open-source project account ch4ce also published four other packages that act as empty wrappers or contain split loaderA stage of malware that runs first on an infected machine to fetch, decrypt, and launch other payloads logic. Developers working in companies part of the Alibaba Group are affected because the malicious code activates when installed in environments with access to the impersonated private packages.
Terms in this story
- 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
- 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
- remote access
- The ability to log in to and control a computer or network from another location. Many workers and support technicians use remote access tools to work from home, and attackers target those same portals to enter a company network without being in the building. Security+ objective 3.2 lists the term
- trojan
- Malware disguised as a legitimate or useful program to trick a user into running it. Attackers distribute a trojan by hiding spyware inside a fake software installer, game mod, or browser update so the victim launches it willingly. Security+ objective 2.4 lists the term
- software supply chain
- All the open-source libraries, build tools, code repositories, and update servers that go into making a program. Protecting the software supply chain means making sure no attacker has tampered with the third-party packages, build pipelines, or signing keys used to ship an application.
- 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
- 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.
- loader
- 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
- account takeover
- When an attacker steals login access to a real user's account and locks the owner out. After an account takeover through phishing or credential stuffing, criminals change the victim's recovery email or phone number and use the account for fraud or further attacks. Security+ objective 2.4 lists the term
- 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.
- redirects
- A web flaw where a trusted site accepts an outside URL parameter and forwards visitors there. Attackers abuse an open redirect on a well-known website so the link in their email starts with a trusted domain name before forwarding the victim to a fake login page.
- sandbox
- An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.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 Hacker News website. Cite the article, not this page.
Read the full article on The Hacker 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.
- Kind of story: Research and reports
"Cybersecurity researchers have discovered..." Found by reading the article; these exact words are in it - Who is affected: "...users of Alibaba developer tools..."
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"18 Malicious npm Packages Deliver Cross-Platform RAT to Alibaba Tool Users..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"......as part of a sophisticated, targeted software supply chain attack targeting Chinese-speaking environments. One of the..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"18 Malicious npm Packages Deliver Cross-Platform RAT to Alibaba Tool Users..." Found in the headline - Security+ 3.2 Given a scenario, apply security principles to secure enterprise infrastructure.
"......of Alibaba developer tools with a cross-platform remote access trojan (RAT) as part of a sophisticated,..." Found in the opening sentences - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"......as part of a sophisticated, targeted software supply chain attack targeting Chinese-speaking environments. One of the..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"18 Malicious npm Packages Deliver Cross-Platform RAT to Alibaba Tool Users..." Found in the headline
How a story is connected to the course, and every objective, week and job role