Windows LNK File Vulnerability Exploited by Threat Actors, Researchers Warn

06 Aug 2024

Threat actors have been exploiting a vulnerability in the way Windows processes LNK files, particularly those with unconventional target paths and internal structures. This exploitation allows malicious payloads to bypass built-in security measures, effectively deceiving users into executing harmful files.

Researchers from Elastic Security Labs have uncovered numerous samples on VirusTotal that demonstrate this vulnerability’s active use, with the earliest identified instance dating back over six years. This highlights a persistent issue that has been lurking in the shadows of cybersecurity.

Windows’ In-Built Protections

Attackers are continually devising innovative strategies to circumvent Microsoft’s protective measures, including SmartScreen and Smart App Control (SAC). SmartScreen, a longstanding security feature, is designed to shield Windows users from potentially harmful webpages and files downloaded from the internet or restricted sites. It operates by cross-referencing files against a dynamic list of reported phishing and malicious software sites.

Files that are flagged with Mark of the Web (MotW) metadata are subjected to additional scrutiny. SmartScreen checks these against an allowlist of recognized executables. If a file is not included in this list, SmartScreen intervenes, preventing execution and issuing a warning. Users may choose to override this caution unless enterprise administrators have implemented policies to restrict such actions.

Similarly, Smart App Control enhances security by verifying applications against a database of known safe apps. As explained by the researchers, “SAC works by querying a Microsoft cloud service when applications are executed. If they are known to be safe, they are allowed to execute; however, if they are unknown, they will only be executed if they have a valid code signing signature.” When SAC is enabled, it effectively replaces and disables Defender SmartScreen.

LNK Stomping = Simple MotW Bypass

In a bid to bypass these protective measures, attackers have resorted to signing malware with legitimate code-signing certificates, repurposing reputable applications, or manipulating binaries to appear harmless enough to be included on the known safe app list. The latest technique identified by researchers, termed “LNK stomping,” enables attackers to circumvent Mark-of-the-Web (MOTW) controls by crafting LNK (Windows shortcut) files with non-standard target paths or internal structures.

This manipulation compels Windows to canonicalize or “fix” the path or structure of the file, effectively erasing the MotW metadata. In the absence of this metadata, both SmartScreen and SAC mistakenly classify the file as safe, allowing it to execute without any warning.

Researchers illustrated this vulnerability with simple examples: appending a dot or space to the target executable path (e.g., powershell.exe.) or creating an LNK file with a relative path such as .target.exe. Another variant involves crafting a multi-level path within a single entry of the LNK’s target path array.

Details regarding this bug have been disclosed to the Microsoft Security Response Center, which has indicated that a fix may be forthcoming in a future Windows update. In the interim, researchers advise security teams to meticulously scrutinize downloads within their detection frameworks, emphasizing that reliance solely on OS-native security features is insufficient for robust protection in this domain.

How to connect to a network drive Windows 11?

1. Open File Explorer. 2. Click on 'This PC' in the left pane. 3. Click the 'Computer' tab, then select 'Map network drive'. 4. In the 'Drive' drop-down, select an available drive letter. 5. In the 'Folder' field, enter the path to the network drive (e.g., \\servername\sharename). 6. If necessary, check 'Reconnect at sign-in' to automatically reconnect. 7. Click 'Finish'. 8. If prompted, enter your network credentials.

How to change screen timeout settings on Windows 10?

1. Open Settings by pressing Win + I. 2. Go to 'System' and then select 'Power & sleep'. 3. Under 'Screen', find the 'On battery power, turn off after' and 'When plugged in, turn off after' settings. 4. Use the drop-down menus to select the desired timeout period for each scenario.
Close All Windows

Close All Windows download for free to PC or mobile

Latest update Close All Windows download for free for Windows PC or Android mobile

4
556 reviews
3250 downloads

News and reviews about Close All Windows

23 Nov 2025

Microsoft Announces Digital Signage Mode for Windows 11

Microsoft introduces a Digital Signage mode in Windows 11 to limit system errors on public displays. Launching adds reliability to non-interactive screens.

Read more

22 Nov 2025

Windows 11 Update Causes Major Issues with Core Components

Microsoft admits Windows 11 24H2 update disrupts shell components, impacting user apps and settings. Full fix pending additional update.

Read more

21 Nov 2025

Windows Celebrates 40 Years of Innovation and Impact

Microsoft Windows turned 40 on 1985-11-20, shaping personal computing with evolving versions. Expect continued innovation from the OS.

Read more

21 Nov 2025

Windows Evolves to Secure AI-Agentic System

Microsoft shifts Windows to integrate AI with cloud for enhanced productivity and security.

Read more

21 Nov 2025

Windows' Rocky Start: Issues and Innovations in 1985

In 1985, Windows faced challenges including design flaws and legal threats from Apple. Despite early struggles, it eventually became dominant.

Read more

21 Nov 2025

Windows Faces Competition as Linux Grows in Market Share

Windows sees declining market share as Linux gains traction. Privacy concerns and hardware demands drive change, influencing user choices.

Read more

20 Nov 2025

Windows Turns 40 as Future Market Relevance Wanes

Microsoft's Windows, launched in 1985, marks its 40th anniversary amid debates on its future consumer appeal.

Read more

20 Nov 2025

Celebrate 40 Years of Windows: A Legacy

Microsoft's Windows 1.0 debuted 40 years ago, revolutionizing personal computing with a GUI on MS-DOS. Its anniversary marks a legacy of evolution.

Read more

19 Nov 2025

Microsoft Adds Agenda View to Windows 11 Notifications

Microsoft reintroduces calendar appointments with Agenda view in Windows 11 notification center, available in preview builds next month.

Read more

19 Nov 2025

Windows 11 Enhances Device Recovery Options

Microsoft updates Windows 11 with new recovery features, enhancing device restoration through Point-in-Time Restore and Quick Machine Recovery.

Read more