CVE-2017-8464
High · 8.8 CISA KEVCVSS
8.8
EPSS
90.0%
Published
Jun 15, 2017
CISA due date
Aug 10, 2022
Cloudanix analysis
A flaw in how Windows displays icons for shortcut files lets attackers run harmful programs on a computer just by making someone look at a folder containing a specially made shortcut.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- RCE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Allows arbitrary code execution when a crafted .LNK file is parsed for icon display in Windows Explorer or any application that renders shortcut icons, due to improper handling in the Windows Shell.
Why it matters to the business
Enables attackers to gain full control of affected Windows systems through file browsing or shared folders, leading to data theft, ransomware deployment, or lateral movement; high urgency due to CISA KEV listing with past remediation deadline and active in-the-wild exploitation.
How an attack unfolds
An attacker crafts a malicious .LNK file embedding code that triggers on icon rendering, distributes it via email, USB, network shares, or web downloads; when a victim views the containing folder in Explorer, the shell executes the payload without further interaction. Threat actors have leveraged this in campaigns targeting unpatched Windows environments.
How to fix it
Apply the security update for CVE-2017-8464 from Microsoft for each affected Windows version; disable thumbnail and icon caching in Explorer where patching is delayed; enforce strict attachment filtering and network share scanning for .LNK files.
How to confirm the fix worked
Verify patch installation via Windows Update history or registry keys for KB4025341 and related updates; test by attempting to render known-good and crafted .LNK files in isolated Explorer instances; confirm no residual vulnerable shell32.dll versions remain.
Typical attack path
- Craft malicious .LNK file with embedded payload targeting icon parsing flaw
- Distribute file via email attachment, network share, or removable media
- Victim navigates to folder containing the .LNK in Windows Explorer
- Shell parses icon metadata and executes arbitrary code
- Establish persistence, escalate privileges, or move laterally on compromised host
How to detect it
Review Windows Explorer and shell event logs for unexpected process launches triggered by .LNK access; search file system and email logs for recently created .LNK files with anomalous icon resources or from external sources; correlate with threat actor TTPs involving Windows Shell abuse.
- .lnk files with embedded executable payloads in icon data
- shell32.dll icon handler crashes or unexpected child process spawns from explorer.exe
- Registry keys under HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs modified by suspicious .lnk
What your security team should do
- Prioritize patching all KEV-listed Windows systems immediately given past CISA deadline and active exploitation
- Block or sandbox .LNK files from untrusted sources at email gateways and file shares
- Monitor EPSS trend stability and threat actor mentions for renewed campaign activity
- Conduct enterprise-wide scan for unpatched Windows 7/8/10/Server 2008-2016 instances
The record
Windows Shell in Microsoft Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8, Windows 8.1, Windows Server 2012 Gold and R2, Windows RT 8.1, Windows 10 Gold, 1511, 1607, 1703, and Windows Server 2016 allows local users or remote attackers to execute arbitrary code via a crafted .LNK file, which is not properly handled during icon display in Windows Explorer or any other application that parses the icon of the shortcut. aka "LNK Remote Code Execution Vulnerability."
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|