Question on Deleted...
 
Notifications
Clear all

Question on Deleted files and MAC times

8 Posts
4 Users
0 Likes
820 Views
(@olddawg)
Posts: 108
Estimable Member
Topic starter
 

Is it a given that in all cases, the last accessed date/time of a deleted file is the same as the deletion date/time?

 
Posted : 28/09/2006 7:13 am
(@mrich)
Posts: 6
Active Member
 

No, for example I have used Nlite to build a custom windows xp. There I have disabled the last accessd date/time function. So this attribute is normally not changed by my system.

 
Posted : 28/09/2006 9:11 pm
(@olddawg)
Posts: 108
Estimable Member
Topic starter
 

No, for example I have used Nlite to build a custom windows xp. There I have disabled the last accessd date/time function. So this attribute is normally not changed by my system.

Interesting. But if you are doing massive deletions, would that or would that not change the MAC times.

 
Posted : 28/09/2006 9:40 pm
(@mrich)
Posts: 6
Active Member
 

You might want to look here for further information
http//www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fsutil_behavior.mspx?mfr=true

I think you can delete as much files as you want, the last accessd will not be changed.

 
Posted : 29/09/2006 12:32 pm
az_gcfa
(@az_gcfa)
Posts: 116
Estimable Member
 

The last access time for the file will not be modified. However, the last acces time for the directory will be modified as the directory entry will be modified and the file attribute record will be reallocated.

 
Posted : 29/09/2006 1:14 pm
(@gmarshall139)
Posts: 378
Reputable Member
 

What I have found useful about the last accessed or modified time is that they can be said to represent the last known time the file was allocated in the file system. Not necessarily the same as deleted, but still useful in some circumstances. For instance, trying to prove that files were deleted after subject receives a preservation order.

 
Posted : 29/09/2006 5:32 pm
(@olddawg)
Posts: 108
Estimable Member
Topic starter
 

What I have found useful about the last accessed or modified time is that they can be said to represent the last known time the file was allocated in the file system. Not necessarily the same as deleted, but still useful in some circumstances. For instance, trying to prove that files were deleted after subject receives a preservation order.

Thats pretty interesting stuff. Thanks for all the reponses.

So how do you determine when a file was actually deleted? If its the directory entry, where specifically do you look to find that particular tidbit of information for a specific file?

 
Posted : 30/09/2006 4:28 am
az_gcfa
(@az_gcfa)
Posts: 116
Estimable Member
 

That information is not available on a per file basis. If the last action within a directory was the deletion of a file. This action would be recorded in the directory timestamp Dir /TW directory. This can be determined by examining the last modification timestamp for all the files in the directory. If all the files have lesser date/timestamps than the directory. The only thing that can cause that condition, files were deleted. Directory attributes changes do not affect the directory timestamps. If any other activity in that directory cause files to be modified the directory timestamp will be modified to reflect the last write event and you will have a matching timestamp.

NTFS is like FAT filesystems in regards that both use the MFT mechanism to track file metadata. So you could use a hex editor on the disk to locate the MFT record for the directory (via some math calculations or search for the Directory name) then located the date/time timestamps offset and decode the value. I perfer to use the DOS DIR command.
DIR /TC for creation time
DIR /TA for last acces time
DIR /TW for last written time

 
Posted : 30/09/2006 12:41 pm
Share: