The Qilin and Warlock ransomware groups use BYOVD to disable 300+ EDR solutions – loading a malicious DLL (e.g., msimg32.dll) and exploiting vulnerable drivers – allowing them to operate undetected before encryption.
Organizations whose endpoints can load vulnerable drivers and rely on EDR for detection.
Silencing EDR removes the primary detection layer, enabling prolonged undetected operations and ransomware impact.
- Enable Microsoft's vulnerable-driver blocklist with WDAC/HVCI.
- Monitor driver loads and DLL side-loading (e.g., msimg32.dll).
- Alert on EDR/security-service tampering or stops.
- Keep drivers updated and audit logs for unauthorized changes.
Key Technical Findings
Ransomware (Qilin, Warlock) using BYOVD to disable EDR.
Windows endpoints with loadable vulnerable drivers.
Phishing emails or exploit kits.
Malicious scripts/binaries run with admin privileges (T1059).
Backdoor access via compromised drivers.
Exploitation of local vulnerabilities/misconfigurations.
BYOVD and third-party software exploitation to disable EDR (T1211).
Keyloggers or credential dumping.
Movement using stolen credentials.
Exfiltration before encryption/destruction.
High – EDR neutralization enabling ransomware.
Technical Background
Qilin and Warlock weaponize BYOVD: they identify a vulnerable driver, load a malicious DLL (e.g., msimg32.dll) to manipulate it, and exploit the driver to disable EDR services (T1211). With detection silenced, they proceed through credential access, lateral movement, exfiltration, and encryption/destruction.
Because the abused drivers are signed and trusted, defenses rely on the vulnerable-driver blocklist/HVCI, driver-load and DLL-side-loading monitoring, and alerting on security-service tampering.
Attack Chain Analysis
-
Initial Access
ActivityPhish or use exploit kits.
EvidencePhishing/exploit precursors.
TelemetryEmail gateway, EDR.
Detection opportunityCorrelate access with driver activity.
-
Execution
ActivityRun scripts/binaries with admin rights (T1059).
EvidenceSuspicious execution.
TelemetrySysmon EID 1.
Detection opportunityMonitor script/binary execution.
-
Defense Evasion
ActivityDisable EDR via BYOVD (T1211).
EvidenceVulnerable driver loads; EDR stopped.
TelemetrySysmon EID 6, EDR health.
Detection opportunityAlert on driver loads and EDR tampering.
-
Credential Access
ActivityDump/keylog credentials.
EvidenceLSASS access.
TelemetrySysmon EID 10.
Detection opportunityDetect credential dumping.
-
Impact
ActivityEncrypt or destroy data.
EvidenceMass encryption.
TelemetryEDR/FIM.
Detection opportunityAlert on rapid mass file changes.
Deep Technical Behavior Analysis
The defining behavior is BYOVD-driven EDR disablement, often via DLL side-loading (msimg32.dll). The strongest controls are the vulnerable-driver blocklist, HVCI, Sysmon EID 6 driver-load monitoring, and EDR-tampering alerts, since signed-driver trust is exactly what is abused.
Specific driver/DLL hashes and indicators are not fully specified in the source material and require validation.
Indicators of Compromise
Indicators of Behavior
Behavioral indicators to hunt for even when atomic IoCs are limited (Potential — validate against your baseline).
| Behavioral Indicator | Description | Data Source | Confidence |
|---|---|---|---|
| Anomalous PowerShell execution | Encoded/obfuscated commands, download cradles, or unusual parent-child process lineage. | Sysmon EID 1, PowerShell 4104 | Potential |
| Suspicious child process lineage | Office or web/service processes spawning script hosts or shells. | Sysmon EID 1, EDR | Potential |
| Security log clearing | Event log cleared or audit policy changed to hinder visibility. | Windows Security 1102, 4719 | Potential |
| New service / scheduled task creation | Unexpected persistence via services or tasks. | Security 7045, 4698; Sysmon | Potential |
| Beaconing to rare destinations | Periodic outbound connections to newly-seen domains/IPs or direct-IP C2. | Proxy, firewall, DNS logs | Potential |
| Unusual DNS queries | High-entropy or rare domains; possible tunneling. | DNS resolver logs | Potential |
| Authentication anomalies | Spraying/stuffing, impossible travel, or MFA fatigue patterns. | IdP/VPN logs, Azure AD/Okta sign-ins | Potential |
Detection Engineering Guidance
Defensive detection logic (Potential — tune to your environment). No exploit code is included; logic is for hunting and alerting only.
title: Suspicious Script Host Execution
logsource: { product: windows, category: process_creation }
detection:
selection:
Image|endswith: ['\powershell.exe','\wscript.exe','\cscript.exe']
CommandLine|contains: ['-enc','-nop','DownloadString','FromBase64String']
condition: selection
level: high
Recommended Log Sources
| Platform | Log Source | What to Look For | Priority |
|---|---|---|---|
| Windows | Security Event Log | Logon (4624/4625), service (7045), task (4698), log clear (1102) | High |
| Windows | Sysmon | Process creation (1), network (3), image load (7), LSASS access (10) | High |
| Windows | PowerShell Operational | Script block logging (4104), module logging | High |
| Endpoint | EDR / Defender telemetry | Process tree, persistence, tamper attempts | High |
| Identity | IdP / VPN logs | Impossible travel, spraying, MFA fatigue | High |
| Network | DNS resolver logs | Rare/high-entropy domains, tunneling | Medium |
| Network | Proxy / firewall logs | Beaconing, direct-IP C2, exfil volume | High |
MITRE ATT&CK Mapping
| Tactic | Technique ID | Technique Name | Relevance | Detection Opportunity | Confidence |
|---|---|---|---|---|---|
| Execution | T1203 | Exploitation for Client Execution | Malicious payload executed through user interaction. | User behavior analytics for abnormal application launches. | Reported |
| Execution | T1059 | Command and Scripting Interpreter | Scripting languages used for execution of payloads. | Monitoring script execution logs for suspicious activity. | Reported |
| Defense Evasion | T1211 | Exploiting Third-Party Software | Exploitation of vulnerabilities in third-party software. | Vulnerability scanning against known exploits. | Reported |
Incident Response Guidance
- Validate exposure and confirm whether the issue applies to your environment.
- Preserve evidence (memory, disk, relevant logs) before remediation.
- Isolate affected hosts/accounts if compromise is suspected.
- Collect volatile data and review the log sources listed above.
- Hunt for the indicators of behavior and any related atomic indicators.
- Rotate potentially exposed credentials, keys, and session tokens.
- Remove persistence (tasks, services, keys, web shells, cron, OAuth grants).
- Patch affected systems; reimage where integrity cannot be assured.
- Run post-remediation validation and a BAS/security-validation retest.
Remediation and Hardening
- Patch affected systems and reduce internet-exposed services.
- Enforce MFA and least-privilege for privileged and remote access.
- Improve endpoint telemetry (Sysmon/EDR) and PowerShell logging.
- Restrict script execution and constrain LOLBins where feasible.
- Monitor persistence locations and disable unnecessary services.
- Segment critical assets and review privileged accounts.
- Rotate secrets and remove credentials from configuration files.
- Tune SIEM/EDR detections, then validate controls after changes.
Business Risk
- Service disruption: degraded or unavailable systems during compromise or recovery.
- Data exposure: risk to sensitive, regulated, or customer data depending on scope.
- Regulatory exposure: potential breach-notification and compliance obligations.
- Financial impact: incident response, downtime, and potential extortion costs.
- Brand and trust impact: reputational damage with customers and partners.
- Operational continuity: ransomware can halt critical business processes until restored.
- Identity blast radius: compromised accounts can expand access across cloud and SaaS.
Executive Takeaway
What leadership needs to know: Silencing EDR removes the primary detection layer, enabling prolonged undetected operations and ransomware impact. Current assessed risk: High.
Prioritise: patching/exposure reduction, identity hardening (MFA, least privilege), and detection coverage for the techniques above.
Validate after remediation: re-test controls with breach & attack simulation to confirm the relevant techniques are now prevented or detected.
Validating Your Defenses with Valitrix
The Valitrix Breach and Attack Simulation (BAS) platform is designed to help organizations validate their security posture against real-world adversary techniques, including those employed by Qilin and Warlock ransomware. By emulating BYOVD tactics safely, Valitrix enables security teams to test their detection capabilities against these sophisticated evasion methods without causing disruption to live environments.
This continuous validation process ensures that security controls are not only implemented but are effective in identifying and mitigating threats before they can inflict harm. By mapping attack scenarios to the MITRE ATT&CK framework, organizations can enhance their understanding of potential vulnerabilities within their defenses.
Key Takeaways
- The Qilin and Warlock ransomware groups leverage BYOVD techniques to compromise over 300 EDR tools.
- The malicious DLL
msimg32.dllhas been identified as a key component in these attacks, exploiting specific vulnerabilities. - Organizations must prioritize regular driver updates as part of their cybersecurity hygiene.
- The deployment of advanced EDR solutions is critical in detecting abnormal driver behavior.
Frequently Asked Questions
What is BYOVD?
Bring Your Own Vulnerable Driver (BYOVD) is a technique where attackers exploit legitimate, vulnerable drivers to disable security measures like EDR solutions, allowing undetected access to compromised systems.
How does Qilin ransomware operate?
Qilin ransomware operates by deploying malicious drivers, specifically msimg32.dll, to disable security tools on target systems, enabling data theft or system encryption without detection.
What can organizations do to mitigate the risks of ransomware?
Organizations can mitigate ransomware risks by regularly updating drivers, implementing comprehensive EDR solutions, and conducting security audits to identify vulnerabilities before they can be exploited.



