Sigma rule: PUA - TruffleHog Execution - Linux
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-8ff2e4b562d0, updated 2025-09-24T00:00:00.000Z.
Rule
- Title
- PUA - TruffleHog Execution - Linux
- Status
- experimental
- Level
- medium
- Author
- Swachchhanda Shrawan Poudel (Nextron Systems)
- Date
- 2025-09-24
- File
- rules/linux/process_creation/proc_creation_lnx_pua_trufflehog.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects execution of TruffleHog, a tool used to search for secrets in different platforms like Git, Jira, Slack, SharePoint, etc. that could be used maliciously.
While it is a legitimate tool, intended for use in CI pipelines and security assessments,
It was observed in the Shai-Hulud malware campaign targeting npm packages to steal sensitive information.
Log source
- product
- linux
- category
- process_creation
Detection
selection_img:
Image|endswith: '/trufflehog'
selection_cli_platform:
CommandLine|contains:
- ' docker --image '
- ' Git '
- ' GitHub '
- ' Jira '
- ' Slack '
- ' Confluence '
- ' SharePoint '
- ' s3 '
- ' gcs '
selection_cli_verified:
CommandLine|contains: ' --results=verified'
condition: selection_img or all of selection_cli_*False positives (as the rule lists them)
- Legitimate use of TruffleHog by security teams or developers.
Tags
- attack.discovery
- attack.credential-access
- attack.t1083
- attack.t1552.001
MITRE ATT&CK ids this rule names
Related rules
References
- https://github.com/trufflesecurity/trufflehog
- https://www.getsafety.com/blog-posts/shai-hulud-npm-attack
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_pua_trufflehog.yml
Sources and licences
SigmaHQ
"PUA - TruffleHog Execution - Linux" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_pua_trufflehog.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: PUA - TruffleHog Execution - Linux",
entity page, dataset version ref-8ff2e4b562d0, updated 2025-09-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d7a650c4-226c-451e-948f-cc490db506aa (accessed 2026-11-03).
Underlying source: SigmaHQ rule d7a650c4-226c-451e-948f-cc490db506aa, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.