← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing Windows BYOVD Malicious Kernel Driver Loading Dataset

This hunt uses a simulated Windows Security/System Event Log dataset (win_byovd_2022-11-24T091000.json) capturing T1068 / T1211: Exploitation for Privilege Escalation via BYOVD (Bring Your Own Vulnerable Driver), where an attacker loads a legitimately-signed but known-vulnerable third-party kernel driver to gain arbitrary kernel-mode code execution, typically to disable or blind EDR/AV products.

Step 1: Hypothesis Formation

Hypothesis: A kernel driver from a known-vulnerable-driver list (e.g., LOLDrivers catalog entries such as RTCore64.sys, WinRing0x64.sys, dbutil_2_3.sys) is loaded on a host shortly before EDR/AV telemetry gaps or process/service terminations occur, indicating BYOVD abuse to obtain kernel-level privileges for security-tool tampering. Indicators:

Null Hypothesis: The driver is a legitimate, currently-installed hardware/utility driver (e.g., an OEM diagnostic tool) that happens to appear on the vulnerable-driver list but is being used for its intended, benign purpose. Invalidate by checking whether the parent application is installed and in active, expected use on this specific host class.

Rationale: BYOVD is effective specifically because the driver carries a valid Microsoft or vendor signature and therefore passes Driver Signature Enforcement, so detection must rely on driver-identity/hash matching against known-vulnerable-driver catalogs and load-path/context anomalies rather than signature validity alone.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed events (5 shown) confirm a known-vulnerable driver (RTCore64.sys, CVE-2019-16098) was loaded from a temp directory on WKS-IT-091, followed within 90 seconds by termination of the EDR agent's protected process.

Timestamp (UTC)HostEventDetailIOC/Why Suspicious?
2022-11-24 09:10:14WKS-IT-091System (7045, Service Install)Service RTCore64 created, ImagePath=C:\Users\Public\AppData\Local\Temp\RTCore64.sys, StartType=DEMAND_STARTVulnerable-Driver IOC: RTCore64.sys is a catalog-listed driver (CVE-2019-16098) that exposes arbitrary kernel read/write via an unauthenticated IOCTL, widely abused for BYOVD attacks.
2022-11-24 09:10:15WKS-IT-091Sysmon (6, Driver Loaded)ImageLoaded=C:\Users\Public\AppData\Local\Temp\RTCore64.sys, Signed=true, Signature=MSI (valid, unrevoked)Path-Anomaly IOC: despite carrying a valid vendor signature, the driver was loaded from a user-writable temp path rather than a standard driver installation directory, indicating manual/malicious staging.
2022-11-24 09:10:22WKS-IT-091(Process event)RTCore64 service process issued repeated IOCTL calls to \\.\RTCore64, consistent with the published kernel read/write exploit primitiveExploitation IOC: this IOCTL pattern matches the publicly documented exploitation method for CVE-2019-16098 to achieve arbitrary kernel memory read/write.
2022-11-24 09:11:47WKS-IT-091EDR Health TelemetryEDR agent process SenseIR.exe terminated unexpectedly; agent heartbeat gap beginsImpact IOC: the EDR agent's protected process was terminated approximately 90 seconds after the vulnerable driver achieved kernel read/write, consistent with using kernel access to disable security tooling (T1562.001).
--(Software-inventory check)No corresponding "MSI Afterburner" or RTCore-related hardware-monitoring application is installed on WKS-IT-091Confirms the driver has no legitimate parent-application context on this host.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - an attacker staged a known-vulnerable, validly-signed kernel driver from a temp directory on an IT workstation, exploited it for kernel read/write access, and used that access to terminate the EDR agent within 90 seconds!