Skip to main content
Shai-Hulud: Self-Replicating npm Post-Install Worm Harvesting CI/CD Secrets operation cover
AdvancedXDRFirewallPRO

Shai-Hulud: Self-Replicating npm Post-Install Worm Harvesting CI/CD Secrets

A routine dependency bump on a shared Linux CI runner pulls a trojanized npm package whose postinstall hook runs a bundled worm. The worm harvests GitHub, npm, and cloud credentials from the filesystem and the Instance Metadata Service, verifies them with TruffleHog, exfiltrates the loot to a free webhook dropbox, then reuses the stolen tokens to flip private repositories public as '-migration' clones, create a public Shai-Hulud loot repository, and republish itself into the organization's own packages. Reconstruct the self-replicating supply chain compromise from endpoint XDR and egress firewall telemetry, and classify the key ATT&CK techniques.

1h 15m
8 tasks
150 points
Pro

Start this operation

Investigation Tasks

Complete each task by investigating alerts and submitting your findings.

1

Incident brief

0

Orient yourself before pivoting into the data. This is a no-answer briefing checkpoint.

2

Find the file the install executed

40

Every later event traces back to one script that ran during the dependency install. Identify the file the package's lifecycle hook executed.

Hint available
3

Recover the payload's huntable indicator

40

Pin down the file-level indicator for the worm so it can be swept across every runner and developer machine. Provide the SHA-256 of the bundled script.

Hint available
4

Classify the install-time execution

35

The payload ran with no user interaction beyond pulling a dependency. Identify the MITRE ATT&CK technique for how the supply chain delivered the code.

Hint available
5

Separate the exfiltration from the build traffic

40

The worm sent the harvested credentials somewhere no build job should. Identify the external host that received the exfiltrated secrets.

Hint available
6

Classify the metadata-service credential theft

35

Beyond the filesystem, the worm pulled cloud role credentials from one specific endpoint. Classify that credential-access technique.

Hint available
7

Recover the leaked private repository

35

The stolen GitHub token was used to expose source code in the open. Identify the public clone the worm created from a private repository.

Hint available
8

Classify the self-propagation step

35

The worm did more than steal, it spread itself further down the supply chain. Identify the technique for how it re-entered the ecosystem.

Hint available

8 tasks · 260 points total

Training Tools

Skills You'll Build

Investigate realistic security alerts
XDR log analysis
Firewall log analysis
MITRE ATT&CK® technique identification
Triage decisions: escalate, investigate, or close
Evidence collection and documentation
Job-ready incident response methodology
Advanced

Complex multi-stage investigations. Realistic noise, ambiguous indicators, lateral movement.

Prerequisites

  • Basic understanding of security alerts
  • Experience with log analysis tools
  • Familiarity with XDR concepts
  • Familiarity with Firewall concepts

Ready to investigate?

More Operations

View all
AdvancedSIEMXDR

Ivanti CSA Exploit Chain: Auth Bypass + SQLi/Command Injection to Webshell

A suspected nation-state operator chained four Ivanti Cloud Services Appliance zero-days against an internet-facing appliance: an unauthenticated path-traversal auth bypass, command injection in the date/time and reporting handlers for root-level execution, PHP webshells for persistence, theft of the appliance administrator password and root SSH key, and a SQL-injection pivot to a backend SQL Server via xp_cmdshell. Reconstruct the full chain from SIEM, endpoint XDR, and perimeter firewall telemetry, and classify the key techniques.

1h 15m150 pts
AdvancedSIEMXDR

Sandworm's MicroSCADA Living-off-the-Land Substation Trip

A two-stage Sandworm-style operation against an electricity transmission operator. A months-old webshell-and-tunnel foothold on a DMZ server was pivoted onto the hypervisor hosting a MicroSCADA management VM. Rather than drop custom OT malware, the operator mounted an optical-disc image as a virtual CD-ROM and used autorun to chain a VBScript to a batch file that drove the native MicroSCADA SCIL compiler against an attacker SCIL program, relaying unauthorized IEC-104 commands that tripped substation breakers. Two days later, GPO-pushed CADDYWIPER wiped the IT estate to inhibit response. Reconstruct the full kill chain from SIEM, endpoint XDR, and firewall telemetry, and classify the key ATT&CK for ICS techniques.

1h 35m150 pts
Advanced

Wire Before Friday

A mail showing Tom Kessler's real address asks Harbourline's CFO to wire a $96,500 retention release to a new account before Friday, two weeks after Accounts Payable paid Kessler's last invoice to another new account. Kessler says they sent neither mail. Decide whose tenant the intruder is in, what they saw and changed, and what must be shut before the payment run.

1h 50m150 pts