Attackers can bypass Endpoint Detection and Response (EDR) tools and file locks by reading raw disk sectors directly, highlighting the urgent need for organizations to audit and secure the drivers installed on their Windows systems.
In modern Windows environments, drivers provide low-level access to hardware and disk functions.
A recent investigation by Workday’s Offensive Security team uncovered how a default or vulnerable driver can be abused to read raw disk data and extract sensitive files—such as the SAM hive, SYSTEM hive, and NTDS.dit—without triggering EDR alerts or standard file-access controls.
At the heart of this technique is a vulnerable driver (CVE-2025-50892) named eudskacs.sys, which exposes a simple interface for raw disk reads.
By opening a handle to the driver, an attacker can specify a byte offset and length. The driver forwards this request down the Windows driver stack—through disk.sys, storport.sys, and the hardware’s miniport driver—to read the actual disk sectors.
The data flows back up to the attacker without ever opening the target files directly.
Because this approach uses raw sector reads rather than the usual file APIs (such as CreateFile and ReadFile), it sidesteps multiple defenses:
Once an attacker obtains raw disk data, they must parse the NTFS file system. This involves reading the Master Boot Record (MBR) or GUID Partition Table (GPT) to locate partitions, then reading the Volume Boot Record (VBR) to find the Master File Table (MFT).
The MFT records contain metadata and pointers (data runs) to file contents. By decoding data runs—header byte, run length, and run offset—attackers can calculate Logical Block Addresses (LBAs) for each file’s clusters, then issue further raw reads to assemble complete files.
While writing an NTFS parser can be complex, open-source projects like raw-disk-parser make the task easier.
Even without installing a third-party driver, an administrator-level user can open a handle to disk.sys directly and achieve the same result.
Defensive Recommendations:
By understanding and securing driver interfaces, organizations can close this stealthy attack vector and protect their most sensitive data.
Find this Story Interesting! Follow us on LinkedIn and X to Get More Instant Updates.
Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…
Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…
Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…
A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…
GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…
Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…