Windows Script Interpreter Launching trufflehog or gitleaks Credential Scanner

Flags node.exe or bun.exe spawning trufflehog/gitleaks to perform secret or credential scanning.

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

ATT&CK techniques

Execution → Collection
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Discovery

  8. Lateral Movement

  9. C2

  10. Exfiltration

  11. Impact

What it detects

This rule identifies process creation on Windows where a script interpreter (node.exe or bun.exe) spawns a known credential scanning tool (trufflehog.exe or gitleaks.exe), or a child command line referencing those tools. This behavior is commonly associated with attempts to discover and extract sensitive information from code repositories or exposed environments. Detection relies on Windows process creation telemetry including parent image, child image, and command line content.

Related detections9 linkedT1059.007 — drag to rearrange
Linux Script Interpreters Spawning Credential Scanners (trufflehog, gitleaks)
Malicious SD-WAN Compromise Credential Theft via loot_run.sh
Suspicious npm Postinstall Node Execution From Fixtures Path (BeaverTail OtterCookie)
Suspicious Script Host Execution of Decoy-Named JavaScript Dropper (PS1Bot)
Malicious Emmenhtal JavaScript Loader Spawning Encoded PowerShell
Suspicious Script Host Spawning PowerShell With Bypass And Hidden Execution
Possible React2Shell CVE-2025-55182 Prototype Pollution Exploitation
Suspicious Node.js Script Execution from AppData Roaming
Possible SSRF via VMware Workspace One Access instanceHealth CVE-2021-22056
Windows Script Interpreter Launching trufflehog or gitleaks Credential Scanner
Pivot detection · T1059.007 · 9 related

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