MITRE ATT&CK / Techniques / T1564.004

Hide Artifacts: NTFS File Attributes

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

Adversaries may use NTFS file attributes to hide their malicious data in order to evade detection. Every New Technology File System (NTFS) formatted partition contains a Master File Table (MFT) that maintains a record for every file/directory on the partition. [2] Within MFT entries are file attributes, [3] such as Extended Attributes (EA) and Data [known as Alternate Data Streams (ADSs) when more than one Data attribute is present], that can be used to store arbitrary data (and even complete files). [2] [4] [5] [6]

Adversaries may store malicious data or binaries in file attribute metadata instead of directly in files. This may be done to evade some defenses, such as static indicator scanning tools and anti-virus. [7] [5]

Detection

Mitigations (1)

M1022 Restrict File and Directory Permissions

Consider adjusting read and write permissions for NTFS EA, though this should be tested to ensure routine OS operations are not impeded. [1]

Groups (1)

Software (15)

References

  1. InsiderThreat NTFS EA Oct 2017
  2. SpectorOps Host-Based Jul 2017
  3. Microsoft NTFS File Attributes Aug 2010
  4. Microsoft File Streams
  5. MalwareBytes ADS July 2015
  6. Microsoft ADS Mar 2014
  7. Journey into IR ZeroAccess NTFS EA