Suspicious Secret Scanning with trufflehog Verified Results

PremiumReviewedSigma · High · v1
Category
process_creation
Author
HuntRule
Published
2026-09-18
Updated
2026-09-18

ATT&CK techniques

Initial Access → Cred Access
  1. Recon

  2. Resource Dev

  3. Execution

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects trufflehog being executed to scan the local filesystem for verified secrets and emit JSON output, the credential-harvesting behavior of the Shai-Hulud npm supply-chain worm. The worm runs trufflehog on compromised developer machines to collect cloud and registry tokens for further spread.

Related detections9 linkedT1552.001 — drag to rearrange
Suspicious Shai-Hulud Worm Stager Execution from Temp (via process_creation)
Suspicious Double Base64 Decoded Payload Piped to Shell in CI (reviewdog Supply Chain)
Possible CI Runner Memory Scraping via Python Process Memory Read (tj-actions Supply Chain)
Suspicious TruffleHog Credential Validation User Agent in AWS CloudTrail (via cloudtrail)
Suspicious Azure CLI Service Principal Login with Inline Secret
Suspicious Modification of Ivanti lastauthserverused.js for Credential Harvesting
Malicious TCC Privacy Database Access via sqlite3
Malicious OSX Proton Malware Persistence Artifacts (via file_event)
Malicious Veeam Backup Credential Theft via psql Query of Credentials Table (via process_creation)
Suspicious Secret Scanning with trufflehog Verified Results
Pivot detection · T1552.001 · 9 related

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