
BYOVD research performed by KOSEC. Includes vulnerable drivers and writeups (CVE-2026-0828).
GetCurrentProcessId()KillProc IOCTL (0x223078)DeviceIoControlKillProc, which reads the target's PID from the second 8 bytes and terminates the processAffected versions (as tested):
d42f1b420747b82533e33107c710c45c29ff20aa5da3d1c8498b7bed7f9ebc81Tested on Windows 10 x64 build:
Compile the PoC code with the x64 Visual Studio Developer Command Prompt by running the command cl poc.c.
Install the vulnerable driver with the following commands in a command-line with Administrator privileges:
> sc.exe create EnPortv type=kernel binPath=C:\Path\To\Driver\EnPortv.sys
> sc.exe start EnPortv
Once installed, ensure you are in an Administrator command prompt, and run the compiled PoC to connect to the driver and test the IOCTLs.