Cybersecurity news

Jessica Doner

Back to the list

Malicious npm Campaign Hijacks 42 GitHub Repositories to Steal Credentials and Spread Malware

GBHackers,

Attackers hijacked 42 GitHub repositories to steal credentials and spread malware by disguising malicious code as legitimate development tools.

Malware and ransomware

Overview

Researchers found that 42 GitHub repositories belonging to 11 legitimate owners were hijacked in a campaign that steals credentialsThe login details, such as a username and password or key, that prove who an account belongs to and spreads malwareSoftware built to steal data, spy on users, lock files, or take control of a computer. The attackers used malicious npm packages to execute hidden code that bypassed standard security checks. This operation extended beyond simple test packages to compromise the repositories of established developers. The threat matters because it targets the tools and code that organizations rely on to build and maintain software. The background idea is that attackers can hide malicious code inside the software components that developers install. The compromised repositories now contain files that can launch the payloadThe part of an attack or malware file that carries out the harmful action on the target without a developer explicitly running a command.

Terms in this story

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
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
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.
exploitation
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
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.
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
AES
The standard symmetric cipher today, with 128, 192 or 256-bit keys. From laptop disk encryption and wireless networks to HTTPS traffic, AES is the workhorse cipher that protects everyday data, and even ransomware gangs use it to lock victims' files. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)
credential-stealing
Stealing usernames, passwords, login tokens, or keys so an attacker can sign in as a real user. Attackers use phishing pages, keyloggers, and memory dumps for credential theft because logging in with a real employee's password triggers fewer alarms than a noisy software exploit. Security+ objective 2.4 lists the term
Code execution
A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
configurations
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
session
An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
enumeration
Systematically probing a system or login form to discover valid usernames, files, or network resources. If a password reset page says whether an email address is registered, attackers run account enumeration to build a verified list of customer accounts to target.

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.

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

Same story at other outlets

Related