Suspicious NTFS Symbolic Link Behavior Modification
Adversaries leverage the Windows fsutil utility to modify NTFS symbolic link evaluation settings, potentially facilitating privilege escalation or lateral movement via unconventional file path resolution.
Threat actors, including those deploying ransomware such as BlackCat (ALPHV) and RansomHub, have been observed utilizing the Windows fsutil utility to modify the operating system's handling of symbolic links. By altering the SymlinkEvaluation behavior settings, attackers can enable Local-to-Local (L2L), Remote-to-Local (R2L), or Remote-to-Remote (R2R) symlink resolution. This capability allows for the creation of links that point to sensitive files or directories across network shares, which are typically restricted by default security configurations. This technique is often used as part of a post-exploitation phase to bypass security controls or to facilitate the exfiltration of sensitive data that would otherwise be protected by standard path-based access control lists. Defenders should monitor for command-line arguments that explicitly change these registry-backed security settings.
Attack Chain
- Initial access is established on a Windows endpoint, often via phishing or exploited services.
- The attacker executes a command shell (cmd.exe or PowerShell) under a privileged context.
- The attacker identifies network shares or local directories to target for lateral movement or data staging.
- The attacker runs
fsutil behavior set SymlinkEvaluationto modify the system's policy to allow R2L or R2R symlinks. - The attacker creates a malicious symbolic link using
mklinkor PowerShell commands that leverage the modified evaluation policy. - The system interprets the symbolic link based on the updated
fsutilconfiguration, allowing access to the targeted remote or local resource. - The attacker reads or exfiltrates the sensitive files accessed through the symlink.
- The final objective is reached, such as the deployment of ransomware or exfiltration of proprietary credentials.
Impact
The unauthorized modification of NTFS symlink behavior can lead to privilege escalation and unauthorized access to data across network boundaries. Observed campaigns, such as those involving RansomHub and BlackCat, demonstrate that this technique is a key component in the broader workflow of reconnaissance and data compromise within enterprise environments, frequently resulting in widespread encryption and data theft.
Recommendation
- Deploy the provided Sigma rule to detect processes executing
fsutil behavior set SymlinkEvaluationwith parameters that enable risky symlink resolution. - Monitor process creation logs (Event ID 1) for parent processes originating from unexpected locations (e.g., non-standard user profile paths or TEMP directories).
- Restrict the use of the
fsutilutility to authorized administrative accounts and block execution for standard user accounts. - Investigate the parent process of any
fsutilexecution to determine if it stems from legitimate system administration tooling or malicious activity.
Immediate actions
Deploy Sigma detection rule to monitor for SymlinkEvaluation configuration changes
Threat Hunt
Search historical logs for fsutil command-line arguments related to SymlinkEvaluation
Data: Process creation events
Mitigations
Restrict execution of fsutil.exe to privileged service accounts only
Defense impairment via symlink modification
Detection coverage 1
Detect Suspicious NTFS Symlink Behavior Modification
mediumDetects the modification of NTFS symbolic link behavior using fsutil, which could be used to enable remote to local or remote to remote symlinks for potential attacks.
Detection queries are available on the platform. Get full rules →