Windows Process Creation: Bun executes bun_environment.js via node.exe

Flags node.exe spawning bun.exe with a command line containing bun_environment.js and a GitHub runner release download.

FreeReviewedSigma · High · v5
Product
windows
Category
process_creation
Author
Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2025-11-25
Updated
2026-07-31

ATT&CK techniques

Initial Access → Execution
  1. Recon

  2. Resource Dev

  3. Persistence

  4. Priv Esc

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule identifies when node.exe spawns bun.exe with a command line that includes execution of bun_environment.js. It matters because abusing the Bun runtime can run attacker-controlled JavaScript payloads during supply-chain style compromises. The detection relies on Windows process creation telemetry, matching parent-child Image paths and specific command-line substrings related to bun_environment.js and an external download URL.

Related detections9 linkedT1195.002 — drag to rearrange
Linux Bun Runtime Execution: bun_environment.js via node-parent process
Malicious Shai-Hulud Self-Hosted GitHub Runner Registration via Process Creation
Suspicious Google Workspace OAuth Authorization for Chrome Web Store Scope via Token Audit
Malicious Shai-Hulud npm Worm Marker via SHA1HULUD Process Name (via process_creation)
Malicious Shai-Hulud Self-Hosted GitHub Actions Runner Named SHA1HULUD (via process_creation)
Suspicious npm Package Spawning cURL Download via Process Creation
Suspicious Child Process Spawned by Notepad++ Updater GUP
Suspicious Chrome Browser Process Spawned by Outlook Indicating Sandbox Escape
Suspicious Execution From Hidden fonts-unix Directory in tmp on Linux
Windows Process Creation: Bun executes bun_environment.js via node.exe
Pivot detection · T1195.002 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.