Researchers Show How Windows Defender’s BTR.sys Driver Can Be Abused to Disable Security Tools

· Original article ↗

Summary

Check Point researchers reverse-engineered Microsoft’s signed BTR.sys remediation driver and demonstrated that attackers with load-driver privileges can use it for kernel-level file and registry operations, including disabling security tools. No real-world abuse was||||

Key points

  • BTR.sys, embedded in Windows Defender’s MpEngine.dll, performs boot-time remediation and accepts encrypted transaction instructions through an alternate data stream.
  • Researchers reverse-engineered its RC4-encrypted format and built BTR_CLI to invoke file deletion, file moves, and registry operations from kernel mode.
  • The driver can run early in system startup, before Defender’s user-mode service starts, creating an opportunity to disable security components.
  • Tests demonstrated deletion of Defender files and service registry keys, bypassing Tamper Protection; the technique requires administrative privileges, including SeLoadDriverPrivilege.
  • The research describes behavioral detections using Sysmon events for ADS writes, driver loads, registry service-key creation, and file deletion.
  • Researchers found no evidence of real-world abuse in the samples and telemetry they examined.
  • Microsoft’s MSRC said the findings do not meet criteria for immediate servicing because the technique relies on pre-existing administrative privileges.

Article Details

Attack Vectors
  • An operator with administrative privileges and SeLoadDriverPrivilege can use BTR_CLI to stage the Microsoft-signed BTR.sys driver and direct it to perform kernel-mode file and registry operations.
  • For boot-time execution, BTR_CLI configures the driver as a system-start driver in the Boot Bus Extender group, allowing it to run after the filesystem is available but before later-loading security components and user-mode protection services.
  • BTR_CLI can use BTR.sys to delete files, move files into protected directories, and delete or set registry keys and values; the article demonstrates deleting Defender components and moving mimidrv.sys into System32\drivers.
  • The tool stores its encrypted transaction configuration in a :changelist Alternate Data Stream on the driver file and can direct the driver to delete BootClean.log and clean up its artifacts.
Defensive Notes
  • Restrict SeLoadDriverPrivilege according to least privilege and monitor assignment and use of the privilege.
  • Detect driver loads based on process lineage and behavior, not signature alone; investigate BTR.sys loads where the driver was dropped outside the Defender ecosystem.
  • Monitor Sysmon Event ID 15 for .sys:changelist streams and secondary .dat streams on driver files, and correlate driver loads with System (PID 4) file deletions and rapid BootClean.log creation and deletion.
  • Monitor registry events for service keys with an Args value containing :changelist and Group set to Boot Bus Extender, especially when no standard service-installation event accompanies them.
  • Use defense-in-depth beyond the Microsoft Vulnerable Driver Blocklist: the article notes that the blocklist does not prevent abuse of this built-in driver.

MITRE ATT&CK

People

Vendors

Products

Tools

Related Articles