Uncommon Node.js package initiated communication to an external host
Synopsis
Activation Period
14 Days
Training Period
30 Days
Test Period
N/A (single event)
Deduplication Period
1 Day
Required Data
XDR Agent
Detector Tags
Malicious Packages Analytics
ATT&CK Tactic
Initial Access (TA0001)
ATT&CK Technique
Supply Chain Compromise: Compromise Software Dependencies and Development Tools (T1195.001)
Severity
Low
Description
An npm package executed by node.exe/bun.exe initiated an outbound connection to an external host that is rarely contacted by that package within the organization. Such abnormal connections can indicate supply-chain compromise (e.g. malicious postinstall scripts), but also command-and-control, data exfiltration, or other unexpected outbound activity.
Attacker's Goals
Abuse an npm package executed by node.exe/bun.exe (e.g. via a malicious postinstall script) to establish command and control or exfiltrate data to a rarely-seen external host.
Investigative actions
Review the full command line used by the package.
Check the reputation of the external destination host.
Verify whether the npm package is legitimate and expected on the host.
Variations
Was this helpful?
