MAC times

From Forensics Wiki
Jump to: navigation, search

The term MAC times refers to the timestamps of the latest modification (mtime) or last written time, access (atime) or change (ctime) of a certain file.

Unix systems maintain the historical interpretation of ctime as the time when certain file metadata, not its contents, were last changed, such as the file's permissions or owner (e.g. 'This files metadata was changed on 05/05/02 12:15pm').

Windows systems are the only systems that use birth (btime) or creation time (e.g. 'This file was created on 05/05/02 12:15pm').

In NTFS each file has a time stamp for 'Create', 'Modify', 'Access', and 'Entry Modified'. The latter refers to the time when the MFT entry itself was modified. These four values are commonly abbreviated as the 'MACE' values.

Other file systems like HFS include different timestamps like e.g. a backup time.

Contents

Time resolution

When dealing with MAC times it's important to know and understand the concept of time resolution.

On FAT file system (in Windows NT):

  • the creation time has a resolution of 10 milliseconds,
  • the last written time has a resolution of 2 seconds,
  • and the access time has a resolution of 1 day.

On NTFS, access time has a resolution of 1 hour [1].

Access Time Update

On various operating systems the update of the access time can be disabled. This means when a file is accessed the atime in the corresponding file system entry is not updated.

Windows

In Windows the access time behavior is controlled by the registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisableLastAccessUpdate

Where a value of 1 indicates the access time update being disabled.

This is the default setting as for Windows Vista.

Linux

In Linux the noatime mount option indicates the access time update should be disabled.

See Also

External Links

NTFS