Microsoft · Vendor blog

Unpacking the AsyncAPI npm supply chain compromise and import-time payload delivery

Published · Source: Microsoft

2 entities3 ATT&CK behaviors14 indicators10 claims

Entities & attribution

  • Tool

    Cobalt Strike

    “HTTP path examples /api/v1/beacon , /api/v1/file-result , /api/v1/file-content/”

    Page 1 · Paragraph 106

  • Artifact

    node.exe

    “…| where Timestamp > ago(3d) | where FileName in~ ("node", "node.exe") | where ProcessCommandLine has "node.exe -e \"const _0x5a…”

    Page 1 · Paragraph 124

MITRE ATT&CK behaviors

  • T1055 · Process Injection

    Privilege Escalation · Process injection

    “… roughly ninety minutes, each carrying the same maliciously injected loader: @asyncapi/specs (in both the 6.11.2-alpha.1 prere…”

    Page 1 · Paragraph 6

  • T1071.001 · Web Protocols

    Command and Control · C2 over HTTPS

    “…decrypts and evaluates a Miasma modular runtime with active command and control (C2), persistence, and decentralized fallback channels. Alt…”

    Page 1 · Paragraph 7

  • T1547.001 · Registry Run Keys

    Persistence · Registry Run key

    “…talled through platform-specific mechanisms: a Windows HKCU Run key ( miasma-monitor ), a Linux systemd user unit ( miasma-moni…”

    Page 1 · Paragraph 58

Indicators of compromise

Claims & evidence

  • Reported Claim

    Unpacking the AsyncAPI npm supply chain compromise and import-time payload delivery exhibits Process injection (T1055)

    “… roughly ninety minutes, each carrying the same maliciously injected loader: @asyncapi/specs (in both the 6.11.2-alpha.1 prere…”

    Page 1 · Paragraph 6

  • Reported Claim

    Unpacking the AsyncAPI npm supply chain compromise and import-time payload delivery exhibits C2 over HTTPS (T1071.001)

    “…decrypts and evaluates a Miasma modular runtime with active command and control (C2), persistence, and decentralized fallback channels. Alt…”

    Page 1 · Paragraph 7

  • Reported Claim

    Unpacking the AsyncAPI npm supply chain compromise and import-time payload delivery exhibits Registry Run key (T1547.001)

    “…talled through platform-specific mechanisms: a Windows HKCU Run key ( miasma-monitor ), a Linux systemd user unit ( miasma-moni…”

    Page 1 · Paragraph 58

  • Inferred Relationship

    Process injection precedes C2 over HTTPS

    “…decrypts and evaluates a Miasma modular runtime with active command and control (C2), persistence, and decentralized fallback channels. Alt…”

    Page 1 · Paragraph 7

  • Inferred Relationship

    C2 over HTTPS precedes Registry Run key

    “…talled through platform-specific mechanisms: a Windows HKCU Run key ( miasma-monitor ), a Linux systemd user unit ( miasma-moni…”

    Page 1 · Paragraph 58

  • Reported Claim

    85.137.53.71 used as network infrastructure

    “…odeJS masquerade directories, block outbound connections to 85.137.53[.]71 on ports 8080, 8081, and 8091, and rotate all credentials…”

    Page 1 · Paragraph 8

  • Reported Claim

    github.com used as network infrastructure

    “…ned packages under the automated identity npm-oidc-no-reply@github[.]com , producing artifacts with valid provenance signatures bu…”

    Page 1 · Paragraph 11

  • Reported Claim

    ipfs.io used as network infrastructure

    “const FILE_URL = 'hxxps://ipfs[.]io/ipfs/ '; const FILE_NAME = 'sync.js'; function getTargetD…”

    Page 1 · Paragraph 50

  • Reported Claim

    cloudflare-ipfs.com used as network infrastructure

    “…ce by blocking public IPFS gateways ( ipfs.io , dweb.link , cloudflare-ipfs.com , and others) at the network perimeter. This proactive meas…”

    Page 1 · Paragraph 78

  • Lore Hypothesis

    Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant

    “… roughly ninety minutes, each carrying the same maliciously injected loader: @asyncapi/specs (in both the 6.11.2-alpha.1 prere…”

    Page 1 · Paragraph 6