Live Active security incident? Get immediate response
MITRE ATT&CK® Technique

T1558.005: Ccache Files

Adversaries may attempt to steal Kerberos tickets stored in credential cache files (or ccache). These files are used for short term storage of a user's active session credentials. The ccache file is created upon user authentication and allows for access to multiple services without the user having to re-enter credentials.

The /etc/krb5.conf configuration file and the KRB5CCNAME environment variable are used to set the storage location for ccache entries. On Linux, credentials are typically stored in the `/tmp` directory with a naming format of `krb5cc_%UID%` or `krb5.ccache`. On macOS, ccache entries are stored by default in memory with an `API:{uuid}` naming scheme. Typically, users interact with ticket storage using kinit, which obtains a Ticket-Granting-Ticket (TGT) for the principal; klist, which lists obtained tickets currently held in the credentials cache; and other built-in binaries.[1][2]

Adversaries can collect tickets from ccache files stored on disk and authenticate as the current user without their password to perform Pass the Ticket attacks. Adversaries can also use these tickets to impersonate legitimate users with elevated privileges to perform Privilege Escalation. Tools like Kekeo can also be used by adversaries to convert ccache files to Windows format for further Lateral Movement. On macOS, adversaries may use open-source tools or the Kerberos framework to interact with ccache files and extract TGTs or Service Tickets via lower-level APIs.[3][4][5][6]

EnterpriseT1558.005Sub-techniqueObject v1.0 Modified
Glexia's Take

Analyst context for executives and security teams

Analyst confidence High

Ccache file theft matters because Kerberos tickets can let an intruder authenticate as a legitimate Linux or macOS user without knowing that user’s password. For leaders, the practical risk is not the file itself; it is whether stolen short-lived session credentials can become a path to privileged access, Pass-the-Ticket activity, or movement into other services before defenders notice.

Executive priority

Prioritize this where Linux or macOS systems participate in Kerberos realms or hold privileged user sessions. Executives should ask whether teams know where Kerberos credential caches are stored, whether access to those locations is restricted, and whether audit evidence exists for suspicious access to ccache files, Kerberos configuration, and ticket-management utilities. This is especially relevant to incident response readiness because password resets alone may not address active ticket abuse during an intrusion.

Technical view

This is a credential-access sub-technique of Steal or Forge Kerberos Tickets focused on ccache files on Linux and macOS. Validate host coverage for Linux paths such as /tmp files named krb5cc_%UID% or krb5.ccache, configuration references in /etc/krb5.conf, and use of the KRB5CCNAME environment variable. On macOS, account for default memory-backed API:{uuid} cache behavior and potential interaction through Kerberos framework APIs. DET0024 is the related detection strategy, and teams should also consider relationship context to Pass the Ticket and Impacket when triaging Kerberos-related credential activity.

Likely telemetry

  • Linux filesystem access events for /tmp/krb5cc_%UID% and krb5.ccache-style files
  • Reads or changes involving /etc/krb5.conf
  • Process execution for Kerberos ticket utilities such as kinit and klist
  • Environment variable visibility for KRB5CCNAME where available
  • macOS process and API-adjacent telemetry related to Kerberos credential cache interaction

Detection direction

  • Confirm whether DET0024-style logic is implemented for the organization’s Linux and macOS estate rather than assuming Windows Kerberos detections cover this behavior.
  • Baseline legitimate administrative and user interaction with kinit, klist, and ccache locations to reduce false positives.
  • Look for unusual users, processes, or session contexts accessing ccache files, Kerberos configuration, or cache locations outside expected workflows.
  • Correlate suspected cache access with later Kerberos authentication, Pass-the-Ticket indicators, privilege escalation, or lateral movement activity where telemetry exists.
  • Account for blind spots: official ATT&CK detection text is not provided, macOS caches may be memory-backed by default, and environment-specific Kerberos configurations can change cache locations.

Mitigation priorities

  • Apply Credential Access Protection by restricting access to credential storage mechanisms and hardening systems that store or handle Kerberos tickets.
  • Use auditing to record and review access to ccache storage locations, Kerberos configuration, ticket utilities, and relevant authentication activity.
  • Validate Kerberos cache location settings from /etc/krb5.conf and KRB5CCNAME so controls follow the actual environment, not only default paths.
  • During incident response, treat suspected ccache theft as potential ticket abuse and validate whether active Kerberos sessions or downstream service access require containment beyond password changes.
