Cybersecurity news

Jessica Doner

Back to the list

Attacker Used 4,837 Hijacked GitHub Accounts to Run a CI Secret Stealer in 1,806+ Repositories

The Hacker News,

"Starting Tuesday, an attacker used stolen credentials for 4,837 GitHub accounts to plant a secret stealer in repositories those accounts could write to, according to Aikido Security, a security software company."

Malware and ransomware

Overview

An attacker used stolen credentialsStealing usernames, passwords, login tokens, or keys so an attacker can sign in as a real user for 4,837 GitHub accounts to plant a secret stealerMalware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device in repositories those accounts could write to. The stealer is built to take the secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys and cloud credentialsAccess keys, tokens, or login secrets that grant control over cloud servers and storage that a repository'sA central storage place where a software project's source code, change history, and configuration files are kept CI workflows can reach. It ran in at least 1,806 repositories, where the attacker has likely collected those credentialsThe login details, such as a username and password or key, that prove who an account belongs to. Each attack started with a pull requestA proposed set of code changes submitted to a software repository for maintainers to review and merge titled docs: dependencyAn external code library or package that a software project relies on to do part of its work auditA formal, systematic review of an organization's code, configurations, logs, and policies against security standards notes, opened from a branch named wfx-docs to test whether the account could write to the repository. These test pull requests were opened in 61,764 repositories, and the stealer followed in some of them. In 7,309 of those repositories, the stealer was added to an existing workflow, while in 771 it came as an npm postinstall hookA script inside a software package that runs automatically right after a developer installs the package.

Terms in this story

stolen credentials
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
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
Stealer
Malware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device. Victims often download an infostealer through a fake game crack or malicious ad, and the stolen login cookies are then sold to ransomware crews on criminal markets. Security+ objective 2.4 lists the term
secrets
Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
cloud credentials
Access keys, tokens, or login secrets that grant control over cloud servers and storage. Attackers scan public code repositories and developer laptops for cloud credentials so they can spin up cryptominers or download company databases.
repository's
A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
pull request
A proposed set of code changes submitted to a software repository for maintainers to review and merge. In open-source security news, attackers sometimes submit a normal-looking pull request that hides a backdoor or exploits the project's automated test pipeline.
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.
audit
A formal, systematic review of an organization's code, configurations, logs, and policies against security standards. Companies hire outside specialists to conduct a security audit before launching a major product or to prove to customers and regulators that their controls work. Security+ objective 4.3 lists the term
postinstall hook
A script inside a software package that runs automatically right after a developer installs the package. Supply chain attackers abuse the postinstall hook in open-source packages so that as soon as a developer downloads a library, the script steals cloud keys from their laptop.
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.
logs
Timestamped records that servers and apps write whenever someone signs in, changes a setting, or makes a request. During an investigation, responders examine security logs to trace when an attacker first logged in and which internal machines they accessed. Security+ objective 4.4 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.

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

Same story at other outlets

Related

The sentence in quotation marks is the outlet's own first sentence.