Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› How do attackers use NTFS links?
Threats, Abuse & Incident Response

How do attackers use NTFS links?

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

Attackers use NTFS links to create alternate references to the same file or folder, which can conceal malicious locations, confuse auditing, or influence which path a tool processes. Defenders should verify whether a path is a real object or a link, and check for unexpected relationships between trusted and untrusted locations.

NTFS links give an attacker a second way to point at the same underlying file or directory, so a tool may follow one path while a human reviewer sees another. That makes links useful for hiding staging locations, disguising file movement, and steering software toward a target the operator did not intend to inspect.

The practical issue is not just renaming. A link can change how a path is interpreted, so defenders need to know whether they are looking at a real object, a hard link, a junction point, or a symbolic link before they trust what the pathname appears to mean.

On Windows systems, this matters because security tooling, backup jobs, synchronisation tools, and incident responders often reason from paths. If a link crosses from a trusted directory into an untrusted one, or vice versa, the apparent location can be misleading even when the underlying file content is unchanged.

Attackers use NTFS links to create ambiguity between the visible path and the real storage location. That can help them keep malicious files inside apparently normal folders, disguise where execution will occur from, or preserve access to the same content after cleanup activity has removed only one reference.

They are also useful for evasion because many investigations begin with directory names, timestamps, and location-based trust assumptions. If a defender assumes that a path label is proof of provenance, the attacker can exploit that assumption by making the path look benign while the target still resolves to an undesirable object.

When defenders investigate file-based persistence or malware staging, the relationship between trusted and untrusted locations matters more than the label on the path itself. The safest interpretation is to verify object identity, not just pathname text. A useful defensive reference for artefact-focused detection is the MITRE D3FEND Guide, which helps map file and path-related behaviour to defensive techniques.

How defenders should validate and respond

Verification should start with object resolution. Check whether the item is a regular file, directory, junction, hard link, or symbolic link, and compare the resolved target against expected trust boundaries. If a link connects a high-trust location to a low-trust one, treat that as a meaningful investigative lead, not just a filesystem quirk.

Response should focus on impact rather than the link alone. If the link is part of persistence, staging, or tampering with a security control, review the resolved target, nearby execution artefacts, and any process that created or modified the link. A broader breach-focused reference point is The State of NHI & AI Agent Breach Report 2026, which highlights how attackers abuse access paths and artefacts to hide activity and move laterally.

When a suspicious link is found, the response decision is usually to preserve the evidence, inspect the resolved target, and determine whether the link was used for concealment, privilege boundary crossing, or tool redirection. If cleanup is needed, remove the malicious reference and the underlying abuse path, not just the visible name.

Risk and Threat Considerations

NTFS links create a trust problem because they separate what a reviewer sees from what the operating system may actually open, enumerate, or execute. That can undermine audit quality, conceal malicious placement, and let a threat actor preserve access to a target through an alternate reference even after one path is discovered.

Failure mechanism: A defender or tool trusts the visible path name instead of resolving the link target, so a malicious object appears to live in a safe location or a cleanup action misses an alternate reference to the same data.

Impact: The attacker can hide staging content, interfere with investigation, bypass path-based assumptions in tooling, or maintain persistence through additional references that survive partial remediation.

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 NIST CSF 2.0, NIST SP 800-53 Rev 5, CIS Controls v8 and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1091 — Replication Through Removable MediaNTFS links support deceptive file/path handling in attacker tradecraft.
Recommendation — Track link abuse as deceptive file-system tradecraft and correlate it with staging or execution activity.
NIST CSF 2.0DE.CM-01 — Monitoring for Unauthorized Personnel, Connections, Devices, and SoftwareLink-based path confusion requires monitoring for unexpected filesystem relationships.
Recommendation — Monitor for suspicious path relationships and unexpected link creation in sensitive locations.
NIST SP 800-53 Rev 5AU-3 — Content of Audit RecordsInvestigations need audit detail that distinguishes visible paths from resolved targets.
Recommendation — Record resolved object paths and link metadata in audit logs for investigation.
CIS Controls v8CIS-8 — Audit Log ManagementPath ambiguity becomes visible through logging and review of filesystem actions.
Recommendation — Centralise and review filesystem activity logs that reveal link creation and use.
OWASP ASVSV15 — Secure Coding and ArchitectureApplications that trust file paths must handle link resolution safely.
Recommendation — Resolve file references safely before using them in security-sensitive application logic.

Practitioner Guidance

What to verify: Confirm the object type and the resolved destination before you trust any file path in an alert, script, backup set, or triage note. Path text alone is not enough when links are present.

Decision rule: If a link crosses trust boundaries, points into a suspicious directory, or is used by a security-sensitive workflow, treat it as a high-priority artefact and inspect the target as well as the link source.

Common mistake: Deleting only the visible alias or excluding the apparent folder from review while leaving the underlying malicious object, alternate reference, or redirected execution path untouched.

Practitioner takeaway: The main defensive question is not “what does the path say?”, it is “what object will the system actually follow, and does that object belong in this trust boundary?”

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 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org