Check your GitHub repos: A secret stealer hit tens of thousands of them
A threat actor used stolen credentials to push malware into many repositories, stealing secrets from over 1,800 of them.
Overview
A threat actorA person or group that carries out cyberattacks, whether for money, spying, or disruption used stolen GitHub credentialsThe login details, such as a username and password or key, that prove who an account belongs to to push a credential-stealingStealing usernames, passwords, login tokens, or keys so an attacker can sign in as a real user payloadThe part of an attack or malware file that carries out the harmful action on the target into tens of thousands of repositories since November 10. In more than 1,800 of these repositories, the malwareSoftware built to steal data, spy on users, lock files, or take control of a computer executed and sent GitHub Actions 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 to the attacker. The campaign, named wfx-loot, involved 4,837 compromised accounts opening probe pull requestsA proposed set of code changes submitted to a software repository for maintainers to review and merge in 61,764 repositories. One stolen tokenA short-lived digital pass that a server gives a logged-in user or app can expose every project its owner can write to, as 10,431 pull requests reached repositories the account did not own. The attacker injects a shellThe command-line interpreter program that accepts text commands and runs them on an operating system scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application into automated jobs that hold keysThe secret value that locks or opens a message to cloud accounts, then cleans up the evidence within a minute. Any machine that installed or opened the affected Packagist package should be treated as compromised.
Terms in this story
- threat actor
- 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
- 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
- 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
- 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.
- 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
- 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.
- pull requests
- 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.
- token
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- shell
- The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
- 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.
- keys
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
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 Help Net Security website. Cite the article, not this page.
Read the full article on Help Net Security (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: Breach or attack
"...shipped GitHub Actions secrets and cloud credentials..." Found by reading the article; these exact words are in it - Who is affected: "...tens of thousands of repositories..." Organizations using the product
Copied word for word from the article - Security+ 2.1 Compare and contrast common threat actors and motivations.
"A threat actor using stolen GitHub credentials has pushed a..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Check your GitHub repos: A secret stealer hit tens of thousands of them..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"A threat actor using stolen GitHub credentials has pushed a credential-stealing payload into tens..." Found in the opening sentences - Security+ 4.7 Explain the importance of automation and orchestration related to secure operations.
"......of them, the malware ran and shipped GitHub Actions secrets and cloud credentials to the attacker." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"A threat actor using stolen GitHub credentials has pushed a..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"Check your GitHub repos: A secret stealer hit tens of thousands of them..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of a broad range of malicious activity concepts.
"...credential-stealing payload into tens of thousands..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Thousands of GitHub repos hit with secret-stealing malware
- Hackers compromise 4,800 GitHub accounts to steal cloud credentials
- Hackers Hijack 4,837 GitHub Accounts to Target 61,764 Repositories With CI Secret-Stealing Malware
- Attacker Used 4,837 Hijacked GitHub Accounts to Run a CI Secret Stealer in 1,806+ Repositories
- Hackers Compromise Nearly 5,000 GitHub Accounts to Steal Secrets From Software Development Pipelines
- Compromised GitHub accounts push CI secret stealer to tens of thousands of repositories