Rapid7 Vulnerability & Exploit Database

Windows Capcom.sys Kernel Execution Exploit (x64 only)

Back to Search

Windows Capcom.sys Kernel Execution Exploit (x64 only)

Disclosed
01/01/1999
Created
05/30/2018

Description

This module abuses the Capcom.sys kernel driver's function that allows for an arbitrary function to be executed in the kernel from user land. This function purposely disables SMEP prior to invoking a function given by the caller. This has been tested on Windows 7, 8.1, 10 (x64) and Windows 11 (x64) upto build 22000.194. Note that builds after 22000.194 contain deny lists that prevent this driver from loading.

Author(s)

  • TheWack0lian
  • OJ Reeves

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

;