Cybersecurity news

Jessica Doner

Back to the list

Gheist Attackers Stumble in Attempt to Abuse GitHub Tokens

Infosecurity Magazine,

Attackers using stolen tokens planted secret-stealing workflows across many branches in over 850 compromised accounts before the campaign was disrupted.

Attacks and breachesMalware and ransomware

Overview

Attackers used stolen access tokensA short-lived digital pass that a server gives a logged-in user or app to plant secret-stealing workflows across more than 13,500 branches in repositoriesA central storage place where a software project's source code, change history, and configuration files are kept belonging to over 850 compromised accounts. The campaign, dubbed Gheist, targeted every repository the stolen tokens could reach, including personal projects and private enterprise repositories. The attackers created branches that printed repository secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys into logsTimestamped records that servers and apps write whenever someone signs in, changes a setting, or makes a request, which they then downloaded and deleted to avoid detection. A GitHub control introduced in July places potentially malicious workflow runs in public repositories on hold until a collaborator approves them, which prevented the malicious workflows from executing in those environments. However, the protection does not extend to private repositories or GitHub Enterprise ServerA computer or program on a network that stores data and responds to requests from client devices, where the attackers successfully completed their runs before removing them. As of October 24, roughly two-thirds of the implicated accounts were no longer available on GitHub, likely due to response activity after the campaign was reported.

Terms in this story

access tokens
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
repository
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.
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.
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
Server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
infostealer
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
supply chain compromises
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
scanner
Using automated tools to probe computers, networks, or code for known security flaws and missing patches. Both defenders and attackers run vulnerability scanning across internet-facing servers to find out which machines are still running outdated software versions. Security+ objective 4.3 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
cryptomining
Running heavy math calculations on a computer to generate cryptocurrency. When attackers break into a cloud account or server, they often install unauthorized cryptomining software that maxes out the processors and runs up huge electricity or cloud bills. Security+ objective 2.4 lists the term
API
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
command-and-control (C2) server
The server or channel an attacker uses to send orders to computers infected with malware. Once malware runs on a victim's computer, it quietly checks in with the attacker's command-and-control server to receive instructions or upload stolen files. Security+ objective 2.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 Infosecurity Magazine website. Cite the article, not this page.

Read the full article on Infosecurity Magazine (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