Applied Cybernetics Group
thrunt.me thrunt me harder

Reference tables / ATT&CK techniques / T1564.014

T1564.014 Extended Attributes

coverage gap

Tactics
Defense Evasion
Reports citing the ID, 90 days
1
KEV CVEs mapped
0
SigmaHQ rules
0
Elastic, Splunk
0
thrunt rules
0
MITRE
https://attack.mitre.org/techniques/T1564/014

Rules

No rule covers this technique yet. No SigmaHQ, Elastic or Splunk production rule carries its tag, and thrunt hasn't written one. Techniques like this are where the next thrunt rules come from; the full list.

MITRE description

Adversaries may abuse extended attributes (xattrs) on macOS and Linux to hide their malicious data in order to evade detection. Extended attributes are key-value pairs of file and directory metadata used by both macOS and Linux. They are not visible through standard tools like `Finder`, `ls`, or `cat` and require utilities such as `xattr` (macOS) or `getfattr` (Linux) for inspection. Operating systems and applications use xattrs for tagging, integrity checks, and access control. On Linux, xattrs are organized into namespaces such as `user.` (user permissions), `trusted.` (root permissions), `security.`, and `system.`, each with specific permissions. On macOS, xattrs are flat strings without namespace prefixes, commonly prefixed with `com.apple.*` (e.g., `com.apple.quarantine`, `com.apple.metadata:_kMDItemUserTags`) and used by system features like Gatekeeper and Spotlight. An adversary may leverage xattrs by embedding a second-stage payload into the extended attribute of a legitimate file. On macOS, a payload can be embedded into a custom attribute using the `xattr` command. A separate loader can retrieve the attribute with `xattr -p`, decode the content, and execute it using a scripting interpreter. On Linux, an adversary may use `setfattr` to write a payload into the `user.` namespace of a legitimate file. A loader script can later extract the payload with `getfattr --only-values`, decode it, and execute it using bash or another interpreter. In both cases, because the primary file content remains unchanged, security tools and integrity checks that do not inspect extended attributes will observe the original file hash, allowing the malicious payload to evade detection.

Research citing this technique

Reports and advisories from the last 90 days that cite this technique.

Reports describing it without the ID

These use the technique’s name or a tool that is this technique. Matched on words, so check the report.

Research counts are technique IDs named in vendor reports and government advisories in the last 90 days. KEV mappings are MITRE CTID’s. Rules are SigmaHQ, Elastic and Splunk; links go upstream.