|
|||||||||||
|
Re: Time Differences/MAC Times
From: Brian Carrier <carrier(at)sleuthkit.org>
Date: Fri May 09 2003 - 12:40:18 EDT
I found the same things a while back while comparing Sleuth Kit NTFS times with other tools. The short answer is that Windows 2K (the only version of Windows that I tested) and EnCase 3 (the only Windows-based forensic tool that I tested) do not properly handle day light savings. If you create a file during daylight savings and get the details during non-daylight savings, then it will be an hour early. If the opposite happens, then you will be an hour late. Linux and The Sleuth Kit handle it correctly if the correct timezone variable (i.e. EST5EDT) is given. I made the following table of what needs to be done. The hour subtraction / addition logic that needs to be applied is:
| Current time on analysis system |
| non-DST | DST |
----------------------+----------------+------------------|
Suspect Date non-DST | 0 | -1 |
----------------------+----------------+------------------|
Suspect Date DST | +1 | 0 |
----------------------------------------------------------|
where the DST times (for the US) are 2AM on the first Sunday of April to 2AM on the last sunday of October and the non-DST times are the rest of the year. The same logic seems to be required for EU "Summertime". I have been told that EnCase 4 fixes this, but have not tested it. I also sent an email to cftt@yahoo to see if other Windows tools do the same and did not get any replies. I would be interested in which tools you tried. Also note that this will only happen with NTFS because FAT does not care about timezones or daylight savings. A quick answer to why this happens is that NTFS, UFS, and EXTxFS file systems save the time in GMT. The OS then converts the GMT time to the local time. That is why you need to change the timezone of the computer when using some Windows tools to get accurate times. It seems that Windows adds a static value when changing from GMT to localtime instead of adding two values depending on the date. For those that want to test this, set your Windows clock to 1:58 AM April 6, 2003 and make sure the option to change for Daylight Savings is checked. Make a file and note that the create time is 1:58. Let the system change from 2AM to 3AM and check the date on the file again. It will say 2:58 AM. brian Lisa Dokes <securitylists@hotmail.com> said: > Folks: I'm currently conducting an investigation in relationship to
-- ----------------------------------------------------------------- This list is provided by the SecurityFocus ARIS analyzer service. For more information on this free incident handling, management and tracking system please see: http://aris.securityfocus.comReceived on Sat May 10 09:53:26 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:01:44 EDT |
||||||||||
|
|||||||||||