MITRE ATT&CKsub-technique

T1564.009 Resource Forking

Published 2021-10-12 Modified 2026-05-12 Official page ↗
Domain
enterprise
Tactics
Stealth
Platforms
macOS
Version
2.0
Created
2021-10-12

Description

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. 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. 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.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1564 Hide Artifacts technique

Tactic · MITRE ATT&CK (1)

Referenced by MITRE ATT&CK · mitigates (1)

  • M1013 Application Developer Guidance mitigation

Referenced by MITRE ATT&CK · uses (2)

  • S0402 OSX/Shlayer software (malware)
  • S0276 Keydnap software (malware)

Referenced by CAPEC · att&ck technique (1)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files attack pattern

Referenced by Compliance · mitigates (14)

  • CIS-16.10 Apply Secure Design Principles in Application Architectures CIS Safeguard v8.1
  • NIST-CM-11 User-installed Software NIST 800-53 control
  • NIST-CM-2 Baseline Configuration NIST 800-53 control
  • NIST-CM-6 Configuration Settings NIST 800-53 control
  • NIST-CM-7 Least Functionality NIST 800-53 control
  • NIST-SA-10 Developer Configuration Management NIST 800-53 control
  • NIST-SC-4 Information in Shared System Resources NIST 800-53 control
  • NIST-SC-44 Detonation Chambers NIST 800-53 control
  • NIST-SC-6 Resource Availability NIST 800-53 control
  • NIST-SI-10 Information Input Validation NIST 800-53 control
  • NIST-SI-15 Information Output Filtering NIST 800-53 control
  • NIST-SI-3 Malicious Code Protection NIST 800-53 control
  • NIST-SI-4 System Monitoring NIST 800-53 control
  • NIST-SI-7 Software, Firmware, and Information Integrity NIST 800-53 control

References