LNK Stomping
CVE-2024-38217, known as LNK Stomping, is a Windows Mark of the Web (MotW) security feature bypass. A specially crafted Windows shortcut can contain a malformed executable target with an additional trailing character, such as a period. When Windows normalizes the target, Windows Explorer saves the corrected shortcut through CShellLink::_SaveAsLink, inadvertently removing its MotW alternate data stream. Losing this untrusted-origin metadata allows the shortcut to evade security checks associated with downloaded files. The vulnerability was publicly disclosed and actively exploited before Microsoft released a fix in September 2024, with malicious samples suggesting abuse dating back to 2018.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Exploitation bypasses MotW-dependent protections, including SmartScreen Application Reputation checks and Windows Attachment Services prompts, reducing scrutiny of malicious shortcuts and facilitating malware execution. Smart App Control protections may also be bypassed. This is a security feature bypass rather than an independent privilege-escalation vulnerability; subsequent payload behavior determines the resulting compromise.
If you can’t patch tonight, do this now.
Until patched, avoid opening untrusted or unexpected downloaded shortcuts and use security software capable of detecting malicious files and shortcut behavior independently of MotW. These measures reduce exposure but do not correct the vulnerable shortcut-saving behavior.
Patch, then assume compromise.
Install Microsoft's September 10, 2024 Windows security updates addressing CVE-2024-38217, or subsequent cumulative updates containing the fix. Microsoft changed CShellLink::_SaveAsLink to use SHCreateStreamOnFileEx with an additional flag instead of SHCreateStreamOnFileW, preserving MotW when corrected shortcuts are saved. For certain legacy Windows versions no longer receiving Microsoft updates, 0patch offers functionally equivalent micropatches through its PRO and Enterprise subscriptions; verify platform coverage and successful deployment.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.