T1564.004 NTFS File Attributes
Stealthon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0432 Detection Strategy for NTFS File Attribute Abuse (ADS/EAs)
AN1206 Windows
Suspicious use of NTFS file attributes such as Alternate Data Streams (ADS) or Extended Attributes (EA) to hide data. Defender perspective: anomalous file creations or modifications containing colon syntax (file.ext:ads), API calls like ZwSetEaFile/ZwQueryEaFile, or PowerShell/Windows utilities interacting with -stream parameters. Correlation across file metadata anomalies, process lineage, and command execution provides context.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SysmonEventCode=11 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=15 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
etw:Microsoft-Windows-Kernel-FileZwSetEaFile or ZwQueryEaFile function calls | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (1)
How the Content Hub rules for T1564.004 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
23 SigmaHQ community rules name it in their tags.
- Exports Registry Key To an Alternate Data Stream
- HackTool Named File Stream Created
- NTFS Alternate Data Stream
- Potential Rundll32 Execution With DLL Stored In ADS
- PrintBrm ZIP Creation of Extraction
- Run PowerShell Script from ADS
- Suspicious File Download From File Sharing Websites - File Stream
- Unusual File Download from Direct IP Address
- Execute From Alternate Data Streams
- Hidden Executable In NTFS Alternate Data Stream
- Hidden Flag Set On File/Directory Via Chflags - MacOS
- Potential Hidden Directory Creation Via NTFS INDEX_ALLOCATION Stream
- Potential Hidden Directory Creation Via NTFS INDEX_ALLOCATION Stream - CLI
- Powershell Store File In Alternate Data Stream
- Remote File Download Via Findstr.EXE
- Suspicious Diantz Alternate Data Stream Execution
- Suspicious Extrac32 Alternate Data Stream Execution
- Unusual File Download From File Sharing Websites - File Stream
- Use NTFS Short Name in Command Line
- Use NTFS Short Name in Image
- Use Short Name Path in Command Line
- Use Short Name Path in Image
- Insensitive Subfolder Search Via Findstr.EXE
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.