MODULE

Windows Access Mode Mismatch LPE in ks.sys

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

Windows Access Mode Mismatch LPE in ks.sys

Disclosed
06/11/2024
Created
12/04/2024

Description

The ks.sys driver on Windows is one of the core components of Kernel Streaming and is installed by default. There exists a LPE in this driver which can be exploited on many recent versions of Windows 10, Windows 11, Windows Server 2022.

Author(s)

  • AngelBoy
  • varwara
  • jheysel-r7

Platform

Windows

Architectures

x64

Development

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;