Detectionmediumexperimental
PUA - TruffleHog Execution - Linux
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.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Swachchhanda Shrawan Poudel (Nextron Systems)Created Wed Sep 24d7a650c4-226c-451e-948f-cc490db506aalinux
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic3 selectors
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
Legitimate use of TruffleHog by security teams or developers.
MITRE ATT&CK
Techniques
Sub-techniques
Rule Metadata
Rule ID
d7a650c4-226c-451e-948f-cc490db506aa
Status
experimental
Level
medium
Type
Detection
Created
Wed Sep 24
Path
rules/linux/process_creation/proc_creation_lnx_pua_trufflehog.yml
Raw Tags
attack.discoveryattack.credential-accessattack.t1083attack.t1552.001