What are Windows Internet Shortcut Files?
Windows Internet Shortcut files (.url extension) are a special type of shortcut file that stores a URL rather than a file path. When opened, Windows passes the URL to the default browser or the appropriate protocol handler. Internet shortcut files are a common phishing delivery mechanism because they can trigger network requests, invoke protocol handlers, and be disguised with document-type icons. When downloaded from the internet, .url files should receive a Mark of the Web (MotW) NTFS alternate data stream tag that causes Windows SmartScreen to warn before the shortcut's target is opened. CVE-2024-21412 exploits a gap in how MotW is applied to shortcut targets.
Overview
CVE-2024-21412 is a zero-day security feature bypass vulnerability in Windows internet shortcut file handling that allows an attacker to craft a .url shortcut whose target does not receive the Mark of the Web tag, bypassing SmartScreen protection when the target is opened. Trend Micro ZDI discovered Water Hydra (DarkCasino) exploiting it in the wild in January 2024; Microsoft patched it in February 2024 Patch Tuesday with same-day CISA KEV addition. Multiple subsequent SmartScreen bypasses (CVE-2024-21351, CVE-2024-29988) were needed to close related gaps as attackers continued to chain shortcut-based bypasses.
Affected Versions
| OS | Status |
|---|---|
| Windows 10 (all supported versions) | Patched February 2024 Patch Tuesday |
| Windows 11 (all supported versions) | Patched February 2024 Patch Tuesday |
| Windows Server 2016 and later | Patched February 2024 Patch Tuesday |
Technical Details
CWE-693 (Protection Mechanism Failure). Windows applies the Mark of the Web alternate data stream to files downloaded from the internet, marking them as internet-origin so that SmartScreen can enforce reputation checks before execution. For internet shortcut files, Windows must also apply MotW to the target of the shortcut — not just the .url file itself — to protect against execution of internet-sourced content through the shortcut.
CVE-2024-21412 exploits a specific shortcut-within-shortcut nesting technique: a .url file on a WebDAV share or UNC path references a second shortcut. When Windows follows the shortcut chain, the MotW propagation logic fails to apply the internet-zone tag to the final target, causing SmartScreen to treat it as a local or trusted file and skip the reputation check. The attacker's payload (typically a malicious executable) executes without any SmartScreen warning.
Water Hydra's complete chain:
- Phishing link → victim downloads
.urlshortcut .urlreferences a nested shortcut on attacker WebDAV → MotW not propagated via CVE-2024-21412- Nested shortcut links to DarkMe RAT executable → executes without SmartScreen warning
- DarkMe RAT establishes persistent backdoor for financial credential theft
Discovery
Discovered by Trend Micro's Zero Day Initiative (ZDI) researchers who observed Water Hydra exploiting the technique in campaigns targeting forex trading communities in January 2024. Trend Micro reported to Microsoft on January 17, 2024 — 27 days before the patch — and published their analysis simultaneously with the patch release.
Exploitation Context
CVE-2024-21412 anchored a sustained SmartScreen bypass campaign by Water Hydra that spanned several months and multiple patching cycles. After this vulnerability was patched, Water Hydra adopted CVE-2024-21351 (February) and later CVE-2024-29988 (April) to continue their bypass chain — demonstrating the attackers' sustained investment in MotW/SmartScreen evasion as a delivery mechanism for financial targeting.
The ransomwareUse: true designation reflects that shortcut-based MotW bypass techniques (the class to which CVE-2024-21412 belongs) have been adopted by ransomware delivery operations beyond Water Hydra.
Remediation
- Apply the February 2024 Windows security updates (Patch Tuesday, February 13, 2024).
- Also apply the April 2024 update for CVE-2024-29988 to close related bypass gaps.
- Block
.urland.lnkshortcut files at email gateways and web proxies — users should not receive internet shortcut files from external sources. - Enable ASR rule "Block Win32 API calls from Office macro" and related rules that reduce macro-based bypass vectors.
- Consider Group Policy to restrict the protocol handlers that
.urlfiles can invoke, limiting them tohttps://and blockingfile://, UNC, and WebDAV-based shortcuts.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2024-21412 |
| Vendor / Product | Microsoft — Windows |
| NVD Published | 2024-02-13 |
| NVD Last Modified | 2025-10-28 |
| CVSS 3.1 Score | 8.1 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| Severity | HIGH |
| CWE | CWE-693 find similar ↗ |
| CISA KEV Added | 2024-02-13 |
| CISA KEV Deadline | 2024-03-05 |
| Known Ransomware Use | ⚠️ Yes |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2024-01-17 | Trend Micro ZDI discovers Water Hydra exploiting CVE-2024-21412 in the wild |
| 2024-02-13 | Microsoft releases February 2024 Patch Tuesday patching CVE-2024-21412 as a zero-day; CISA adds to KEV the same day |
| 2024-03-05 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Microsoft Security Advisory — CVE-2024-21412 | Vendor Advisory |
| NVD — CVE-2024-21412 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| Trend Micro — Water Hydra Targets Traders with CVE-2024-21412 | Security Research |