Npm

Description

Dataset generated in attack range for the attack technique of npm supply chain.

MITRE ATT&CK Techniques

ID Technique Tactic
T1195.001 T1195.001 Multiple

Environment Details

Field Value
Environment attack_range
Directory npm
Test Date 2025-10-28

Datasets

The following datasets were collected during this attack simulation:

Workflow_yml_sysmon_linux

  • Path: /datasets/attack_techniques/T1195.001/npm/workflow_yml_sysmon.log
  • Sourcetype: sysmon:linux
  • Source: Syslog:Linux-Sysmon/Operational

Shai_hulud_workflow_sysmon

  • Path: /datasets/attack_techniques/T1195.001/npm/shai_hulud_workflow_sysmon.log
  • Sourcetype: sysmon:linux
  • Source: Syslog:Linux-Sysmon/Operational

Windows_workflow_sysmon

  • Path: /datasets/attack_techniques/T1195.001/npm/windows_workflow_sysmon.log
  • Sourcetype: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
  • Source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational

The following detections in our security content repository use this attack data for testing:

Detection Name Type Source MITRE ATT&CK Analytic Story
GitHub Workflow File Creation or Modification Hunting Endpoint T1574.006, T1554, T1195 NPM Supply Chain Compromise
Shai-Hulud 2 Exfiltration Artifact Files TTP Endpoint T1074.001, T1552.001, T1195.002 NPM Supply Chain Compromise
Shai-Hulud Workflow File Creation or Modification TTP Endpoint T1574.006, T1554, T1195 NPM Supply Chain Compromise

Usage Instructions

Replay with Splunk Attack Data

Replay attack data with replay.py from Splunk Attack Data.

1python replay.py --dataset /datasets/attack_techniques/T1195.001/npm/workflow_yml_sysmon.log --index attack_data

Manual Import

  1. Download the dataset files from the paths listed above
  2. Configure your Splunk instance with the appropriate sourcetypes
  3. Import the logs using the Splunk Add Data wizard

Find more detections and analytics for this attack technique in our security content repository.


Source: GitHub | Version: 1.0