Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
KillChain — Kernel Process Termination Tool ( CVE-2026-0828 exploit) | Kitploit
Tools/GitHubGitHub/oxfemale/killchain
Privilege EscalationVulnerability AnalysisExploitationMalware AnalysisRed TeamingBinary Exploitation
GitHuboxfemale/killchain

KillChain

Kernel Process Termination Tool ( CVE-2026-0828 exploit)

View Repository
38685 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

KillChain

killchain

killchain

?? Disclaimer: This project is intended strictly for educational and security research purposes. The author is not responsible for any misuse, damage, or illegal activity caused by this tool. Use only in isolated lab environments with explicit permission.


Overview

KillChain is a user-mode tool that leverages a vulnerable kernel driver (ProcessMonitorDriver.sys, CVE-2026-0828) to terminate protected processes from user space. It communicates with the kernel via a custom IOCTL interface, bypassing standard process protection mechanisms.

The tool embeds the driver binary directly into the executable, extracts it to a temporary location at runtime, registers it as a kernel service, loads it via NtLoadDriver, and sends termination requests through DeviceIoControl.


Demo

KillChain Demo


Architecture

root@kitploit:~
KillChain/
??? KillChain.cpp        Entry point, CLI argument parsing, main termination loop
??? LoadDriver.h         Driver extraction, service registration, NtLoadDriver/NtUnloadDriver logic
??? Logger.h             Thread-safe console/file logging with color-coded output
??? driverBytes.h        Embedded driver binary (raw byte array)

ProcessMonitorDriver.sys  (embedded inside the executable)
??? Exposes IOCTL_KILL_PROCESS (0xB822200C)  terminates a target process by PID

Execution Flow

root@kitploit:~
1. Parse CLI arguments
2. Extract embedded .sys ? %TEMP%\EmbeddedDriverService.sys
3. Create registry service key + register via SCM
4. Load driver into kernel via NtLoadDriver (requires SeLoadDriverPrivilege)
5. Open device handle: \\.\STProcessMonitorDriver
6. Loop (up to 360 seconds):
   a. Resolve PID by name on every iteration (if --name was used)
   b. Send IOCTL_KILL_PROCESS with the target PID
   c. After 2 successful kills, optionally disable Windows Defender via registry
7. Close device handle; optionally run --uninstall-driver cleanup

Features


Requirements

  • Windows 10 / 11 (x64)
  • Administrator privileges required for SeLoadDriverPrivilege and registry access
  • Test Signing Mode enabled, or a valid driver signature
  • Visual Studio 2022 with the C++20 toolset

Build

  1. Open KillChain.sln in Visual Studio 2022
  2. Select the Release | x64 configuration
  3. Press Ctrl+Shift+B to build

Output: x64\Release\KillChain.exe


Usage

root@kitploit:~
KillChain.exe [options]

Options:
  --pid <PID>            Terminate process by PID
  --name <ProcessName>   Terminate process by executable name
  --disable-defender     Also disable Windows Defender via registry
  --log-level <0-3>      Logging verbosity (0=errors, 1=normal, 2=verbose, 3=debug)
  --output <file>        Save log output to file
  --uninstall-driver     Unload driver, delete service and driver file
  --help                 Show this help

Examples

root@kitploit:~
REM Terminate a protected process by name
KillChain.exe --name MsMpEng.exe

REM Terminate by PID with verbose logging written to a file
KillChain.exe --pid 1234 --log-level 2 --output log.txt

REM Kill a process and disable Windows Defender afterwards
KillChain.exe --name notepad.exe --disable-defender

REM Clean up the driver after testing
KillChain.exe --uninstall-driver

IOCTL Interface

ConstantValue
IOCTL_KILL_PROCESS0xB822200C
FieldTypeDescription
Input bufferULONG64Target process PID
Output bufferDWORD

Logging

Output is thread-safe (backed by a CRITICAL_SECTION) and can write to the console with ANSI colors and to a log file simultaneously.


Driver Lifecycle


CVE Reference

CVE-2026-0828 ProcessMonitorDriver.sys exposes an IOCTL that allows any user-mode caller with a handle to the device to terminate arbitrary processes including protected system processes without standard access-control checks.


Author

Eleven Red Pandas

  • GitHub: https://github.com/oxfemale
  • X: https://x.com/bytecodevm

License

This project is provided for educational and research purposes only. Redistribution or use in production environments is strictly prohibited.

Download Tool
FeatureDescription
Kill by PIDTerminate any process by its numeric PID via kernel IOCTL
Kill by nameResolve and terminate a process by executable name, re-checked each iteration
Persistence loopContinuously monitors and re-terminates the target for up to 360 seconds
Disable DefenderWrites to HKLM\SOFTWARE\Policies\Microsoft\Windows Defender to disable real-time protection
Embedded driverDriver binary is baked into the executable no external .sys file required
Driver uninstallUnloads driver from kernel, removes SCM service, cleans registry, deletes temp file
Configurable loggingFour verbosity levels with optional file output
Unused (dummy)
Device path\\.\STProcessMonitorDriver
LevelValueDescription
LOG_ERROR0Errors only
LOG_INFO1Normal operational messages (default)
LOG_WARNING2Warnings and informational messages
LOG_DEBUG3Full debug trace
StepWin32 / NT API
Extract to tempCreateFile + WriteFile
Register serviceRegCreateKeyEx + CreateService (SCM)
Load into kernelNtLoadDriver (ntdll)
Verify activeEnumDeviceDrivers + GetDeviceDriverBaseName
Unload from kernelNtUnloadDriver (ntdll)
Remove serviceDeleteService (SCM) + RegDeleteTree
Delete temp fileDeleteFile