Detectionmediumexperimental
PUA - TruffleHog Execution
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 2444030449-b0df-4c94-aae1-502359ab28eewindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
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.exe'
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
44030449-b0df-4c94-aae1-502359ab28ee
Status
experimental
Level
medium
Type
Detection
Created
Wed Sep 24
Path
rules/windows/process_creation/proc_creation_win_pua_trufflehog.yml
Raw Tags
attack.discoveryattack.credential-accessattack.t1083attack.t1552.001