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
3161 downloads

News and reviews about Close All Windows

02 Jun 2025

Microsoft Resolves Windows 11 Startup Failures in Virtual PCs

Microsoft releases urgent fixes for Windows 11 startup issues in virtual environments due to missing ACPI.sys file. The updates, now available, underline the challenges in maintaining software security.

Read more

02 Jun 2025

Windows 11 Update Enhances Gaming Features and Performance

Windows 11's latest update fixes game bugs, boosts performance, and adds innovative features like Click to Do and Cross Device Resume.

Read more

02 Jun 2025

Windows Sends Out Emergency Update After System Errors

Microsoft responds to errors in Windows 11 following update KB5058405, issuing a non-security patch KB5062170 to address recovery issues affecting virtual systems.

Read more

02 Jun 2025

Windows Users Face Critical Upgrade Decisions Amid Security Risks

Microsoft urges Windows users to upgrade to Windows 11 as Windows 10 support ends soon, warning of security risks. Asus showcases AI advancements in new PCs.

Read more

02 Jun 2025

Chromebook Simplicity Stands Out Amidst Windows 11 Challenges

Chromebooks offer a straightforward alternative to Windows 11, especially when users face PC issues. ChromeOS provides ease of use when tackling technology challenges, highlighting Chromebook's advantage in simplicity and performance.

Read more

02 Jun 2025

Microsoft Releases Urgent Update for Windows Security Flaw

Microsoft has issued a critical update for Windows users, addressing a security flaw in Windows 13, 2025. This update resolves an ACPI.sys driver issue and includes previous fixes. Users are encouraged to restart devices post-installation for optimal security.

Read more

01 Jun 2025

Microsoft Prepares to End Support for Windows 10 This Year

Microsoft's Windows 10 will soon lose support and updates. Users should upgrade to Windows 11 to ensure continued security and access to the latest features in Microsoft's operating system.

Read more

01 Jun 2025

Enhancing Privacy and Safety in Windows 11 Use

Windows 11 offers impressive capabilities, yet users face privacy concerns with features like telemetry and OneDrive. Microsoft's AI integration raises more issues, urging users to review settings for better data choices.

Read more

30 May 2025

Microsoft Prepares Windows Emergency Update for Device Issues

Microsoft is set to release an emergency update for Windows users due to installation issues with the May 13, 2025, security update, primarily affecting Windows 11 virtual environments.

Read more

30 May 2025

Latest Windows 11 Update Enhances Gaming Stability

Microsoft releases update KB5058499 for Windows 11 24H2, resolving game crash issues. This optional patch addresses input lag, stabilizing gaming experiences.

Read more