Skip to main content
Mallory
MediumExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2024-38217: LNK Stomping

Published Sep 10, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.4Medium · v3.1
EPSS2.0%81st percentile
CISA KEVYesAdded Sep 10, 2024
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2024-38217CWE-693 · Protection Mechanism Failure

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

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.

Mitigation

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.

Remediation

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 10 1507operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 10 22h2operating_system
Microsoft CorporationWindows 11 21h2operating_system
Microsoft CorporationWindows 11 22h2operating_system
Microsoft CorporationWindows 11 23h2operating_system
Microsoft CorporationWindows 11 24h2operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2008 R2operating_system
Microsoft CorporationWindows Server 2008 Sp2operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
Microsoft CorporationWindows Server 2022 23h2operating_system
Microsoft CorporationWindows Server 23h2operating_system
FAQ

Frequently asked questions

Is CVE-2024-38217 exploited in the wild?
Yes. As of Oct 25, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 10, 2024.
Is there a public exploit for CVE-2024-38217?
Yes. As of Oct 25, 2026, Mallory has reports of a public exploit for CVE-2024-38217.
Is there a patch for CVE-2024-38217?
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.
What products are affected by CVE-2024-38217?
Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 21h2, Microsoft Corporation Windows 10 22h2, and 14 more.
How severe is CVE-2024-38217?
CVE-2024-38217 has a CVSS v3.1 score of 5.4 (Medium) and an EPSS score of 2.0% (81st percentile) as of Oct 25, 2026.
Activity feed

Recent activity

15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
security online infoNews · Jul 22, 2026WSUS Sync Timeouts: Microsoft Issues a Cleanup FixA Microsoft Windows LNK-related zero-day flaw mentioned only in related coverage, not discussed as part of the WSUS incident.Read more ↗0patch blogNews · Jul 20, 2026Micropatches for "LNK Stomping" Windows Mark of the Web Security Feature Bypass (CVE-2024-38217)A Windows Mark of the Web security feature bypass involving shortcut (LNK) files. When a shortcut's executable path contains an extra trailing character, Windows can automatically correct the path and save the shortcut, removing its MotW label in the process. Microsoft patched the save operation to preserve MotW in September 2024. The article describes equivalent micropatches for older Windows versions and references a publicly shared proof of concept.Read more ↗sophos threat researchNews · Jan 1, 2026September Patch Tuesday addresses 79 CVEs | SOPHOSA Windows Mark of the Web security feature bypass vulnerability affecting all versions of Windows including Windows 11 24H2; Microsoft reports active exploitation in the wild.Read more ↗ahnlab asec blogNews · Mar 26, 2025Mark of the Web (MoTW) 우회 취약점 - ASECA Windows Mark of the Web bypass involving shortcut (.lnk) files. When a shortcut points to an executable path ending in an extra character, such as a period, Windows normalizes the path and rewrites the shortcut, removing MoTW. This bypasses associated SmartScreen and Smart App Control checks. The article reports exploitation over several years.Read more ↗
+7 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.