Exetools  

Go Back   Exetools > 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: 24
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 226
Thanks Rcvd at 37 Times in 17 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: 58
Rept. Given: 4
Rept. Rcvd 15 Times in 9 Posts
Thanks Given: 2
Thanks Rcvd at 41 Times in 18 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: 43
Rept. Given: 1
Rept. Rcvd 2 Times in 1 Post
Thanks Given: 2
Thanks Rcvd at 34 Times in 18 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
Banned User
 
Join Date: Mar 2005
Location: 10 Steps Ahead of You
Posts: 761
Rept. Given: 384
Rept. Rcvd 247 Times in 112 Posts
Thanks Given: 789
Thanks Rcvd at 2,021 Times in 570 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
VS 6 question(s)... newguy General Discussion 9 04-22-2004 19:49
Question to JMI Rhodium General Discussion 1 02-20-2004 06:16


All times are GMT +8. The time now is 15:35.


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