Microsoft · Vendor blog
Preinstall to persistence: Inside the Red Hat npm Miasma credential-stealing campaign
Published · Source: Microsoft
Entities & attribution
Artifact
node.exe
“…XDR : – Suspicious file creation in temporary directory by node.exe – Suspicious Bun execution from Node.js process”
Page 1 · Paragraph 129
Artifact
bun.exe
“…ode", "node.exe") | where FileName == "bun" or FileName == "bun.exe" | join kind=inner ( DeviceProcessEvents | where Initiating…”
Page 1 · Paragraph 147
MITRE ATT&CK behaviors
T1071.001 · Web Protocols
Command and Control · C2 over HTTPS
“…ta is transmitted using three separate command-and-control (C2) channels, including abuse of GitHub infrastructure as an e…”
Page 1 · Paragraph 18
T1055 · Process Injection
Privilege Escalation · Process injection
“Injects sudoers rule through bind mount: echo ‘runner ALL=(ALL) NO…”
Page 1 · Paragraph 50
Indicators of compromise
domain
Obfuscator[.]io“Stage 3 – Obfuscator.io string-array protection: The Bun-executed payload is additi…”
Page 1 · Paragraph 29
domain
management.azure[.]com“Azure : Collects IMDS OAuth2 tokens for management.azure.com , graph.microsoft.com , and Key Vault ( *.vault.azure.net )…”
Page 1 · Paragraph 38
domain
graph.microsoft[.]com“…re : Collects IMDS OAuth2 tokens for management.azure.com , graph.microsoft.com , and Key Vault ( *.vault.azure.net ).”
Page 1 · Paragraph 38
domain
vault.azure[.]net“…agement.azure.com , graph.microsoft.com , and Key Vault ( *.vault.azure.net ).”
Page 1 · Paragraph 38
ipv4
127.0.0[.]1“Vault/K8s : Probes Vault (127.0.0.1:8200) across many token paths; reads Kubernetes Service Acc…”
Page 1 · Paragraph 40
domain
github[.]com“…: update dependencies [skip ci] with spoofed github-actions@github.com .”
Page 1 · Paragraph 58
domain
api.anthropic[.]com“… C (dormant HTTPS sender): Includes a disabled POST path to api.anthropic.com:443/v1/api ( noop: true in this sample). The same domain is…”
Page 1 · Paragraph 59
url
hxxps://security.microsoft[.]com/threatanalytics3“…eport for this campaign in the Microsoft Defender portal at https://security.microsoft.com/threatanalytics3 for the latest indicators, recommended actions, and mitigat…”
Page 1 · Paragraph 137
filepath
C:\Users\*\AppData\Local\Temp“…re FolderPath startswith "/tmp/" or FolderPath startswith @"C:\Users\*\AppData\Local\Temp" | project Timestamp, DeviceName, InitiatingProcessFileName…”
Page 1 · Paragraph 141
ipv4
169.254.169[.]254“DeviceNetworkEvents | where RemoteIP in ("169.254.169.254", "169.254.170.2") | where InitiatingProcessFileName in ("n…”
Page 1 · Paragraph 149
ipv4
169.254.170[.]2“…eviceNetworkEvents | where RemoteIP in ("169.254.169.254", "169.254.170.2") | where InitiatingProcessFileName in ("node", "node.exe",…”
Page 1 · Paragraph 149
domain
registry.npmjs[.]org“DeviceNetworkEvents | where RemoteUrl has "registry.npmjs.org/-/npm/v1/tokens" or RemoteUrl has "registry.npmjs.org/-/who…”
Page 1 · Paragraph 153
sha256
396cac9e457ec54ff6d3f6311cb5cc1da8054d019ce3ffa1de5741506c7a4ea4“396cac9e457ec54ff6d3f6311cb5cc1da8054d019ce3ffa1de5741506c7a4ea4 Sha256 Index.js (from redhat-cloud-services/remediations-cl…”
Page 1 · Paragraph 160
sha256
d8d170af3de17bb9b217c52aaaffdf9395f35ef015a57ef676e406c121e5e223“d8d170af3de17bb9b217c52aaaffdf9395f35ef015a57ef676e406c121e5e223 Sha256 index.js (from @redhat-cloud-services/frontend-compo…”
Page 1 · Paragraph 161
sha256
f0641e053e81f0d01fa46db35a83e0a34494886503086866d956d14e81fd3e1c“f0641e053e81f0d01fa46db35a83e0a34494886503086866d956d14e81fd3e1c Sha256 index.js (from @redhat-cloud-services/hcc-kessel-mcp…”
Page 1 · Paragraph 162
sha256
d5a97614d5319ce9c8e01fa0b4eb06fb5b9e54fa13b23d718174a1546444123b“d5a97614d5319ce9c8e01fa0b4eb06fb5b9e54fa13b23d718174a1546444123b Sha256 index.js (from @redhat-cloud-services/frontend-compo…”
Page 1 · Paragraph 163
sha256
f88258e21592084a2f93a572ade8f9b91c0cd0e242f5cf6121ed7bad0f7bdd1f“f88258e21592084a2f93a572ade8f9b91c0cd0e242f5cf6121ed7bad0f7bdd1f Sha256 index.js (from @redhat-cloud-services/frontend-compo…”
Page 1 · Paragraph 164
sha256
25e121e3b7d300c0d0075b33e5eca39a3e6a659fb9cfee52b70ef71686628f1b“25e121e3b7d300c0d0075b33e5eca39a3e6a659fb9cfee52b70ef71686628f1b Sha256 index.js (from @redhat-cloud-services/chrome-2.3.4)”
Page 1 · Paragraph 165
Claims & evidence
Reported Claim
Preinstall to persistence: Inside the Red Hat npm Miasma credential-stealing campaign exhibits C2 over HTTPS (T1071.001)
“…ta is transmitted using three separate command-and-control (C2) channels, including abuse of GitHub infrastructure as an e…”
Page 1 · Paragraph 18
Reported Claim
Preinstall to persistence: Inside the Red Hat npm Miasma credential-stealing campaign exhibits Process injection (T1055)
“Injects sudoers rule through bind mount: echo ‘runner ALL=(ALL) NO…”
Page 1 · Paragraph 50
Inferred Relationship
C2 over HTTPS precedes Process injection
“Injects sudoers rule through bind mount: echo ‘runner ALL=(ALL) NO…”
Page 1 · Paragraph 50
Reported Claim
Obfuscator.io used as network infrastructure
“Stage 3 – Obfuscator.io string-array protection: The Bun-executed payload is additi…”
Page 1 · Paragraph 29
Reported Claim
management.azure.com used as network infrastructure
“Azure : Collects IMDS OAuth2 tokens for management.azure.com , graph.microsoft.com , and Key Vault ( *.vault.azure.net )…”
Page 1 · Paragraph 38
Reported Claim
graph.microsoft.com used as network infrastructure
“…re : Collects IMDS OAuth2 tokens for management.azure.com , graph.microsoft.com , and Key Vault ( *.vault.azure.net ).”
Page 1 · Paragraph 38
Reported Claim
vault.azure.net used as network infrastructure
“…agement.azure.com , graph.microsoft.com , and Key Vault ( *.vault.azure.net ).”
Page 1 · Paragraph 38
Reported Claim
127.0.0.1 used as network infrastructure
“Vault/K8s : Probes Vault (127.0.0.1:8200) across many token paths; reads Kubernetes Service Acc…”
Page 1 · Paragraph 40
Reported Claim
github.com used as network infrastructure
“…: update dependencies [skip ci] with spoofed github-actions@github.com .”
Page 1 · Paragraph 58
Lore Hypothesis
Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant
“…ta is transmitted using three separate command-and-control (C2) channels, including abuse of GitHub infrastructure as an e…”
Page 1 · Paragraph 18