What is a BYOVD attack? Bring Your Own Vulnerable Driver explained
Learn how BYOVD attacks abuse legitimate vulnerable drivers to gain kernel-level access, evade endpoint defenses, and how organizations can detect and prevent them.
Attackers do not always need a new exploit to get around endpoint security. Sometimes, they can turn something Windows already trusts into a weapon. That is the idea behind Bring Your Own Vulnerable Driver (BYOVD), a technique that gives attackers a path into the Windows kernel and, in many cases, lets them disable the very security tools meant to stop them.
BYOVD is a post-compromise technique in which an attacker brings a legitimate, digitally signed Windows driver with a known or exploitable vulnerability onto a compromised endpoint and abuses that flaw to gain kernel-level capabilities.
The driver itself is not necessarily malicious. It may have originally been developed for antivirus software, hardware monitoring, system utilities, or other legitimate applications. The attacker repurposes it because Windows already recognizes and trusts its signature. BYOVD usually comes after initial access, rather than serving as the way an attacker gets into an environment. Once an attacker has gained sufficient privileges, they can use a vulnerable driver to move beyond ordinary user-mode processes and interact with the Windows kernel.
MITRE ATT&CK maps the exploitation of vulnerable drivers to T1068, Exploitation for Privilege Escalation. When attackers use that kernel access to interfere with security controls, the resulting activity can also fall under T1562.001, Impair Defenses: Disable or Modify Tools.
Why attackers use it
Administrative access is often only the beginning of an attack. Modern endpoint security tools protect their processes, memory, and telemetry against ordinary user-mode malware. A vulnerable driver can give an attacker capabilities that are otherwise difficult to obtain.
Because drivers operate in kernel mode, successful exploitation can allow attackers to interfere with security processes and services, manipulate protected memory, disrupt endpoint telemetry, tamper with security callbacks, bypass certain operating system protections, and prepare the system for ransomware, credential theft, or other payloads.
There is also a practical advantage. Developing and signing a malicious kernel driver from scratch is difficult and likely to attract attention. Reusing an existing signed driver gives attackers a shortcut: they can abuse software that already has a legitimate publisher and an established trust relationship with Windows.
Why a signed driver can still be dangerous
A digital signature establishes the publisher or origin of a driver. It does not guarantee that the driver's code is secure. That distinction is central to BYOVD.
A signature essentially answers, "Who authorized this software?" It does not answer, "Can this software still be safely executed?"
A driver can be legitimately signed and still contain a vulnerability that allows an untrusted application to request privileged operations. Attackers exploit this gap between software trust and software security. That is what makes BYOVD particularly difficult for security teams. Blocking everything that is signed is neither practical nor desirable. The challenge is identifying when a legitimate driver is being introduced or used in a way that does not fit normal system behavior.
LOLDrivers, or Living Off The Land Drivers, is a community-driven project that tracks legitimate Windows drivers that have been abused or can be abused by attackers to bypass security controls. Similar to LOLBAS for Windows binaries and GTFOBins for Unix systems, LOLDrivers gives security teams a reference point for identifying drivers that warrant additional scrutiny. The project tracks driver hashes, vulnerability information, abuse patterns, and detection data, making it useful for threat hunting and driver inventory reviews. It should be treated as a threat-intelligence resource rather than a substitute for behavioral detection or application control.
How does a BYOVD attack work?
Although the exact implementation varies by driver, a typical BYOVD attack follows a familiar sequence:
1. The attacker gains a foothold
The attacker first needs access to the endpoint, often through stolen credentials, phishing, exploitation of an unpatched vulnerability, or another initial-access technique. In many documented cases, the attacker already has administrative or elevated privileges before attempting to load the driver.
2. A vulnerable driver is introduced
The attacker stages a .sys driver known to contain a security flaw. It may belong to an antivirus product, hardware utility, monitoring application, or other legitimate software.
3. The driver is loaded
The attacker registers and loads the driver using Windows mechanisms. If the driver has a valid signature and is not otherwise blocked, traditional signature validation may allow it to load.
4. The vulnerability is exploited
Many vulnerable drivers expose interfaces that user-mode applications can interact with through Windows mechanisms such as DeviceIoControl() and IOCTL requests. If those interfaces do not properly validate input or restrict privileged operations, an attacker may be able to make the driver perform actions it was never intended to expose.
5. Kernel-level capabilities are obtained
Successful exploitation can provide the attacker with access to operations at the kernel level, beyond what ordinary user-mode malware can normally achieve.
6. Security controls are impaired
Depending on the driver, attackers may attempt to terminate security processes, interfere with EDR telemetry, modify protected memory, or disrupt kernel callbacks used to monitor activity.
7. The main attack continues
BYOVD is rarely the final objective. It is typically a way to clear the path for ransomware, credential theft, data theft, or lateral movement.
The capabilities available to an attacker depend entirely on the specific vulnerable driver and the flaw it contains. Not every driver provides the same level of access.
What can attackers achieve with BYOVD?
| Attacker objective | How BYOVD contributes |
|---|---|
| Defense evasion | Provides kernel-level access to interfere with security controls |
| Security-process termination | Some vulnerable drivers can be abused to terminate protected processes |
| Memory manipulation | Certain drivers expose unsafe read/write operations |
| Privilege escalation | Exploiting the driver can provide higher-privileged execution |
| Credential access | Kernel access can weaken protections around sensitive processes |
| Ransomware deployment | Security controls can be impaired before encryption begins |
The important point is that BYOVD is an enabler. The driver is often used to create the conditions in which the rest of the attack can proceed with less resistance.
Real-world BYOVD attacks
BYOVD campaigns have abused drivers from security software, hardware utilities, firmware tools, and other legitimate applications. The following examples illustrate why a driver's reputation alone is not enough to determine whether it is safe.
| Vulnerable driver | Publisher / origin | CVE | Known abuse or relevance |
|---|---|---|---|
| RTCore64.sys | MSI / Micro-Star International | CVE-2019-16098 | Abused by BlackByte to bypass security software |
| iqvw64.sys | Intel | CVE-2015-2291 | Used in BYOVD activity involving privilege escalation and kernel access |
| GDRV.sys | Gigabyte | CVE-2018-19320 | Associated with RobbinHood ransomware defense evasion |
| dbutil_2_3.sys | Dell | CVE-2021-21551 | Vulnerable Dell driver capable of local privilege escalation and kernel-level access |
Medusa ransomware: CISA, the FBI, and partner agencies have reported Medusa activity involving vulnerable or signed drivers used to disable security tools. Research into the campaign identified a driver dubbed ABYSSWORKER that impersonated a legitimate CrowdStrike Falcon driver and was used to interfere with EDR visibility.
Embargo ransomware: ESET researchers documented the Embargo ransomware group's MS4Killer tool abusing a vulnerable probmon.sys driver to terminate security software. The driver was embedded within the tool and loaded as part of the attack.
AuKill: Sophos X-Ops documented AuKill, a defense-evasion tool that abuses an outdated Process Explorer driver to disable EDR processes. The tool has been associated with ransomware operations including Medusa Locker and LockBit.
RansomHub: Researchers have also identified EDRKillShifter, a tool associated with RansomHub that uses vulnerable drivers to disable endpoint protection before ransomware deployment.
These cases show a consistent pattern. Attackers do not necessarily need to develop a sophisticated kernel rootkit. A vulnerable driver can provide enough access to neutralize defenses and make the subsequent attack considerably easier.
How to detect a BYOVD attack
Looking for vulnerable drivers alone is not enough. The stronger signal often comes from what happens around the driver load.
1. Monitor driver artifacts
Track unexpected .sys files, unusual installation paths, unfamiliar driver hashes, publisher information, and certificate status. Drivers outside the organization's approved inventory deserve particular attention.
2. Monitor driver loading
Look for unexpected driver-load events and driver services created from unusual locations. In environments using Sysmon, Event ID 6 can provide useful driver-load telemetry.
3. Connect the driver to its process context
A driver becomes much more interesting when its load is connected to an unusual process, unexpected parent-child relationship, administrative utility, or suspicious privilege change.
4. Watch what happens immediately afterward
Post-load behavior can provide the strongest evidence of abuse. Look for security-process termination, attempts to access protected memory, credential-access activity, changes in endpoint telemetry, or other defense-impairment behavior shortly after the driver loads.
This is where behavioral detection becomes particularly valuable. A driver hash may indicate that a file is vulnerable. Correlating the driver with process, privilege, and security-control activity can indicate whether it is actually being weaponized.
Threat hunting for BYOVD activity
A useful BYOVD investigation starts by connecting three things: the driver that loaded, the process that loaded it, and what happened immediately afterward. A driver appearing outside the normal driver inventory is worth investigating, but the signal becomes much stronger when it coincides with unusual process behavior or attempts to interfere with security software.
Example: Microsoft Defender XDR / Sentinel
DeviceEvents
| where ActionType == "DriverLoad"
| where FolderPath !startswith @"C:\Windows\System32\drivers\" and FolderPath !startswith @"C:\Windows\System32\DriverStore\"
| summarize LoadCount = count() by FileName, FolderPath, InitiatingProcessFileName
| order by LoadCount ascThis query can help surface drivers loaded from locations outside common Windows driver paths. Treat the results as hunting leads rather than automatic indicators of compromise, since legitimate software can also load drivers from non-standard locations.
Why the Microsoft vulnerable driver blocklist is not enough on its own
Microsoft's Vulnerable Driver Blocklist is an important control against known vulnerable drivers, but it is not a complete BYOVD defense. A blocklist can stop a driver that has already been identified and catalogued. It cannot, by itself, determine whether a newly observed driver is being abused or recognize every malicious action that follows a driver load.
The blocklist can prevent known vulnerable drivers from loading under supported security configurations, including systems using Hypervisor-Protected Code Integrity (HVCI). However, a driver first needs to be identified and added to the blocklist. A newly discovered or previously unknown vulnerable driver may therefore fall outside its coverage. There can also be compatibility considerations when blocking drivers that legitimate applications or hardware depend on.
A stronger approach combines multiple controls:
The goal is not simply to ask whether a driver is known to be vulnerable. It is to control which drivers can execute and detect suspicious behavior when one does get through.
How to prevent and mitigate BYOVD attacks
Enable vulnerable-driver blocking
Verify that the Microsoft Vulnerable Driver Blocklist is enabled and keep Windows security updates current.
Enable HVCI and Memory Integrity
HVCI adds virtualization-based protection to kernel-mode code integrity. Test for legacy driver compatibility before deploying it broadly across the organization.
Use WDAC or App Control
Explicit driver allowlisting provides tighter control over which drivers are permitted to execute, reducing reliance on a vendor-maintained list of known vulnerable drivers.
Evaluate ASR protections
Microsoft Defender includes attack surface reduction controls designed to help block abuse of exploited vulnerable signed drivers. These controls can complement blocklists and allowlisting.
Maintain driver hygiene
Keep an inventory of installed drivers, remove unnecessary or outdated third-party drivers, and patch vulnerable drivers when updated versions are available.
Limit administrator privileges
Least privilege reduces the opportunities attackers have to install or manipulate kernel-mode components after gaining access to an endpoint.
Protect security software
Enable tamper protection and monitor attempts to modify, stop, or terminate endpoint security processes. A BYOVD attack often reveals itself through exactly this type of defense-impairment behavior.
Correlate endpoint telemetry
Driver events should not be analyzed in isolation. Correlating driver loads with process activity, privilege changes, memory access, and security-tool tampering provides a much clearer picture of an active BYOVD attack.
BYOVD security checklist
- Enable the Microsoft Vulnerable Driver Blocklist
- Enable HVCI/Memory Integrity where supported
- Use WDAC or App Control for driver allowlisting
- Evaluate ASR protections for vulnerable signed drivers
- Maintain an inventory of installed drivers
- Remove obsolete and unnecessary drivers
- Patch known vulnerable drivers
- Restrict local administrator privileges
- Monitor unexpected driver installations and loads
- Correlate driver activity with process and privilege changes
- Monitor attempts to terminate or modify security software
- Keep endpoint tamper protection enabled
Conclusion
BYOVD attacks exploit a simple weakness in the trust model: a driver can be legitimate and digitally signed while still being vulnerable enough to give an attacker kernel-level control.
Once that access is obtained, attackers can disable security controls, disrupt visibility, and clear the way for ransomware, credential theft, or other malicious activity. Blocking known vulnerable drivers is an important first step, but it cannot account for every driver an attacker may abuse.
A layered approach that combines driver allowlisting, HVCI, tamper protection, least privilege, and behavioral monitoring provides stronger protection.
Security teams need visibility into what happens when a driver loads and what follows next, rather than relying on the driver's reputation alone.
FAQ
What is a BYOVD attack?
BYOVD is a technique where attackers abuse a legitimate but vulnerable driver to gain kernel-level capabilities on a compromised Windows system.
Can a signed driver be malicious?
Yes. A valid signature confirms the publisher, not that the driver's code is free from exploitable vulnerabilities.
Does the Microsoft Vulnerable Driver Blocklist stop BYOVD?
It can block known vulnerable drivers, but it cannot cover every newly discovered or previously unlisted driver.
How do you detect a BYOVD attack?
Monitor unexpected driver loads and correlate them with process activity, privilege changes, security-tool tampering, and other post-load behavior.
What is LOLDrivers?
LOLDrivers is a community-driven project that tracks Windows drivers abused or potentially exploitable by attackers.
