as i know there are some method for write raw data in disk sector ( my attention MBR ) from user mode
msdn : http://msdn.microsoft.com/en-us/library/windows/hardware/jj856974.aspx
<<<
In addition to the various WriteFile APIs, there are device I/O control requests that may be used to issue writes to a volume or to a disk
IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES
IOCTL_SCSI_PASS_THROUGH
IOCTL_SCSI_PASS_THROUGH_DIRECT
…
>>
according to my test “disk class upper filter” cant filter this IOCTL
so what i must develop to filter all possible way for deny user mode raw disk write ( specially MBR )
if possible i want see requester process ID ( as i remember in disk level i cant see it )
tax in advance
There is no need for that. Regular users don’t have permission for raw writes. The permissions to write to the boot volume are not given even to administrators.
Maybe not directly, but there are plenty of ways for an admin to modify the boot sector/partition table. IOCTL_DISK_RESET_SNAPSHOT_INFO for one …
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@broadcom.com
Sent: Saturday, June 01, 2013 4:14 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] monitor - intercept raw disk Access
There is no need for that. Regular users don’t have permission for raw writes. The permissions to write to the boot volume are not given even to administrators.
NTDEV is sponsored by OSR
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
@grigora
The permissions to write to the boot volume are not given even to
administrators. yes but it was some sector you can write to it like
MBR ( check above link )
my aim is protect MBR - as you know Bootkit can be able write to MBR
i going on to research more 