T1564.014 Extended Attributes
Stealthon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0406 Detection Strategy for Extended Attributes Abuse
AN1135 Linux
Abuse of extended attributes (xattrs) to embed hidden payloads into legitimate files. Defender perspective: detect anomalous use of setfattr or getfattr commands, or direct syscalls (setxattr, getxattr) where attributes are unusually large or contain encoded data. Behavior chain includes: (1) execution of setfattr with suspicious namespaces (user., trusted.), (2) file metadata modification inconsistent with file size/hash, and (3) subsequent process execution reading attributes followed by decoding activity.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLsetxattr or getxattr system call | Not mapped to Sentinel yet. |
auditd:EXECVEexecution of setfattr or getfattr commands | Not mapped to Sentinel yet. |
AN1136 macOS
Abuse of extended attributes (xattrs) to hide payloads in com.apple.* or custom keys. Defender perspective: monitor suspicious use of xattr command with -w (write) and -p (print) flags, especially when followed by execution of interpreters like bash, Python, or osascript. Behavior chain includes: (1) suspicious file modification with new com.apple.* attributes, (2) attribute content inconsistent with expected metadata tags (e.g., high entropy), (3) subsequent process execution correlated with extraction of the attribute.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogxattr utility execution with -w or -p flags | Not mapped to Sentinel yet. |
macos:unifiedlogextended attribute write or modification | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.