Response playbooks, investigation guides, and Atomic Red Team tests are Pro-only. Upgrade to unlock the full detection package for CVE-2024-38112.

Upgrade to Pro
CVE-2024-38112 Microsoft Sentinel · KQL

Detect CVE-2024-38112 - Windows MSHTML Spoofing via .url File Phishing (Void Banshee) in Microsoft Sentinel

Detects exploitation of CVE-2024-38112, a Windows MSHTML spoofing vulnerability actively exploited by the Void Banshee threat group. Attackers deliver crafted .url files that invoke the legacy Internet Explorer MSHTML engine (mhtml: or ms-its: URI handlers) to load remote malicious content, bypassing modern browser security controls. Patch released July 2024; in CISA KEV catalog.

MITRE ATT&CK

Tactic
Initial Access Execution Defense Evasion

KQL Detection Query

Microsoft Sentinel (KQL)
kusto
let suspiciousUriHandlers = dynamic(['mhtml:', 'ms-its:', 'its:', 'mk:@MSITStore']);
let suspiciousParents = dynamic(['explorer.exe', 'outlook.exe', 'winword.exe', 'excel.exe', 'powerpnt.exe', 'msedge.exe', 'chrome.exe', 'firefox.exe']);
DeviceProcessEvents
| where TimeGenerated >= ago(7d)
| where FileName =~ 'iexplore.exe' or FileName =~ 'exthost.exe'
| where InitiatingProcessFileName has_any (suspiciousParents)
| extend CommandLineLower = tolower(ProcessCommandLine)
| where CommandLineLower has_any (suspiciousUriHandlers)
| project TimeGenerated, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, FolderPath
| union (
    DeviceFileEvents
    | where TimeGenerated >= ago(7d)
    | where FileName endswith '.url'
    | where InitiatingProcessFileName has_any ('outlook.exe', 'winword.exe', 'excel.exe', 'powerpnt.exe', 'msedge.exe', 'chrome.exe', 'firefox.exe')
    | project TimeGenerated, DeviceName, AccountName, FileName, FolderPath, InitiatingProcessFileName
)
| order by TimeGenerated desc
critical severity high confidence

Detects iexplore.exe or related processes launched by common document/browser applications with mhtml:, ms-its:, or mk: URI handlers in the command line, as well as .url file drops from mail/browser clients — the core exploitation pattern for CVE-2024-38112.

Data Sources

Microsoft Defender for EndpointMicrosoft Sentinel

Required Tables

DeviceProcessEventsDeviceFileEvents

False Positives & Tuning

  • Legacy enterprise applications that legitimately invoke Internet Explorer via mhtml: or ms-its: URI handlers for help documentation
  • IT administrator tools or scripts that programmatically launch iexplore.exe for compatibility testing
  • Security awareness training platforms that simulate phishing via .url files in a controlled environment

Other platforms for CVE-2024-38112


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Simulate CVE-2024-38112: mhtml URI via crafted .url file

    Expected signal: Sysmon EventID 11 for .url file creation in %TEMP%; Sysmon EventID 1 for explorer.exe launching iexplore.exe with mhtml: in the command line; Sysmon EventID 3 for iexplore.exe attempting outbound connection to 192.168.100.200:80

  2. Test 2Simulate CVE-2024-38112: ms-its URI handler via .url file

    Expected signal: Sysmon EventID 1 for iexplore.exe or hh.exe with ms-its: in CommandLine; Sysmon EventID 3 for outbound HTTP to 192.168.100.200; Sysmon EventID 11 for .url file creation

  3. Test 3Simulate Void Banshee delivery chain: Outlook attachment drop and .url execution

    Expected signal: Sysmon EventID 11 for .url file in Outlook INetCache path; Sysmon EventID 1 for cmd.exe parent and iexplore.exe child with mhtml: CommandLine; Sysmon EventID 3 for iexplore.exe outbound connection attempt; Windows Security EventID 4688 for process creation chain

Unlock playbooks & atomic tests with Pro

Get the full detection package for CVE-2024-38112 — response playbook and atomic red team tests, plus investigation guidance and hunting queries.

df00tech Pro — £29/user/month

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections