Poisoned Pipeline / Incidents / AS382

AS382 · 2022-03

86 malicious npm packages named after common NodeJS functions

npm

Sonatype's automated detection caught 86 npm packages named after everyday
NodeJS and JavaScript functions and classes — document-create-element,
array-iteration, an-object — each published from a different automatically
generated account. All sat at 99.x.x versions and exfiltrated hostname,
username and IP to 425a2.rt11[.]ml. Some impersonated real Microsoft packages
such as rush-lib to target Azure developers. The code contained kill switches
for the operators' own machines (hostname DESKTOP-4E1IS0K, user daasadmin),
which is how Sonatype concluded the same author scripted the whole set. The
campaign followed a 400+ package wave against Azure, Uber and Airbnb
developers the previous week.

Mapped techniques

supply-chain 86 malicious npm packages named after common NodeJS function

T0120 · Initial Access · Dependency confusion

99.x.x versions claimed internal-looking names.

T0109 · Resource Development · Publish malicious artifact

86 packages from scripted throwaway accounts.

T0100 · Reconnaissance · Discover naming conventions

Names were chosen from common NodeJS function names.

Sources