Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
HighPublic exploit

Arbitrary Process Termination via IOCTL in K7RKScan.sys

IdentifiersCVE-2025-52915CWE-862

K7RKScan.sys version 23.0.0.10, a kernel driver shipped with the K7 Security Anti-Malware suite, contains insufficient caller validation in its IOCTL handler. An administrator-privileged local user can send crafted IOCTL requests to the driver and invoke kernel-space functionality to terminate processes that are protected by a third-party protection implementation. The issue stems from the driver trusting the caller for sensitive process-control operations without enforcing adequate authorization checks on who may request them. As a result, a local attacker can abuse the signed driver as a BYOVD-style primitive to kill protected processes and disrupt security or other critical software.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation enables unauthorized termination of protected third-party processes from kernel space, resulting in denial of service against targeted applications or services. In practice, this can be used to disrupt security tooling, monitoring agents, or other critical protected processes, reducing host defenses and potentially facilitating follow-on malicious activity. Based on the provided information, the demonstrated impact is process termination and service disruption rather than direct code execution or privilege escalation.

Mitigation

If you can’t patch tonight, do this now.

Restrict administrative access, since exploitation requires admin privileges. Prevent untrusted or unnecessary kernel drivers from being loaded through WDAC, HVCI/Memory Integrity, and the Microsoft vulnerable driver blocklist where supported. Monitor for suspicious access to the K7RKScan.sys device object and anomalous IOCTL activity followed by unexpected termination of protected processes or security services. Where possible, harden or isolate critical third-party services so that disruption of a single protected process has limited operational impact.

Remediation

Patch, then assume compromise.

Upgrade or replace the vulnerable K7 Security Anti-Malware component containing K7RKScan.sys 23.0.0.10 with a vendor-fixed version that enforces proper authorization and caller validation for sensitive IOCTL operations. If a fixed driver is not yet available, remove or disable the vulnerable driver where operationally feasible. Apply Microsoft vulnerable driver blocklist controls or equivalent application control policies to prevent loading of the affected driver if it is not required.
PUBLIC EXPLOITS

Exploits

1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.

VALID 1 / 1 TOTALView more in app
BYOVDMaturityPoCVerified exploit

This repository is a collection of operational Proof-of-Concept (PoC) exploits demonstrating the Bring Your Own Vulnerable Driver (BYOVD) technique to kill protected processes on Windows systems. Each subdirectory targets a specific vulnerable driver, with a Rust-based executable that loads the driver as a service, opens a device handle, and sends a crafted IOCTL to terminate a process by name or PID. The exploits require the vulnerable driver file to be present in the same directory as the executable and are designed for local execution with administrative privileges. The repository covers multiple drivers, including those from Baidu Antivirus (BdApiUtil64.sys, CVE-2024-51324), K7 Ultimate Security (K7RKScan.sys, CVE-2025-52915, CVE-2025-1055), ThreatFire System Monitor (sysmon.sys), Tg Soft (viragt64.sys), and Topaz Antifraud (wsftprm.sys, CVE-2023-52271). The main entry points are the Rust 'main.rs' files in each subdirectory. The exploits are not detection scripts but provide real process termination capability, which can be used to disable AV/EDR or other security software. The code is well-structured, modular, and leverages Windows service and device APIs to interact with the drivers. The attack vector is local, requiring administrative access to load the driver. The endpoints include the driver files and their respective device interfaces (e.g., \\.\BdApiUtil, \\.\ksapi64_dev, etc.). This collection is intended for research and educational purposes to demonstrate the risks of unprotected or vulnerable kernel drivers on Windows platforms.

BlackSnufkinDisclosed Dec 5, 2023rustlocal
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity5

Community discussion across Reddit, Mastodon, and other social sources.