Analyst notes and limits

The supplied ATT&CK object is limited to Linux and macOS platforms and credential-access tactics. Relationship context links the behavior to DET0024, M1043 Credential Access Protection, M1047 Audit, parent technique T1558, and software S0357 Impacket. The business value is in validating whether host telemetry, Kerberos audit evidence, and IR playbooks can identify and contain ticket theft before it becomes authenticated activity.

Official detection content is not provided in the supplied object. This take does not assert active exploitation, attribution, or guaranteed detection. Local Kerberos configuration, endpoint telemetry depth, and macOS cache implementation details must be verified in the customer environment.

Official MITRE ATT&CK definition

Ccache Files

Adversaries may attempt to steal Kerberos tickets stored in credential cache files (or ccache). These files are used for short term storage of a user's active session credentials. The ccache file is created upon user authentication and allows for access to multiple services without the user having to re-enter credentials.

The /etc/krb5.conf configuration file and the KRB5CCNAME environment variable are used to set the storage location for ccache entries. On Linux, credentials are typically stored in the `/tmp` directory with a naming format of `krb5cc_%UID%` or `krb5.ccache`. On macOS, ccache entries are stored by default in memory with an `API:{uuid}` naming scheme. Typically, users interact with ticket storage using kinit, which obtains a Ticket-Granting-Ticket (TGT) for the principal; klist, which lists obtained tickets currently held in the credentials cache; and other built-in binaries.[1][2]

Adversaries can collect tickets from ccache files stored on disk and authenticate as the current user without their password to perform Pass the Ticket attacks. Adversaries can also use these tickets to impersonate legitimate users with elevated privileges to perform Privilege Escalation. Tools like Kekeo can also be used by adversaries to convert ccache files to Windows format for further Lateral Movement. On macOS, adversaries may use open-source tools or the Kerberos framework to interact with ccache files and extract TGTs or Service Tickets via lower-level APIs.[3][4][5][6]

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

Related techniques

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.

1 rows
Domain ID Name Relationship / procedure
Enterprise T1558 Steal or Forge Kerberos Tickets This object subtechnique of Steal or Forge Kerberos Tickets.
Associated objects

Groups, software, and campaigns

Tool Enterprise

S0357: Impacket

Impacket is an open source collection of modules written in Python for programmatically constructing and manipulating network protocols. Impacket contains several tools for remote service execution, Kerberos manipulation, Windows credential dumping, packet sniffing, and relay attacks.[1]

LinuxmacOSWindows
Relationship explorer

All related ATT&CK context

Mitigations

Mitigation direction

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.1
Object version
1.0
Created
Modified
Raw hash
c68775d1274ea6e8...
Imported snapshots across ATT&CK releases (1)
Release Bundle imported Object version Modified Status Raw hash
19.1 1.0 Current bundle c68775d1274e…
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]
    Kerberos GNU/Linux

    Adepts of 0xCC. (2021, January 28). The Kerberos Credential Thievery Compendium (GNU/Linux). Retrieved September 17, 2024.

    Open source URL
  2. [2]
    Binary Defense Kerberos Linux

    ARC Labs, Dwyer, John. Gonzalez, Eric. Hudak, Tyler. (2024, October 1). Shining a Light in the Dark – How Binary Defense Uncovered an APT Lurking in Shadows of IT. Retrieved October 7, 2024.

    Open source URL
  3. [3]
    SpectorOps Bifrost Kerberos macOS 2019

    Cody Thomas. (2019, November 14). When Kirbi walks the Bifrost. Retrieved October 6, 2021.

    Open source URL
  4. [4]
    Linux Kerberos Tickets

    Trevor Haskell. (2020, April 1). Kerberos Tickets on Linux Red Teams. Retrieved October 4, 2021.

    Open source URL
  5. [5]
    Brining MimiKatz to Unix

    Tim Wadhwa-Brown. (2018, November). Where 2 worlds collide Bringing Mimikatz et al to UNIX. Retrieved October 13, 2021.

    Open source URL
  6. [6]
    Kekeo

    Benjamin Delpy. (n.d.). Kekeo. Retrieved October 4, 2021.

    Open source URL
  7. [7]
    mitre-attack T1558.005
    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.