Click here to Skip to main content
15,891,841 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello folks,

I am trying to track certain files attributes modification at sector level in kernel mode. I choose this because I had troubles getting them from mini filter and also because mini filter deal with files and not sectors.
So I would really appreciate if anyone here could help me with anything to parse the MFT in kernel mode.

Any hint?

Thank you.

What I have tried:

I have tried the following.
1) In a mini filter through the use of file stream context, tried to retrieve a context that I have allocate in post write when the file was successfully open for write access, I wasn't able to see R/W targeting the MFT (maybe there is a problem with my design, I will continue trying fixing it.)

2) I have also tried to retrieve the cluster list of the MFT in my driver but It gave me access denied error
Posted
Comments
enhzflep 21-Apr-16 13:27pm    
What are you actually trying to achieve by doing this? I can't think of a valid reason for it at the moment. Everything I can think of is undesirable from a users point of view.
Wshwilfried 21-Apr-16 20:11pm    
Hello,
My end goal is to track modifications made on certain set of files that I monitor in a mini filter and track their respective sectors at disk level with another driver. I have started to implement it but I had some failure to track sectors of resident files this including file attributes etc that are embedded within the base file record. So I came to the conclusion that If I found a way to track the sectors representing those file's attributes that would satisfy me, thus the post.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900