module

MS16-032 Secondary Logon Handle Privilege Escalation

Disclosed
Mar 21, 2016
Created
May 30, 2018

Description

This module exploits the lack of sanitization of standard handles in Windows' Secondary
Logon Service. The vulnerability is known to affect versions of Windows 7-10 and 2k8-2k12
32 and 64 bit. This module will only work against those versions of Windows with
Powershell 2.0 or later and systems with two or more CPU cores.

Authors

James Forshaw
b33f
khr0x40sh

Platform

Windows

Architectures

x86, x64

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 exploit/windows/local/ms16_032_secondary_logon_handle_privesc
msf exploit(ms16_032_secondary_logon_handle_privesc) > show targets
...targets...
msf exploit(ms16_032_secondary_logon_handle_privesc) > set TARGET < target-id >
msf exploit(ms16_032_secondary_logon_handle_privesc) > show options
...show and set options...
msf exploit(ms16_032_secondary_logon_handle_privesc) > exploit

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.