LiveActive security incident?Get immediate response
MITRE ATT&CK® Tool

S9009: TruffleHog

TruffleHog is an open-source secrets-discovery tool that is used to search for credentials, API keys, and encryption keys across a variety of data sources and environments.[1][2] TruffleHog has the ability to discover credentials and secrets stored in code repositories, git history, CI/CD pipelines, among other common storage locations to include filesystems and cloud storage buckets.[1][3][2] TruffleHog was first released by its author in 2016.[2]

EnterpriseS9009ToolObject v1.0Modified
Glexia's Take · Automated analysis

Security context for executives and security teams

Automation confidenceMedium

S9009: TruffleHog describes [TruffleHog](https://attack.mitre.org/software/S9009) is an open-source secrets-discovery tool that is used to search for credentials, API keys, and encryption keys across a variety of data sources and environments.(Citation: Black Hills Information Security TruffleHog January 2024)(Citation: Github TruffleSecurity Trufflehog April 2025) [TruffleHog](https://attack.mitre.org/software/S9009) has the ability to discover credentials and secrets stored in code repositories, git history, CI/CD pipelines, among other com...

Executive priority

S9009: TruffleHog is an official MITRE ATT&CK software. Glexia treats it as defensive behavior context for prioritizing monitoring, control validation, and response planning without using the object by itself as an attribution claim.

Technical view

Security teams should validate S9009: TruffleHog by reviewing the official ATT&CK relationships, mapped tactics (the mapped ATT&CK tactic context), supported platforms (IaaS, Linux, SaaS, Windows), and available local telemetry before making detection or mitigation decisions.

Likely telemetry

  • Official ATT&CK relationships and object metadata
  • Cloud control-plane, SaaS audit, and container platform logs
  • Network, endpoint, and security-tool telemetry

Detection direction

  • Validate whether S9009: TruffleHog appears in your detection coverage and tabletop scenarios.
  • Use the object to align executive risk language with SOC, incident response, and detection engineering work.
  • Do not treat ATT&CK relationship context as attribution without corroborating evidence.

Mitigation priorities

  • Map the object to existing controls and identify missing telemetry or response ownership.
  • Prioritize mitigations that reduce exposure on the listed platforms and tactics.
  • Review adjacent ATT&CK relationships before changing policy, detections, or reporting language.
Additional notes and limits

Baseline Glexia take generated from the official MITRE ATT&CK STIX object, source hash, tactics, platforms, and detection fields. It is safe to replace with a richer model-generated take for the same source hash later.

This baseline take is source-grounded and schema-validated, but it does not include environment-specific telemetry, incident evidence, or threat-intelligence corroboration.

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Official MITRE ATT&CK definition

TruffleHog

TruffleHog is an open-source secrets-discovery tool that is used to search for credentials, API keys, and encryption keys across a variety of data sources and environments.[1][2] TruffleHog has the ability to discover credentials and secrets stored in code repositories, git history, CI/CD pipelines, among other common storage locations to include filesystems and cloud storage buckets.[1][3][2] TruffleHog was first released by its author in 2016.[2]

View the same entry on attack.mitre.org (MITRE-hosted reference; in-page links above use the Glexia ATT&CK library.)

Glexia analysis

How security teams should use this page

Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.

ATT&CK relationship table

Techniques used

This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.

16 rows
DomainIDNameRelationship / procedure
EnterpriseT1213.002SharepointSub-technique

TruffleHog has searched SharePoint for data and credentials.[2]

EnterpriseT1213.005Messaging ApplicationsSub-technique

TruffleHog has obtained data and credentials associated with messaging applications to include Slack.[2]

EnterpriseT1619Cloud Storage Object Discovery

TruffleHog can enumerate cloud storage environments including Amazon Web Service (AWS) S3 buckets and Google Cloud Storage buckets.[1][2]

EnterpriseT1059.009Cloud APISub-technique

TruffleHog has leveraged Cloud CLI in order to enumerate and gather credentials.[2]

EnterpriseT1526Cloud Service Discovery

TruffleHog has the ability to scan code repositories and CI/CD platforms.[1][2]

EnterpriseT1555.006Cloud Secrets Management StoresSub-technique

TruffleHog can obtain secrets from AWS Secrets and GCP Secret Manager.[1][2] TruffleHog has also gathered passwords, secrets and API keys from source repositories, .env files, and git history.[3]

EnterpriseT1580Cloud Infrastructure Discovery

TruffleHog can enumerate AWS Infrastructure to include EC2 instances.[2]

EnterpriseT1552.005Cloud Instance Metadata APISub-technique

TruffleHog can query the AWS and GCP metadata endpoints for instances and service credentials.[1][2]

EnterpriseT1528Steal Application Access Token

TruffleHog has gathered access tokens and API tokens from CI/CD pipeline solutions and repositories.[1]

EnterpriseT1083File and Directory Discovery

TruffleHog has can browse and scan individual files and directories.[1][3][2]

EnterpriseT1005Data from Local System

TruffleHog has gathered data from home directories of the victim environment.[3]

EnterpriseT1078.004Cloud AccountsSub-technique

TruffleHog has used stolen credentials to log into cloud services to access cloud hosted repositories and other cloud storage solutions to discover sensitive data to include API Keys, tokens and credentials.[2]

EnterpriseT1552.001Credentials In FilesSub-technique

TruffleHog has obtained credentials stored in config files and credential files in victim environments.[1][3]

EnterpriseT1530Data from Cloud Storage

TruffleHog has the ability to scan cloud storage services for credentials to include Amazon (AWS) S3 and Google Cloud Storage.[1][2]

EnterpriseT1213.001ConfluenceSub-technique

TruffleHog has collected credentials and data associated with Confluence.[2]

EnterpriseT1213.003Code RepositoriesSub-technique

TruffleHog has gathered data and credentials from code repositories.[2]

Relationship explorer

All related ATT&CK context

Change history

Object version and sync metadata

The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates.

ATT&CK release
19.2
Object version
1.0
Created
Modified
Raw hash
d7d1b1890c6b68d7...
Imported snapshots across ATT&CK releases(2)
ReleaseBundle importedObject versionModifiedStatusRaw hash
19.21.0Current bundled7d1b1890c6b…
19.11.0Older bundled7d1b1890c6b…
Raw source

Mirrored ATT&CK source object

The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.

Source references

External references and citations

MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.

  1. [1]
    Black Hills Information Security TruffleHog January 2024

    Chris Traynor. (2024, January 18). Rooting For Secrets with TruffleHog. Retrieved April 15, 2026.

    Open source URL
  2. [2]
    Github TruffleSecurity Trufflehog April 2025

    Trufflesecurity. (2026, April 8). TruffleHog Enterprise. Retrieved April 15, 2026.

    Open source URL
  3. [3]
    Netskope Shai-Hulud November 2025

    Gianpietro Cutolo. (2025, November 26). Shai-Hulud 2.0: Aggressive, Automated, and Fast Spreading. Retrieved April 9, 2026.

    Open source URL
  4. [4]
    mitre-attackS9009
    Open source URL
Source and licensing

Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.