Poisoned Pipeline / Incidents / AS395

AS395 · 2022-08

Fake GitHub project clones carried malware committed under the original author's name

Git / GitHub

In August 2022 Stephen Lacy found a large-scale campaign forking random
GitHub repositories and altering the latest commit to add credential-stealing
code, attributed to the original committer. The payload sent environment
variables to attacker infrastructure, then waited for a command to run. The
forks were positioned to catch developers arriving from search-engine results
for code snippets. Most of the public forks disappeared quickly after the
disclosure, and an account @Pl0xP claimed the work as a bug-bounty exercise.
Checkmarx recorded the IOC ovz1.j19544519.pr46m.vps.myjino.ru.

Mapped techniques

supply-chain Fake GitHub project clones carried malware committed under t

T0111 · Resource Development · Malicious code contribution to an open-source repository

Malicious commits were added to cloned repositories.

T0195 · Defense Evasion · Spoofed Commits

Commits were attributed to the original author.

T0156 · Exfiltration · Exfiltration over webhooks

Environment variables were sent to attacker infrastructure.

Sources