Cybersecurity news

Jessica Doner

Back to the list

24 npm Packages Abuse unpkg Mirrors to Host Fake Cloudflare CAPTCHA Pages

The Hacker News,

Researchers found that 24 npm packages were used to host fake CAPTCHA pages, leveraging the registry as safe storage for phishing infrastructure.

Phishing and scams

Overview

Cybersecurity researchers found a campaign using 24 npm packagesA reusable web code library published to the public npm registry for developers to install to host fake Cloudflare CAPTCHAA challenge on a web page designed to tell a human visitor apart from an automated bot pages. The attackers used the npm registryA central database of system settings on a computer or a public catalog that hosts software packages and its mirrors as a safe storage location for the malwareSoftware built to steal data, spy on users, lock files, or take control of a computer. When a user opens a link hosted on these mirrors, they see a fake verification page that redirectsA web flaw where a trusted site accepts an outside URL parameter and forwards visitors there them to an external site. This trick is designed to make the victim perform unintended actions that lead to malware deployment. The attackers initially used a typosquatRegistering a domain or software package with a common misspelling of a popular name domainThe human-readable name for a website or a centrally managed group of workplace computers to impersonate a Microsoft login page. Anyone who opens a link hosted on the npm mirror is tricked into carrying out actions that can lead to the deployment of malware.

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
CAPTCHA
A challenge on a web page designed to tell a human visitor apart from an automated bot. Online services use a CAPTCHA to slow down credential stuffing and spam bots, while attackers also use fake CAPTCHA screens to trick users into pasting malware commands.
registry
A central database of system settings on a computer or a public catalog that hosts software packages. In security news, the registry means either the operating system settings database where malware adds startup entries or a public package registry where developers download code libraries.
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
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.
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
domain
The human-readable name for a website or a centrally managed group of workplace computers. In security stories, domain refers either to a web address that criminals register for phishing or to an organization's internal computer network managed by a central server.
phishing
Tricking people into handing over passwords or money through fake messages that look real. Attackers send fake emails or messages that copy a bank, school, or login page so a reader types in their password or opens a malicious attachment. Security+ objective 2.2 lists the term
ClickFix
A lure that tricks a user into copying and running a malicious command themselves. A fake verification box or error pop-up on a website tells the visitor to press a key shortcut and paste a fix into their terminal, which silently downloads malware. Security+ objective 2.2 lists the term
threat actor's
A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 lists the term
prompt
The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
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.

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.

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

Same story at other outlets

Related