EXETOOLS FORUM  

Go Back   EXETOOLS FORUM > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-13-2018, 06:03
nimaarek nimaarek is offline
Friend
 
Join Date: Sep 2017
Location: Rivendell
Posts: 11
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 102
Thanks Rcvd at 12 Times in 5 Posts
nimaarek Reputation: 2
Question about FileSystem DeviceDriver

Hello,
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
  #2  
Old 06-13-2018, 14:48
Evilcry Evilcry is offline
Friend
 
Join Date: Jan 2009
Posts: 54
Rept. Given: 4
Rept. Rcvd 15 Times in 9 Posts
Thanks Given: 1
Thanks Rcvd at 35 Times in 14 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

https://github.com/Microsoft/Windows-driver-samples/tree/master/filesys

Best Regards,
Evilcry
Reply With Quote
The Following 2 Users Say Thank You to Evilcry For This Useful Post:
nimaarek (06-13-2018), tonyweb (06-15-2018)
  #3  
Old 06-15-2018, 15:34
fqjp fqjp is offline
Friend
 
Join Date: Apr 2011
Posts: 18
Rept. Given: 1
Rept. Rcvd 2 Times in 1 Post
Thanks Given: 0
Thanks Rcvd at 6 Times in 5 Posts
fqjp Reputation: 2
Windows has a mature minifilter driver development framework, Linux can hook vfs read and write api.
Reply With Quote
  #4  
Old 06-15-2018, 18:10
TechLord TechLord is offline
Reverse Engineer
 
Join Date: Mar 2005
Location: PlanetTech
Posts: 657
Rept. Given: 385
Rept. Rcvd 243 Times in 110 Posts
Thanks Given: 736
Thanks Rcvd at 1,672 Times in 451 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 :
Quote:
http://www.kernelmode.info/forum/viewtopic.php?f=14&p=31673
Regards
Reply With Quote
Reply

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



All times are GMT +8. The time now is 14:46.


ICP05004977
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX