MITRE ATT&CK / Techniques / T1564.009

Hide Artifacts: Resource Forking

ID
T1564.009
Tactics
TA0005 Stealth
Sub-technique of
T1564 Hide Artifacts
Platforms
macOS
Data sources
File Metadata, Command Execution, Process Creation
Source
attack.mitre.org
MITRE last modified
12 May 2026

Adversaries may abuse resource forks to hide malicious code or executables to evade detection and bypass security applications. A resource fork provides applications a structured way to store resources such as thumbnail images, menu definitions, icons, dialog boxes, and code.[2] Usage of a resource fork is identifiable when displaying a file’s extended attributes, using ls -l@ or xattr -l commands. Resource forks have been deprecated and replaced with the application bundle structure. Non-localized resources are placed at the top level directory of an application bundle, while localized resources are placed in the /Resources folder.[3][4]

Adversaries can use resource forks to hide malicious data that may otherwise be stored directly in files. Adversaries can execute content with an attached resource fork, at a specified offset, that is moved to an executable location then invoked. Resource fork content may also be obfuscated/encrypted until execution.[5][6]

Detection

Mitigations (1)

M1013 Application Developer Guidance

Configure applications to use the application bundle structure which leverages the /Resources folder location.[1]

Software (2)

References

  1. Apple App Security Overview
  2. macOS Hierarchical File System Overview
  3. Resource and Data Forks
  4. ELC Extended Attributes
  5. sentinellabs resource named fork 2020
  6. tau bundlore erika noerenberg 2020