Sigma rule: PUA - AWS TruffleHog Execution

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-557ab3c693bb, updated 2025-10-21T00:00:00.000Z.

Rule

Title
PUA - AWS TruffleHog Execution
Status
experimental
Level
medium
Author
Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2025-10-21
File
rules/cloud/aws/cloudtrail/aws_cloudtrail_pua_trufflehog.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of TruffleHog, a popular open-source tool used for scanning repositories for secrets and sensitive information, within an AWS environment.
It has been reported to be used by threat actors for credential harvesting. All detections should be investigated to determine if the usage is authorized by security teams or potentially malicious.

Log source

product
aws
service
cloudtrail

Detection

selection:
    userAgent: 'TruffleHog'
condition: selection

False positives (as the rule lists them)

  • Legitimate use of TruffleHog by security teams for credential scanning.

Tags

  • attack.credential-access
  • attack.t1555
  • attack.t1003

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/aws/cloudtrail/aws_cloudtrail_pua_trufflehog.yml

Sources and licences

  • SigmaHQ

    "PUA - AWS TruffleHog Execution" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/aws/cloudtrail/aws_cloudtrail_pua_trufflehog.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: PUA - AWS TruffleHog Execution",
entity page, dataset version ref-557ab3c693bb, updated 2025-10-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a840e606-7c8c-4684-9bc1-eb6b6155127f (accessed 2026-11-03).
Underlying source: SigmaHQ rule a840e606-7c8c-4684-9bc1-eb6b6155127f, 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.