module

Windows Escalate NtUserLoadKeyboardLayoutEx Privilege Escalation

Disclosed
Oct 12, 2010
Created
May 30, 2018

Description

This module exploits the keyboard layout vulnerability exploited by Stuxnet. When
processing specially crafted keyboard layout files (DLLs), the Windows kernel fails
to validate that an array index is within the bounds of the array. By loading
a specially crafted keyboard layout, an attacker can execute code in Ring 0.

Authors

Ruben Santamarta
jduck [email protected]

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use post/windows/escalate/ms10_073_kbdlayout
msf post(ms10_073_kbdlayout) > show actions
...actions...
msf post(ms10_073_kbdlayout) > set ACTION < action-name >
msf post(ms10_073_kbdlayout) > show options
...show and set options...
msf post(ms10_073_kbdlayout) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.