Microsoft · Vendor blog
Mini Shai Hulud: Compromised @antv npm packages enable CI/CD credential theft
Published · Source: Microsoft
Entities & attribution
Artifact
bun.exe
“…der XDR Suspicious file creation in temporary directory by Bun.exe binary Suspicious Bun execution from Node.js process”
Page 1 · Paragraph 93
Artifact
node.exe
“DeviceProcessEvents | where FileName in~ ("node.exe", "npm.cmd", "npm.exe", "npx.cmd", "npx.exe") | where Proce…”
Page 1 · Paragraph 110
Artifact
npm.exe
“…ProcessEvents | where FileName in~ ("node.exe", "npm.cmd", "npm.exe", "npx.cmd", "npx.exe") | where ProcessCommandLine has_any …”
Page 1 · Paragraph 110
Artifact
npx.exe
“…FileName in~ ("node.exe", "npm.cmd", "npm.exe", "npx.cmd", "npx.exe") | where ProcessCommandLine has_any ("preinstall", "postin…”
Page 1 · Paragraph 110
MITRE ATT&CK behaviors
T1071.001 · Web Protocols
Command and Control · C2 over HTTPS
“Layer 2: Critical strings such as command-and-control (C2) domain and env var names are encrypted with a custom PBKDF…”
Page 1 · Paragraph 25
T1055 · Process Injection
Privilege Escalation · Process injection
“Injects sudoers rule through bind mount: echo ‘runner ALL=(ALL) NO…”
Page 1 · Paragraph 48
Indicators of compromise
sha256
a8269c01069452afb8a54de904e6419578d155fdbdb9e566bab8576a4266b61e“…F2+SHA256 runtime decryption for critical strings var e6 = "a8269c01069452afb8a54de904e6419578d155fdbdb9e566bab8576a4266b61e"; var t6 = "7f44e4ba6f6a71bd0f789e7f83bd3104"; var u5 = new…”
Page 1 · Paragraph 29
md5
7f44e4ba6f6a71bd0f789e7f83bd3104“…8a54de904e6419578d155fdbdb9e566bab8576a4266b61e"; var t6 = "7f44e4ba6f6a71bd0f789e7f83bd3104"; var u5 = new du(e6, t6); // PBKDF2 cipher instance global…”
Page 1 · Paragraph 29
ipv4
169.254.169[.]254“…azon Web Services(AWS) : Queries Instance Metadata Service (169.254.169[.]254), Elastic Container Service metadata (169.254.170[.]2), r…”
Page 1 · Paragraph 34
ipv4
169.254.170[.]2“…ce (169.254.169[.]254), Elastic Container Service metadata (169.254.170[.]2), reads .aws/ files, harvests env vars, and then calls Se…”
Page 1 · Paragraph 34
ipv4
127.0.0[.]1“….vault-token , and others) and connects to a local Vault at 127.0.0[.]1:8200.”
Page 1 · Paragraph 35
url
hxxps://security.microsoft[.]com/threatanalytics3/5879a0e7-f145-407b-bc84-1ae405a016ea/overview“https://security.microsoft.com/threatanalytics3/5879a0e7-f145-407b-bc84-1ae405a016ea/overview”
Page 1 · Paragraph 105
domain
t.m-kosche[.]com“…rkEvents | where Timestamp > ago(2d) | where RemoteUrl has "t.m-kosche.com"”
Page 1 · Paragraph 124
sha256
a68dd1e6a6e35ec3771e1f94fe796f55dfe65a2b94560516ff4ac189390dfa1c“a68dd1e6a6e35ec3771e1f94fe796f55dfe65a2b94560516ff4ac189390dfa1c SHA-256 Malicious payload JavaScript file”
Page 1 · Paragraph 132
sha256
fb5c97557230a27460fdab01fafcfabeaa49590bafd5b6ef30501aa9e0a51142“fb5c97557230a27460fdab01fafcfabeaa49590bafd5b6ef30501aa9e0a51142 SHA-256 Malicious backdoor Python script”
Page 1 · Paragraph 133
Claims & evidence
Reported Claim
Mini Shai Hulud: Compromised @antv npm packages enable CI/CD credential theft exhibits C2 over HTTPS (T1071.001)
“Layer 2: Critical strings such as command-and-control (C2) domain and env var names are encrypted with a custom PBKDF…”
Page 1 · Paragraph 25
Reported Claim
Mini Shai Hulud: Compromised @antv npm packages enable CI/CD credential theft exhibits Process injection (T1055)
“Injects sudoers rule through bind mount: echo ‘runner ALL=(ALL) NO…”
Page 1 · Paragraph 48
Inferred Relationship
C2 over HTTPS precedes Process injection
“Injects sudoers rule through bind mount: echo ‘runner ALL=(ALL) NO…”
Page 1 · Paragraph 48
Reported Claim
169.254.169.254 used as network infrastructure
“…azon Web Services(AWS) : Queries Instance Metadata Service (169.254.169[.]254), Elastic Container Service metadata (169.254.170[.]2), r…”
Page 1 · Paragraph 34
Reported Claim
169.254.170.2 used as network infrastructure
“…ce (169.254.169[.]254), Elastic Container Service metadata (169.254.170[.]2), reads .aws/ files, harvests env vars, and then calls Se…”
Page 1 · Paragraph 34
Reported Claim
127.0.0.1 used as network infrastructure
“….vault-token , and others) and connects to a local Vault at 127.0.0[.]1:8200.”
Page 1 · Paragraph 35
Reported Claim
t.m-kosche.com used as network infrastructure
“…rkEvents | where Timestamp > ago(2d) | where RemoteUrl has "t.m-kosche.com"”
Page 1 · Paragraph 124
Lore Hypothesis
Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant
“Layer 2: Critical strings such as command-and-control (C2) domain and env var names are encrypted with a custom PBKDF…”
Page 1 · Paragraph 25