Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

1.8 KB
Raw Blame
id: sigmahq-sigma-0f60b28c-64dd-4e2c-9a63-5334d3e3a6e6
name: Script Interpreter Spawning Credential Scanner - Windows
description: 'Detects a script interpreter process (like node.js or bun) spawning
  a known credential scanning tool (e.g., trufflehog, gitleaks).

  This behavior is indicative of an attempt to find and steal secrets, as seen in
  the "Shai-Hulud: The Second Coming" campaign.'
severity: high
enabled: false
tags:
  mitre:
  - T1552
  - T1005
  - T1059.007
  categories:
  - endpoint
references:
- https://github.com/asyncapi/cli/blob/2efa4dff59bc3d3cecdf897ccf178f99b115d63d/bun_environment.js
- https://www.stepsecurity.io/blog/sha1-hulud-the-second-coming-zapier-ens-domains-and-other-prominent-npm-packages-compromised
- https://www.endorlabs.com/learn/shai-hulud-2-malware-campaign-targets-github-and-cloud-credentials-using-bun-runtime
- https://semgrep.dev/blog/2025/digging-for-secrets-sha1-hulud-the-second-coming-of-the-npm-worm/
logsource:
  category: process_creation
  product: windows
detection:
  selection_parent:
    ParentImage|endswith:
    - \node.exe
    - \bun.exe
  selection_child:
  - Image|endswith:
    - trufflehog.exe
    - gitleaks.exe
  - CommandLine|contains:
    - trufflehog
    - gitleaks
  condition: all of selection_*
provenance:
  source: SigmaHQ/sigma
  source_id: 0f60b28c-64dd-4e2c-9a63-5334d3e3a6e6
  source_commit: df5c6a6
  license: DRL-1.1
  license_url: https://github.com/SigmaHQ/Detection-Rule-License
  imported_at: '2026-05-04'
  imported_by: sigma_importer
  upstream_path: rules/windows/process_creation/proc_creation_win_susp_script_interpretor_spawn_credential_scanner.yml
falsepositives:
- Legitimate pre-commit hooks or CI/CD pipeline jobs that use a script to run a credential
  scanner as part of a security check.
notes:
  quarantine_reason: 'upstream status: experimental'