Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› How do attackers use the Windows ::DATA alternate…
Threats, Abuse & Incident Response

How do attackers use the Windows ::DATA alternate data stream?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 19, 2026 Domain: Threats, Abuse & Incident Response

Attackers use the Windows ::DATA alternate data stream to hide data inside a file without changing its main visible contents. That can conceal payloads, staging files, or metadata from casual inspection. Defenders should inspect alternate data streams, restrict write access, and include stream-aware checks in file monitoring.

How attackers abuse NTFS alternate data streams

Attackers use the ::DATA stream to store secondary content inside an existing file while leaving the file’s visible contents unchanged. That makes it useful for hiding payloads, stage files, notes, or metadata from a quick directory listing or a casual file open. It is a concealment technique, not a separate file system, so defenders need stream-aware inspection.

One practical reason this works is that many users and tools focus on the main file name and default content, not the additional named stream attached to it. On older or lightly monitored Windows systems, that gap can let suspicious data persist next to ordinary-looking documents, shortcuts, or binaries.

When the stream is used for payload storage, the hidden content can be carried forward until another process reads or executes it. That makes ADS especially useful in post-exploitation workflows where the attacker wants to reduce obvious file-system noise and blend into normal Windows file handling.

Why ADS concealment matters for detection and cleanup

ADS abuse is mainly a visibility problem. If file monitoring, EDR, or investigator triage only validates file names and primary content, an attacker can leave useful material behind without triggering obvious alarms. Stream hiding is often paired with living-off-the-land tradecraft, which is why defenders should review execution paths, file creation, and suspicious use of native utilities in Living off the Land Guide.

It also creates cleanup risk. A file can look harmless after the main content is inspected, while the alternate stream still contains the object that matters operationally. That means remediation needs to consider the full file object, not only the visible body of the file.

If the stream is attached to a file that is widely distributed, copied, or archived, the hidden content may survive long enough to complicate forensic review and incident scoping. For that reason, stream enumeration should be part of verification after suspicious file activity, not only after confirmed malware execution.

What defenders should inspect when they suspect ADS use

Start by checking whether the file path, parent process, and stream name line up with expected behavior. A legitimate document should not usually carry executable-looking hidden content, and a benign utility file should not quietly grow a suspicious secondary stream. Stream-aware review should be part of Windows triage, especially where file writes come from script interpreters, archive tooling, downloaders, or remote access tooling.

Defenders should also compare the file’s main content hash or apparent contents with what the file system reports at the stream level. That is often where the discrepancy appears first. If you only inspect the default stream, you may miss the object that was actually staged for later use.

Where you are already investigating broader adversary behavior, stream inspection can complement the attack-pattern view from MITRE ATT&CK Enterprise Matrix and threat reporting such as CISA cyber threat advisories, because ADS often appears as part of a larger staging, persistence, or execution chain rather than as a standalone event.

Risk and Threat Considerations

ADS hiding raises two distinct problems, first it reduces visibility for defenders, and second it can let an attacker keep payloads close to ordinary files that are already trusted by users or tools. That combination can delay detection, complicate forensic review, and make cleanup incomplete if stream enumeration is omitted.

Failure mechanism: Security tooling or analyst workflow checks only the primary file object, so the hidden stream is never enumerated, scanned, or removed. The attacker keeps a secondary payload or staging artifact attached to an otherwise normal-looking file.

Impact: Malware staging, script material, or attacker notes can persist unnoticed, increasing the chance of later execution, re-use, or missed evidence during incident response.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1564 — Hide ArtifactsADS is a file-hiding technique that conceals payloads and staging data.
Recommendation — Map hidden-stream activity to artifact-hiding detections and hunt for concealed files.
CIS Controls v8CIS-10 — Malware DefensesInspecting streams and blocking hidden payloads supports malware detection and containment.
Recommendation — Enable malware defenses that inspect file content beyond visible filenames and bodies.
NIST SP 800-53 Rev 5AU-2 — Audit EventsStream creation and access need logging if investigators are to detect concealed file content.
SI-3 — Malicious Code ProtectionHidden streams can carry payloads that malicious code protection should detect or quarantine.
Recommendation — Log alternate data stream activity where Windows telemetry supports it. Scan file streams, not just primary file content, in malicious code defenses.

Practitioner Guidance

What to verify: Confirm whether your scanners, EDR, and incident-response scripts enumerate alternate data stream by default. If they do not, treat that as a coverage gap, not a minor tuning issue.

Decision rule: If a suspicious file is present on an endpoint or file share, inspect the file object at the stream level before concluding it is clean. If the stream contains executable, script, or encoded content, escalate the finding as a likely concealment technique rather than a harmless metadata oddity.

What good looks like: File monitoring catches stream creation, access, and deletion events, and analysts can explain why a hidden stream exists on a given file. Where possible, write detections that flag unexpected stream names on user-facing documents, downloads, and binaries.

Practitioner takeaway: ADS is most dangerous when teams assume the visible file is the whole object, because that assumption lets hidden content survive routine review and weakens both detection and cleanup.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 19, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org