Go Back   Exetools > General > General Discussion


Thread Tools Display Modes
Old 06-13-2018, 06:03
nimaarek nimaarek is offline
Join Date: Sep 2017
Location: Rivendell
Posts: 24
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 228
Thanks Rcvd at 36 Times in 17 Posts
nimaarek Reputation: 2
Question about FileSystem DeviceDriver

I need to write a device driver that hooks up FileSystem activities. if the file was created or deleted, I would be informed by the driver.
The problem is that the driver should work in all versions of Windows! Is there anything possible?
Does the operating system architecture work effectively in writing the driver?
That is, have two separate drivers written for each architecture and windows version?
Reply With Quote
Old 06-13-2018, 14:48
Evilcry Evilcry is offline
Join Date: Jan 2009
Posts: 56
Rept. Given: 4
Rept. Rcvd 15 Times in 9 Posts
Thanks Given: 1
Thanks Rcvd at 39 Times in 17 Posts
Evilcry Reputation: 15
You need a mini-filter driver in this case, consider that writing a well rock-solid and performant FS-minifilter is not an easy task, my primary suggestion is to start learning the basics of FS Filtering and check Microsoft github for already written examples.

Let's discuss about distribution:
- One driver per each arch (32 and 64 bits)
- You can write a unique driver that works from Windows 7 to Windows 10
including server editions from Win2k8 R2 up to WinServer 2016

To deploy in production on Windows 10 you will also need an EV (Extended Validation) certificate that must be counter-signed by Microsoft.

Check this github, you can almost grab a big part of the filter and be sure that it works without BSODs


Best Regards,
Reply With Quote
The Following 2 Users Say Thank You to Evilcry For This Useful Post:
nimaarek (06-13-2018), tonyweb (06-15-2018)
Old 06-15-2018, 15:34
fqjp fqjp is offline
Join Date: Apr 2011
Posts: 31
Rept. Given: 1
Rept. Rcvd 2 Times in 1 Post
Thanks Given: 0
Thanks Rcvd at 25 Times in 13 Posts
fqjp Reputation: 2
Windows has a mature minifilter driver development framework, Linux can hook vfs read and write api.
Reply With Quote
Old 06-15-2018, 18:10
TechLord TechLord is offline
Banned User
Join Date: Mar 2005
Location: 10 Steps Ahead of You
Posts: 786
Rept. Given: 389
Rept. Rcvd 247 Times in 112 Posts
Thanks Given: 806
Thanks Rcvd at 2,058 Times in 595 Posts
TechLord Reputation: 200-299 TechLord Reputation: 200-299 TechLord Reputation: 200-299
For anyone needing to refer to the answers for this same question in future, it was asked and answered here as well :
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question|IDA PRO Stitch General Discussion 10 02-17-2015 01:48
VS 6 question(s)... newguy General Discussion 9 04-22-2004 19:49
Question about Ds 3.0 ysco General Discussion 7 09-01-2003 09:32

All times are GMT +8. The time now is 03:36.

Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX
( 1998 - 2021 )