Exploit for CVE-2023-28293 CVE-2023-28293 – Vulnerable Driver Exploit (Local Privilege Escalation)
This PoC exploits a vulnerability in a kernel-mode driver to achieve local privilege escalation via a crafted IOCTL call.
About the vulnerability:
CVE-2023-28293 is a vulnerability in a signed driver that allows user-mode applications to send specially crafted IOCTL requests to perform arbitrary kernel memory operations. This can be abused to escalate privileges or execute code in kernel context.
Requirements
- Windows (x64) system
- Administrator privileges (required to load kernel drivers)
- Test-signing enabled or patched signature checks (if the driver is unsigned)
- Vulnerable driver binary (.sys)
Structure
- core.h – Common definitions (driver path, device name, IOCTL code, buffer size, logging macros)
- main.c – Loads the driver, sends crafted IOCTL, unloads the driver
Usage
- Compile the project using Visual Studio or MinGW
- cl main.c /link advapi32.lib
- Run as administrator. If successful, the crafted IOCTL will interact with the vulnerable driver. The output is printed to the console.
References
- Microsoft Security Advisory
Log in to view the POC file snapshot cached by Shenlong Bot
Log in to view