AbstractIntroductionMethodologyInitial ComparisonReFS MBRReFS VBRFSRSMACE TimesReFS Metadata BlockReFS MFTReFS Folder Naming ProcessDrive LabelsRecycle BinDesktop.ini FileSecurity IdentifierFolder Analysis.doc Analysis.txt Analysis.exe AnalysisReferencesAboutMisc ForensicsCPU Reballing StencilsItems For Sale

MACE Times

Throughout the NTFS and ReFS file systems, there are a string of similar characters that repeat often. These are the MACE (modified, accessed, created and 'entry modified') times. Two hexadecimal blocks demonstrating the MACE times are shown below (top block ReFS, bottom block NTFS). The common characters X3$Ɖ and U3$Ɖ can be seen in the blocks of hex below.  

Offset(h)  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

000102C40  00 00 18 00 00 00 00 00 48 00 00 00 18 00 00 00 BA 5F B4 58 33 24 D0 01 BA 5F B4 58 33 24 D0 01  ........H.......°_´X3$Ɖ.°_´X3$Ɖ.

000102C60  BA 5F B4 58 33 24 D0 01 BA 5F B4 58 33 24 D0 01 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  °_´X3$Ɖ.°_´X3$Ɖ.................

 

 

000754160  10 01 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EA 72 29 55 33 24 D0 01  ........................êr)U3$Ɖ.

000754180  EA 72 29 55 33 24 D0 01 EA 72 29 55 33 24 D0 01 EA 72 29 55 33 24 D0 01 10 00 00 00 00 00 00 00  êr)U3$Ɖ.êr)U3$Ɖ.êr)U3$Ɖ.........

 

NTFS and ReFS both store MACE times in the same way. There are four MACE times in each entry, in the order of Created, Modified, Accessed, and Entry Modified. Each MACE time is made up of 8 bytes. The timestamps each use a 64-bit value which represents the number of 100-nanosecond intervals from January 1st 1601 (wpathulin, 2013). It is important to note the timestamps are stored in little endian.

To calculate this use the following procedure.

Step

Action

Result

1

Take the hexadecimal date from the ReFS drive above

BA 5F B4 58 33 24 D0 01

2

Convert to big endian

01 D0 24 33 58 B4 5F BA

3

Convert to decimal

130644192143892410

This number is the number of 100-nanosecond intervals since January 1st 1601.

4

Use a tool (http://www.silisoftware.com/tools/date.php) to calculate the date being represented.

Tuesday, December 30, 2014 08:20:08

5

Calculate local time. In this case add 8 hours (PST is -8 hours GMT)

Tuesday, December 30, 2014 16:20:08

 

Throughout the investigation, where folders and files are modified, the MACE times will vary, with Modified times being different to Accessed times and other similar combinations.

FAT file systems store these times in a different way. FAT uses datestamps and timestamps each using 2 bytes. Below are instructions to calculate the date/timestamps in FAT (Dempsey, 2012).

Datestamps

-          Bits 0-4 (5 bits) identify the day of the month; valid values are 1-31.

-          Bits 5-8 (4 bits) identify the month; valid values are 1-12

-          Bits 9-15 (7 bits) is a number which must be added to 1980 to give the year.

2 Bytes - 16 Bits

7 Bits

4 Bits

5 Bits

Year

Month

Day

 

Timestamps

-          Bits 0-4 (5 bits) identify the number of seconds in two second intervals. Valid numbers are 0-29.

-          Bits 5-10 (6 bits) identify the minute. Valid numbers are 0-59.

-          Bits 11-15 (5 bits) identify the hour in 24 hour clock format. Valid numbers are 0-23.

2 Bytes - 16 Bits

5 Bits

6 Bits

5 Bits

Hour

Minutes

Seconds