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 Velvet Ant Linux Backdoor and Credential Harvesting Artifacts (via file_event)
Suspicious Hidden PowerShell Spawned by Script Host via process_creation
Malicious Browser Credential Dump File Drop by Phantom Stealer via file_event
Suspicious Node.js Execution of nvidia.js Script via cmd (via process_creation)
Suspicious Script Host Spawning PowerShell Download Cradle (via process_creation)
Suspicious PowerShell Spawned by Windows Script Host during Scarlet Goldfinch Infection (via process_creation)
Suspicious Windows Script Host Execution of JavaScript from Temporary Archive Extraction Folder (via process_creation)
Suspicious Whoami Discovery Spawned by Windows Script Host via Process Creation (via process_creation)
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.