Vulnerability & Exploit Database

Back to search

Windows Escalate NtUserLoadKeyboardLayoutEx Privilege Escalation

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.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Ruben Santamarta
  • jduck <jduck [at]>



  • 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) > sessions ...sessions... msf post(ms10_073_kbdlayout) > set SESSION <session-id> msf post(ms10_073_kbdlayout) > show options and set options... msf post(ms10_073_kbdlayout) > run

Related Vulnerabilities